When running an emerge -e system on a freshly unpacked 2007.0 hardened tarball, gcc fails to build citing an illegal instruction. Reproducible: Always Steps to Reproduce: 1.Set up a hardened system 2.Emerge gcc 3.Fail Actual Results: /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/crtstuff.c: In function `__do_global_dtors_aux': /var/tmp/portage/sys-devel/gcc-3.4.6-r2/work/gcc-3.4.6/gcc/crtstuff.c:288: internal compiler error: Illegal instruction Expected Results: gcc should finish compiling I am building this system in a chroot on a non-hardened machine; I originally tried to use distcc to build everything, but turned it off when gcc failed. Disabling distcc did not change the failure at all.
Created attachment 129775 [details] build.log This is the build.log from my latest compile attempt.
emerge --info please.
Created attachment 129776 [details] Preprocessed sources Preprocessed sources.
Created attachment 129778 [details] emerge --info
D'oh. Forgot that, even in a chroot, -march=k6-2 won't work on a pentium-m system. Closing, invalid.