Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 154472 - Cant compile gcc4.1 without CONFIG_IA32_EMULATION=y
Summary: Cant compile gcc4.1 without CONFIG_IA32_EMULATION=y
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-08 07:54 UTC by Stefan Salewski
Modified: 2006-11-08 09:04 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)