Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 88525

Summary: gcc-3.4 won't compile on a Via C3 Eden processor
Product: Gentoo Linux Reporter: Laurence Withers <l>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed output which causes gcc build to fail

Description Laurence Withers 2005-04-09 16:26:19 UTC
I cannot get gcc-3.4 to compile on a Mini-ITX board which is using a Via C3 Eden processor. It always fails at the same point with "illegal instruction" and tells me to send the preprocessed source file here (which I will attach). This happens with all the gcc versions in the 3.4 series, but it's still quite happy compiling new releases in the 3.3 series.

I have these set in /etc/make.conf:
 CFLAGS="-O2 -march=c3 -fomit-frame-pointer"
 CHOST="i686-pc-linux-gnu"

I'll try compiling the generic sources, without Gentoo patches, and see if that still gives me a problem -- if so, I'll close this bug and report it upstream. I'll also try playing with CFLAGS (though I've done this in the past and it hasn't made any difference).
Comment 1 Laurence Withers 2005-04-09 16:27:23 UTC
Created attachment 55806 [details]
Preprocessed output which causes gcc build to fail
Comment 2 Laurence Withers 2005-04-09 18:33:51 UTC
Apologies; this appears to be an upstream bug, since it compiles fine if I unset CFLAGS.