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

Bug 154472

Summary: Cant compile gcc4.1 without CONFIG_IA32_EMULATION=y
Product: Gentoo Linux Reporter: Stefan Salewski <mail>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Salewski 2006-11-08 07:54:19 UTC
I have done a clean 2006.1 (AMD64) install some weeks ago, using Kernel 2.6.18-r1.
emerge --update --deep --newuse world 
failed when emerging gcc4.1 with message like
"checking whether the c compiler works"
"configure: error:  cannot run C compiled programs."

After recompiling kernel with option
CONFIG_IA32_EMULATION=y
emerging gcc4.1 works. (of couse after reboot into new kernel)

Can you confirm that we have to enable IA_32_EMULATION to emerge gcc (and glibc)? (Emerging other software works fine without IA_32_EMULATION).

Best regards

Stefan Salewski
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-08 07:57:35 UTC
(In reply to comment #0)
> Can you confirm that we have to enable IA_32_EMULATION to emerge gcc (and
> glibc)? (Emerging other software works fine without IA_32_EMULATION).

Yes. 

In future, please use #gentoo-amd64 on freenode, forums.gentoo.org or appropriate mailing list for support questions. Bugzilla is not a support forum.
Comment 2 Stefan Salewski 2006-11-08 09:04:16 UTC
Jakub Moc wrote:
>Yes.
>In future, please use #gentoo-amd64 on freenode, forums.gentoo.org or
>appropriate mailing list for support questions. Bugzilla is not a support
>forum.

So I call this a serious bug (at least in documentation)!
I think only very few people know that we have to enable
CONFIG_IA32_EMULATION=y
to emerge gcc or glibc. (I found some reports about this kind of emerge problem, but only one hint for enabling IA32_EMULATION. And no explanation why we need it.)