From owner-freebsd-current@FreeBSD.ORG Sat Dec 1 12:19:01 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 77655AEE for ; Sat, 1 Dec 2012 12:19:01 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 17B9F8FC08 for ; Sat, 1 Dec 2012 12:19:00 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@FreeBSD.org with esmtp (envelope-from ) id <1Tem21-003jkl-Sv>; Sat, 01 Dec 2012 13:18:53 +0100 Received: from e178034076.adsl.alicedsl.de ([85.178.34.76] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@FreeBSD.org with esmtpsa (envelope-from ) id <1Tem21-000Bs2-P2>; Sat, 01 Dec 2012 13:18:53 +0100 Message-ID: <50B9F5AA.90906@zedat.fu-berlin.de> Date: Sat, 01 Dec 2012 13:18:50 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Current FreeBSD Subject: gcc46: .././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER', rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER]; X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBE22F9C279D79F8C363186A3" X-Originating-IP: 85.178.34.76 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2012 12:19:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBE22F9C279D79F8C363186A3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On exactly ONE FreeBSD 10.0-CURRENT box, out of a couple, all the same OS version (most recent sources/buildworld with CLANG and ports tree always up to date) I get this nasty error shown below. I can not reproduce this problem on other machines of the very same architecture (neither Core2Duo or even up to Ivy Bridge CPUs, if the -march=3Dnative option would cause the problem). I'm helpless. I replaced gcc46 by now with gcc47, but I can not update/repair the ports database, since many packages which do not compile with CLANG neede gcc46 as a dependency and pkgdb -F doesn't work with the unfinished PKGNG version we use by default now on FreeBSD 10. Since I'm now convinced, that the error is triggered by some shadowed problems of that specific box, can someone help and suggest where to llok after? As I said, I deleted the port lang/gcc46 and replaced it with lang/gcc47 (but didn't it properly with portupgrade -o). Maybe there are still remains of the gcc46 leftover. How to finde those and kill them - if? Tahnks in advance, Oliver [...] cc -c -O3 -pipe -fno-strict-aliasing -march=3Dnative -march=3Dnative -I/usr/local/include -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I.././../gcc-4.6-20121123/gcc -I.././../gcc-4.6-20121123/gcc/build -I.././../gcc-4.6-20121123/gcc/../include -I.././../gcc-4.6-20121123/gcc/../libcpp/include -I/usr/local/include -I.././../gcc-4.6-20121123/gcc/../libdecnumber -I.././../gcc-4.6-20121123/gcc/../libdecnumber/dpd -I../libdecnumber -I/usr/local/include \ -o build/genflags.o .././../gcc-4.6-20121123/gcc/genflags.c In file included from .././../gcc-4.6-20121123/gcc/genflags.c:28: =2E././../gcc-4.6-20121123/gcc/rtl.h:1989:13: warning: ISO C forbids forward references to 'enum' types [-Wpedantic] extern enum reg_class reg_preferred_class (int); ^ =2E././../gcc-4.6-20121123/gcc/rtl.h:2105:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER' rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER]; ^ =2E././../gcc-4.6-20121123/gcc/rtl.h:2112:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER' rtx x_static_reg_base_value[FIRST_PSEUDO_REGISTER]; ^ 1 warning and 2 errors generated. gmake[2]: *** [build/genflags.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc' gmake[1]: *** [all-gcc] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/lang/gcc46. *** [build] Error code 1 Stop in /usr/ports/lang/gcc46. --------------enigBE22F9C279D79F8C363186A3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQufWtAAoJEOgBcD7A/5N8yEQIALInoihOGzl8xmq1fDFerwjM wXuA7qvCYsevAdQcSI53AszJg1eMxXmqm2XDiu+0FfzIy0ya9jfrKp5JWRs8khu3 KlJUXyV+5MRAPv41V04epdE1uqzHRTGN6dGddkBbPhkCTcwemwTyxW27WlGSqZAX eE1PnT+9dKK/7qYeBYZyJKfDdIF2wTTGJ4vK/R+lQ7Nx2JtDMc1Whe71KTmXGlBc SPvEORMZStHJqLU0xTMYX1LhFk1AHkOxk1B+iDVhTONLzCj2vI6baypEymf1cLIw 4IwolJfwit8rV+ZJ7jg9SVdpd748p/03ZuFJkI6N3YmNmCMng//dImcAMj8xqDw= =ZXVH -----END PGP SIGNATURE----- --------------enigBE22F9C279D79F8C363186A3--