On Sat, Jun 23, 2018 at 1:21 PM, wabe <[email protected]> wrote: > "Andreas K. Huettel" <[email protected]> wrote: > >> Am Freitag, 22. Juni 2018, 20:11:51 CEST schrieb wabe: >> > Hi folks, >> > >> > I have a problem and didn't find a solution yet. >> > >> > Upgrading glibc from 2.25-r11 to 2.26-r7 doesn't work. It says >> > >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-lin >> > ux-gnu-nptl/elf/sln >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li >> > nux-gnu-nptl/elf/symlink.list >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li >> > nux-gnu-nptl/elf/sln: >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li >> > nux-gnu-nptl/elf/sln: cannot execute binary file make[1]: *** >> > [Makefile:106: install-symbolic-link] Error 126 >> > >> > Compiling other packages is no problem. However when I try to >> > reinstall glibc-2.25-r11 it also exits with an similar error at the >> > end: >> >> [...] >> >> You're trying to make a multilib glibc, and your kernel does not >> support one of the resulting ABIs (most likely CONFIG_IA32_EMULATION >> needs to be turned on in the kernel configuration to be able to run >> x86 binaries on an amd64 install). >> >> (That said, this is a rather stupid bug in the glibc build system and >> needs to be fixed eventually.) > > Thank you very much for your answer. > > You are right. Compiling the kernel with CONFIG_IA32_EMULATION solved > the problem. I switched from hardened kernel to gentoo standard kernel > some time ago and just forget to compile it with that option. > > IIRC I build a multilib system many years ago because of grub. But maybe > I don't need multilib anymore. How can I find out if I have x86 binaries > installed?
This should give you a good start: scanelf -M 32 /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /opt

