Date: Wed, 07 Nov 2012 17:48:35 +0100 From: "O. Hartmann" <ohartman@zedat.fu-berlin.de> To: Ports FreeBSD <freebsd-ports@freebsd.org> Subject: lang/gcc46: .././../gcc-4.6-20121102/gcc/rtl.h:2105:31: error: use of undeclared identifier 'FIRST_PSEUDO_REGISTER', rtx x_initial_regno_reg_rtx[FIRST_PSEUDO_REGISTER]; Message-ID: <509A90E3.7070301@zedat.fu-berlin.de>
next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6EB853F9BE6687FCCC691CB9 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On one of my FreeBSD 10-CURRENT boxes (FreeBSD 10.0-CURRENT #3 r242674M: Tue Nov 6 22:36:47 CET 2012) I get surprisingly the following error while upgrading the compiler port lang/gcc46. The bos in question is most recent updated kernel/world sources, compiled with CLANG and having CLANG set so far as the default compiler (clang is now cc). The port compiled prior to the switch to CLANG as the default also with CLANG without problem! The couriosity is that I also run two other boxes, also the very same sources for the OS and the most recent updated /usr/ports tree. Those boxes are modern hardware, Sandy-Bridge and Ivy-Bridge, the failing box is Core2Duo, I mention this here since I use -O3 and -march=3Dnative in the compiler options on ALL machines and I also compil= e the sources with option CXXFLAGS=3D -stdlib=3Dlibc++ -std=3Dc++11 set in /etc/src.conf. The shwon below error sounds weird, since the other boxes have compiled the very same day the port lang/gcc has been updated the very same port without problems. Since I spread arounf the boxes my /etc/make.conf and /etc/src.conf for FreeBSD 10.0-CURRENT, I'm very sure that I do not use other flags on the failing system. Any ideas? Regards, Oliver =3D=3D=3D=3D=3D 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-20121102/gcc -I.././../gcc-4.6-20121102/gcc/build -I.././../gcc-4.6-20121102/gcc/../include -I.././../gcc-4.6-20121102/gcc/../libcpp/include -I/usr/local/include -I.././../gcc-4.6-20121102/gcc/../libdecnumber -I.././../gcc-4.6-20121102/gcc/../libdecnumber/dpd -I../libdecnumber -I/usr/local/include \ -o build/genflags.o .././../gcc-4.6-20121102/gcc/genflags.c In file included from .././../gcc-4.6-20121102/gcc/genflags.c:28: =2E././../gcc-4.6-20121102/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-20121102/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-20121102/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. --------------enig6EB853F9BE6687FCCC691CB9 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) iQEcBAEBAgAGBQJQmpDoAAoJEOgBcD7A/5N8FO0H/39tN80VxT8oQU6IEpCiXNTu c0DZBkYhP/cDyFCP/cQJTVFHE573FbbwU0gqUdZ9vtF+/LXNO6b2tSkLD+BaddZz J2IQSKyn+2ysBSNfBtG1YlnBUMkc9/ZzagOqLskcYpTbNZsP4SL/2RR9GOt9Y2ih mjeSUZGZyycF8Pn4PbFU+LoL1L78ZHkzWAiBRa0PTUF2oiD4+QjSL5StgwNnOmmh f5KsB+JbAnR7enBXgFfj4XY7Uvn18WNr+G6k8kjjqSVZuNC++u0ZxHgbT0fcJ3yW hOsCLUG27GipT+BlKixeoueEEg7N4opBF2aSQQsIRER5g1JgJVJA4doUknzWaqM= =/E3M -----END PGP SIGNATURE----- --------------enig6EB853F9BE6687FCCC691CB9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?509A90E3.7070301>