Gentoo Archives: gentoo-user

From: Mike Gilbert <floppym@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problems updating glibc-2.26-r7
Date: Mon, 25 Jun 2018 21:20:56
Message-Id: CAJ0EP43G_jFGAPf03Ka8uuM5uJme54t45-g=CXmYGXu8TRecUw@mail.gmail.com
In Reply to: Re: [gentoo-user] Problems updating glibc-2.26-r7 by wabe
1 On Sat, Jun 23, 2018 at 1:21 PM, wabe <wabenbau@×××××.com> wrote:
2 > "Andreas K. Huettel" <dilfridge@g.o> wrote:
3 >
4 >> Am Freitag, 22. Juni 2018, 20:11:51 CEST schrieb wabe:
5 >> > Hi folks,
6 >> >
7 >> > I have a problem and didn't find a solution yet.
8 >> >
9 >> > Upgrading glibc from 2.25-r11 to 2.26-r7 doesn't work. It says
10 >> >
11 >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-lin
12 >> > ux-gnu-nptl/elf/sln
13 >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li
14 >> > nux-gnu-nptl/elf/symlink.list
15 >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li
16 >> > nux-gnu-nptl/elf/sln:
17 >> > /var/tmp/portage/portage/sys-libs/glibc-2.26-r7/work/build-x86-x86_64-pc-li
18 >> > nux-gnu-nptl/elf/sln: cannot execute binary file make[1]: ***
19 >> > [Makefile:106: install-symbolic-link] Error 126
20 >> >
21 >> > Compiling other packages is no problem. However when I try to
22 >> > reinstall glibc-2.25-r11 it also exits with an similar error at the
23 >> > end:
24 >>
25 >> [...]
26 >>
27 >> You're trying to make a multilib glibc, and your kernel does not
28 >> support one of the resulting ABIs (most likely CONFIG_IA32_EMULATION
29 >> needs to be turned on in the kernel configuration to be able to run
30 >> x86 binaries on an amd64 install).
31 >>
32 >> (That said, this is a rather stupid bug in the glibc build system and
33 >> needs to be fixed eventually.)
34 >
35 > Thank you very much for your answer.
36 >
37 > You are right. Compiling the kernel with CONFIG_IA32_EMULATION solved
38 > the problem. I switched from hardened kernel to gentoo standard kernel
39 > some time ago and just forget to compile it with that option.
40 >
41 > IIRC I build a multilib system many years ago because of grub. But maybe
42 > I don't need multilib anymore. How can I find out if I have x86 binaries
43 > installed?
44
45 This should give you a good start:
46
47 scanelf -M 32 /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin /opt

Replies

Subject Author
Re: [gentoo-user] Problems updating glibc-2.26-r7 wabe <wabenbau@×××××.com>