- 15:34:42 < nocturnu1> I think multilib is broken on my system but both 32 and 64bit toolchains
- work
- 15:35:32 < nocturnu1> I know this because of the following grub error:
- http://omploader.org/vM3drbQ
- 15:48:40 <@angelos> looks more like you disabled ia32 emulation in your kernel
- 15:50:51 <@angelos> and for the next time: config.log is better than build.log :p
- 15:56:43 < nocturnu1> i have it
- 15:56:50 < nocturnu1> when i attempt to run the 32bit binaries it says no such file or
- directory when in fact it is there
- 16:02:56 <@angelos> check the output of ldd
- 16:06:12 < a-v> either CONFIG_IA32_EMULATION is disabled or he's missing 32-bit dynamic linker
- library
- 16:07:47 < a-v> nocturnu1, # ls -l /lib32/ld-linux.so.2 # zgrep CONFIG_IA32_EMULATION
- /proc/config.gz
- 16:09:11 < nocturnu1> lrwxrwxrwx 1 root root 10 Mar 18 08:46 /lib32/ld-linux.so.2 -> ld-2.11.so
- 16:09:25 < nocturnu1> CONFIG_IA32_EMULATION=y
- 16:10:11 < a-v> $ echo 'int main(){}' | gcc -x c - -m32 && ./a.out
- 16:12:14 < nocturnu1> ls
- 16:12:19 < nocturnu1> bash: ./a.out: No such file or directory
- 16:12:35 < a-v> $ echo 'int main(){}' | gcc -x c - -m32 -static && ./a.out
- 16:12:54 < nocturnu1> worked
- 16:13:09 < a-v> dmesg | tail
- 16:13:27 < nocturnu1> nothing relevant
- 16:13:30 < nocturnu1> [ 4968.096124] mmc0: card b368 removed
- 16:13:33 < nocturnu1> [ 4968.096124] mmc0: card b368 removed
- 16:13:35 < nocturnu1> whoops
- 16:13:40 < nocturnu1> yea that's the most recent line if you insist
- 16:13:53 < a-v> $ echo 'int main(){}' | gcc -x c - -m32 && ldd ./a.out
- 16:14:12 < nocturnu1> not a dynamic executable
- 16:14:31 < a-v> $ echo 'int main(){}' | gcc -x c - -m32 && readelf -d ./a.out
- 16:14:51 < nocturnu1> http://omploader.org/vM3dtaw
- 16:15:57 < a-v> readelf -a a.out
- 16:16:20 < nocturnu1> http://omploader.org/vM3dtbA
- 16:17:55 < a-v> ls -l /lib32/ld-2.11.so
- 16:20:11 < nocturnu1> -rwxr-xr-x 1 root root 117840 Mar 18 08:46 /lib32/ld-2.11.so
- 16:21:22 < a-v> Well, looks like fun. Downgrade to
- app-emulation/emul-linux-x86-baselibs-20091231 and see if it helps.
- 16:21:58 < a-v> oh, wait
- 16:22:04 < nocturnu1> don't have that pkg
- 16:22:11 < a-v> ld.so is probably supplied by glibc
- 16:23:25 < a-v> Don't know then, you can't possibly downgrade glibc
- 16:23:47 < nocturnu1> why not?
- 16:24:22 < nocturnu1> Installed versions: 2.11-r1(2.2)!s(08:46:14 03/18/10)(multilib
- -crosscompile_opts_headers-only -debug -gd -glibc-omitfp -hardened -nls
- -profile -selinux -vanilla)
- 16:24:37 < nocturnu1> what happens if i reinstall the current version with
- -crosscompile_opts_headers-only?
- 16:25:00 < a-v> Beats me
