Summary: | sys-libs/glibc ebuild should check for CONFIG_IA32_EMULATION in running kernel before building multilib | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dustin J. Mitchell <dustin> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | amd64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://forums.gentoo.org/viewtopic.php?p=6898600#6898600 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dustin J. Mitchell
2012-01-01 19:44:07 UTC
I misattributed and misunderstood Hu's concerns (copy/paste error, sorry), as he noted in the forums post. Hu makes the suggestion: If you absolutely must test before building, test whether a 32-bit do-nothing program can be built and run. That both catches IA32_EMULATION=n and catches broken 32-bit environments, which a simple kernel configuration check will miss. which makes a lot of sense. It also seems like runtime testing of kernel features via /proc/config.gz would be the way to go for such things, rather than looking for kernel source which may or may not be present or related to the running kernel. At any rate, a better and earlier error about this would be great, regardless of method. Probably this is a similar issue to bug 154472 and bug 192286. *** This bug has been marked as a duplicate of bug 326693 *** |