I tryed to compile all version of gcc-4.3.0* from the layman overlay(toolchain), and I allways get the same error Reproducible: Always Steps to Reproduce: emerge sys-devel/gcc Actual Results: 70629/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber/dpd -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/coverage.c -o coverage.o powerpc64-unknown-linux-gnu-gcc -c -O -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/. -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/../libdecnumber/dpd -I../libdecnumber /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/cse.c -o cse.o /var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/gcc-4.3-20070629/gcc/cse.c:7015: error: 'TODO_verify_rtl_sharing' undeclared here (not in a function) make[3]: *** [cse.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/work/build' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.3.0_alpha20070629 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile ebuild.sh, line 1311: Called toolchain_src_compile toolchain.eclass, line 26: Called gcc_src_compile toolchain.eclass, line 1541: Called gcc_do_make toolchain.eclass, line 1415: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.0_alpha20070629/temp/build.log'. I try to compile with powerpc64-unknown-linux-gnu-4.1.2 and powerpc64-unknown-linux-gnu-4.2.0. Userland64, PS3.
Created attachment 124619 [details] A complete build log
Not infra related
it's an overlay full of snapshots for a reason -- they arent supported the ppc64 team may want to review, bu the answer is usually "research and fix it yourself"
yes, I've come across the same problem. try to use 4.3.0-alpha20070707 with -fortran. that one compiled fine here. We won't report issues upstream unless it's being out of alpha status. # gcc -v Using built-in specs. Target: powerpc64-unknown-linux-gnu Configured with: /var/tmp/paludis/sys-devel/gcc-4.3.0_alpha20070707/work/gcc-4.3-20070707/configure --prefix=/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/4.3.0-alpha20070707 --includedir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/include --datadir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707 --mandir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/info --with-gxx-include-dir=/usr/lib/gcc/powerpc64-unknown-linux-gnu/4.3.0-alpha20070707/include/g++-v4 --host=powerpc64-unknown-linux-gnu --build=powerpc64-unknown-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --enable-libmudflap --disable-libssp --enable-objc-gc --enable-languages=c,c++,java,objc,obj-c++ --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.3.0-alpha20070707 (experimental) (Gentoo 4.3.0_alpha20070707)
oh.. this are the use flags I used: * sys-devel/gcc-4.3.0_alpha20070707::toolchain {:4.3} [R] -altivec -bootstrap -build -doc -fortran gcj -gtk (-hardened) -ip28 -ip32r10k mudflap (-multilib) -multislot (-n32) (-n64) nls -nocxx objc objc++ objc-gc openmp -test -vanilla