Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190976 - Hardened gcc-3.4.6-r2 build fails with illegal instruction
Summary: Hardened gcc-3.4.6-r2 build fails with illegal instruction
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High major
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-01 16:50 UTC by William Keaney
Modified: 2007-09-01 17:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,536.37 KB, text/plain)
2007-09-01 16:52 UTC, William Keaney
Details
Preprocessed sources (ccYbkGYS.out,126.19 KB, text/plain)
2007-09-01 16:57 UTC, William Keaney
Details
emerge --info (info.txt,2.50 KB, text/plain)
2007-09-01 17:02 UTC, William Keaney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Keaney 2007-09-01 16:50:16 UTC
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.
Comment 1 William Keaney 2007-09-01 16:52:13 UTC
Created attachment 129775 [details]
build.log

This is the build.log from my latest compile attempt.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-01 16:55:25 UTC
emerge --info please.
Comment 3 William Keaney 2007-09-01 16:57:37 UTC
Created attachment 129776 [details]
Preprocessed sources

Preprocessed sources.
Comment 4 William Keaney 2007-09-01 17:02:29 UTC
Created attachment 129778 [details]
emerge --info
Comment 5 William Keaney 2007-09-01 17:32:08 UTC
D'oh.  Forgot that, even in a chroot, -march=k6-2 won't work on a pentium-m system.  Closing, invalid.