Summary: | sys-libs/glibc-9999 (almost 2.34): sanity check for ld-linux-*.so.2 needs adjusting for arm64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 803482 | ||
Attachments: | build.log.bz2 |
Description
Sam James
2021-07-24 04:54:53 UTC
glibc-9999.ebuild has:
># first let's find the actual dynamic linker here
># symlinks may point to the wrong abi
>local newldso=$(find . -name 'ld-linux*.so.2' -type f -print -quit)
>einfo Last-minute run tests with ${newldso} in /$(get_libdir) ...
Given the error, we see that ldso is blank (perhaps we should have a || die in the subshell?).
# ls -1 /var/tmp/portage/sys-libs/glibc-9999/image/lib64
ld-linux-aarch64.so.1
libBrokenLocale.so.1
libSegFault.so
libanl.so.1
libc.so.6
libc_malloc_debug.so.0
libdl.so.2
libm.so.6
libmemusage.so
libnsl.so.1
libnss_compat.so.2
libnss_db.so.2
libnss_dns.so.2
libnss_files.so.2
libnss_hesiod.so.2
libpcprofile.so
libpthread.so.0
libresolv.so.2
librt.so.1
libthread_db.so.1
libutil.so.1
On a working arm64 machine (the host for the chroot) with glibc-2.33-r1, I have: /lib64/ld-linux-aarch64.so.1, but no .2.
Apparently .2 only exists for certain arches? (They got things right the first time on arm64?)
|