long double redirects and dynamic loader behavior

Paul E Murphy murphyp@linux.ibm.com
Mon Feb 24 20:10:00 GMT 2020


Tulio mentioned that he and Carlos discussed this topic during Cauldron 
last year.

As far as I understand it, dlopen becomes problematic when loading code 
compiled against an unknown long double ABI.  My understanding is the 
gnu-attribute exists to help catch those cases at link time.  I am 
unsure how, or if it does anything to assist dynamically loaded libraries.

dlsym is more tricky.  The redirects obfuscate the naming of many common 
symbols.  I.e dlsym(...,"printf") might give you something which almost 
works, but is broken.

What is the current thinking regarding the behavior of these features 
when redirects are used?



More information about the Libc-alpha mailing list