Summary: | sys-libs/glibc-2.29-r2: Failed to compile the ABI test. Broken host glibc? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aaron Bauman (RETIRED) <bman> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Aaron Bauman (RETIRED)
2019-05-18 14:10:51 UTC
Comment on attachment 577176 [details]
build log
In the future, please do not wrap your build logs inside a useless tarball.
There are two "errors" in the log. The first is non-fatal, but may be related to the latter. The first seems to indicate that LDPATH is missing /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/32, or at least ld isn't looking there for some reason. * Checking that IA32 emulation is enabled in the running kernel ... /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc_s.so.1 when searching for libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libgcc_s.so.1 /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a when searching for -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc collect2: error: ld returned 1 exit status * Failed to compile the ABI test. Broken host glibc? Later, when linking libc.so for the x86 ABI, there is an undefined reference for a symbol in libgcc, which makes sense given the failure above. /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-libs/glibc-2.29-r2/work/build-x86-x86_64-pc-linux-gnu-nptl/libc_pic.os: in function `imaxdiv': (.text+0x1b96e): undefined reference to `__divmoddi4' collect2: error: ld returned 1 exit status I wonder if you installed sys-devel/gcc without multilib support somehow. What does LDPATH contain in /etc/env.d/gcc/x86_64-pc-linux-gnu-9.1.0? No idea why multilib flipped bits back and forth. Not a concern for base-system. Will follow up if I figure out why. |