[Bug dynamic-link/32508] ldd: /lib/ld-linux.so.2: cannot execute binary file: Exec format error
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Dec 30 12:25:33 GMT 2024
https://sourceware.org/bugzilla/show_bug.cgi?id=32508
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
Target Milestone|--- |2.41
--- Comment #12 from Florian Weimer <fweimer at redhat dot com> ---
Fixed for 2.41 via:
commit 0ee6e13f7f0634bb7858dcc99222f96054f3612d
Author: Florian Weimer <fweimer@redhat.com>
Date: Mon Dec 30 12:41:51 2024 +0100
x86-64: Reorder dynamic linker list in ldd script (bug 32508)
Move the x86-64 loader first, before the i386 and x32 loaders. In
most cases, it's the loader the script needs. This avoids an error
message if the i386 loader does not work.
The effect of this change to the generated ldd script looks like this:
-RTLDLIST="/lib/ld-linux.so.2 /lib64/ld-linux-x86-64.so.2
/libx32/ld-linux-x32.so.2"
+RTLDLIST="/lib64/ld-linux-x86-64.so.2 /lib/ld-linux.so.2
/libx32/ld-linux-x32.so.2"
Reviewed-by: Sam James <sam@gentoo.org>
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list