[Bug dynamic-link/14761] Compatibility symlink from old dynamic loader name to new dynamic loader name doesn't work.

simark at simark dot ca sourceware-bugzilla@sourceware.org
Tue Jul 22 18:16:23 GMT 2025


https://sourceware.org/bugzilla/show_bug.cgi?id=14761

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #3 from Simon Marchi <simark at simark dot ca> ---
I'm hitting a problem in GDB that is somewhat related.  With multiple link
namespaces, I see ld-linux multiple times, once for each namespace (I trimmed
the other libs to be concise):

(gdb) info shared
>From                To                  NS    Syms Read   Shared Object Library
0x00007ffff7fc6000  0x00007ffff7fff000  [[0]] Yes        
/lib64/ld-linux-x86-64.so.2
0x00007ffff7fc6000  0x00007ffff7fff000  [[1]] Yes        
/usr/lib/ld-linux-x86-64.so.2
0x00007ffff7fc6000  0x00007ffff7fff000  [[1]] Yes        
/usr/lib/ld-linux-x86-64.so.2
0x00007ffff7fc6000  0x00007ffff7fff000  [[1]] Yes        
/usr/lib/ld-linux-x86-64.so.2                                                   

First, the fact that we have 3 times namespace 1 is a GDB bug that I am looking
to fix.

What I want to show is that the dynamic linker entry for the base namespace is
"/lib64/ld-linux-x86-64.so.2", while the other ones are
"/usr/lib/ld-linux-x86-64.so.2".  On my filesystem, the former is symlink to
the latter.

I don't think GDB has anything to do about this, these are the paths as we
extract them from the link map objects.

Is this something that could/should be improved in glibc?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list