From owner-freebsd-stable@FreeBSD.ORG Wed Oct 3 11:27:58 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C3EF1065670 for ; Wed, 3 Oct 2012 11:27:58 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id F39118FC0C for ; Wed, 3 Oct 2012 11:27:57 +0000 (UTC) Received: by padbi1 with SMTP id bi1so7095062pad.13 for ; Wed, 03 Oct 2012 04:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=LT87p+lQP91Dm5ZIf0/qk2YgFfRBPMpxl3VUhAyoPtU=; b=QD+5ajoFk1q0GSJ7gnczgsxONAiiVnK5rpiG8BppqXMWZ2/nBcbGpAI+0dZNG/VwNv /wACn3/HAwiG16lm52HXs1XGpK2gVHmro7T5v3XjvW7g2ECW/aRqk9b4sB2Xx8ZecUVv usp7B97uD/Bi1q+eLd6LQiuVrOMEzecpXk2LJwl21aUPIH15HiH4X03hSnhyjNC6duzl gnxEdGXmeX79WmifB5Sy6ZcaqZ8dzde+QsXG7oa5rTwLUMWTSarc/443/2c/xhYLrBpX 5Y8vbRS1WpvyArj2purHcG23wVzLSzu3ZBMsf8lQ+i9wS7iJpigK4EBVH8QzfnpCiumg uu4A== Received: by 10.66.78.136 with SMTP id b8mr4395842pax.26.1349263677418; Wed, 03 Oct 2012 04:27:57 -0700 (PDT) Received: from [192.168.1.132] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPS id kj10sm2472440pbc.72.2012.10.03.04.27.55 (version=SSLv3 cipher=OTHER); Wed, 03 Oct 2012 04:27:56 -0700 (PDT) Message-ID: <506C2139.6070906@gmail.com> Date: Wed, 03 Oct 2012 14:27:53 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:15.0) Gecko/20120924 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: lang/gcc fails building on old processor X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 11:27:58 -0000 Hello. It seems that lang/gcc starts producing incorrect binaries after some point. Right now it stops building with: checking whether to build static libraries... yes libtool.m4: error: problem compiling FC test program checking for /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include option to produce PIC... checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include static flag works... no checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include supports -c -o file.o... no checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include supports -c -o file.o... (cached) no checking whether the /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include linker (/tmp/ports/usr/ports/lang/gcc/work/build/./gcc/collect-ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd9.1 ld.so checking how to hardcode library paths into programs... immediate checking whether the GNU Fortran compiler is working... no configure: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching /tmp/ports/usr/ports/lang/gcc/work/build/i386-portbld-freebsd9.1/libgfortran/config.log configure:12860: /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc/work/build/ ./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr/local/i386- portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include -c conftest.f >&5 :0:0: internal compiler error: Illegal instruction: 4 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. configure:12863: $? = 1 configure:12991: checking for /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gc c/work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /us r/local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include option to produce PIC configure:13276: result: configure:13341: checking if /tmp/ports/usr/ports/lang/gcc/work/build/./gcc/gfortran -B/tmp/ports/usr/ports/lang/gcc /work/build/./gcc/ -B/usr/local/i386-portbld-freebsd9.1/bin/ -B/usr/local/i386-portbld-freebsd9.1/lib/ -isystem /usr /local/i386-portbld-freebsd9.1/include -isystem /usr/local/i386-portbld-freebsd9.1/sys-include static flag works configure:13369: result: no Same with or without CPUTYPE set, building with clang or with in-base gcc. My CPU is: Oct 2 17:57:10 limbo kernel: CPU: AMD Athlon(tm) XP 2500+ (1833.95-MHz 686-class CPU) Oct 2 17:57:10 limbo kernel: Origin = "AuthenticAMD" Id = 0x6a0 Family = 0x6 Model = 0xa Stepping = 0 Oct 2 17:57:10 limbo kernel: Features=0x383fbff Oct 2 17:57:10 limbo kernel: AMD Features=0xc0400800 -- Sphinx of black quartz, judge my vow.