Summary: | 32bit binaries not working on amd64 system | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vetoshkin Nikita <nikita.vetoshkin> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | loki_val |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/doc/en/gentoo-amd64-faq.xml#multilib | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
config.log |
Description
Vetoshkin Nikita
2008-09-25 17:22:35 UTC
Created attachment 166399 [details]
build.log
Please attach config.log from the build dir. Created attachment 166450 [details]
config.log
i'm just going to go out on a limb and guess you disabled 32bit support in your kernel darkstar ~ # zcat /proc/config.gz | grep EMUL CONFIG_HPET_EMULATE_RTC=y CONFIG_IA32_EMULATION=y I think I didn't =) So can I reopen it? then run a simple test on your system: echo 'int main(){puts("hello");}' > test.c gcc -m32 test.c ./a.out You're right, it doesn't run. How could that be? IA32 emulation is turn on in kernel =( you also needed to install an amd64 multilib in the first place ... darkstar ~ # emerge -pv glibc gcc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/glibc-2.8_p20080602 USE="(multilib) nls -debug -gd -glibc-compat20 -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 16,402 kB [ebuild R ] sys-devel/gcc-4.3.1-r1 USE="gtk mudflap (multilib) nls openmp (-altivec) -bootstrap -build -doc -fortran -gcj (-hardened) -ip28 -ip32r10k -libffi -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 57,611 kB darkstar ~ # profile-config list Available profile symlink targets: [1] default-linux/amd64/2007.0 [2] default-linux/amd64/2007.0/desktop [3] default-linux/amd64/2007.0/no-multilib [4] default-linux/amd64/2007.0/server [5] hardened/amd64 [6] hardened/amd64/multilib [7] selinux/2007.0/amd64 [8] selinux/2007.0/amd64/hardened [9] default/linux/amd64/2008.0 [10] default/linux/amd64/2008.0/desktop * [11] default/linux/amd64/2008.0/developer [12] default/linux/amd64/2008.0/no-multilib [13] default/linux/amd64/2008.0/server [14] hardened/linux/amd64 What else can I do? =( |