Share Pastebin
Guest
Public paste!

Untitled

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