public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Compatibility .so linker scripts for merged libraries
@ 2021-11-16 13:27 Yann Droneaud
  2021-11-16 13:47 ` Andreas Schwab
  2021-11-17 10:31 ` Florian Weimer
  0 siblings, 2 replies; 5+ messages in thread
From: Yann Droneaud @ 2021-11-16 13:27 UTC (permalink / raw)
  To: libc-alpha

Hi,


Was it considered dangerous to introduce "compatibility" .so link 
scripts for the libraries that was merged into libc.so (libpthread, 
librt, libdl, etc.) ?



For example:
$ cat librt.so
/* GNU ld script
    Use the static library */
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib/x86_64-linux-gnu/librt.a )


Because I'm having some bad times fixing issues in a build system that 
try to locate now missing .so with gcc -print-file-name= then uses the 
paths to the libraries instead of -l name them.

Regards.

-- 
Yann Droneaud
OPTEYA



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-17 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 13:27 Compatibility .so linker scripts for merged libraries Yann Droneaud
2021-11-16 13:47 ` Andreas Schwab
2021-11-16 13:54   ` Yann Droneaud
2021-11-17 10:31 ` Florian Weimer
2021-11-17 21:32   ` Yann Droneaud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).