[Bug build/27132] memusagestat is linked to system librt, leading to undefined symbols on major version upgrade
joseph at codesourcery dot com
sourceware-bugzilla@sourceware.org
Thu Dec 31 21:18:25 GMT 2020
https://sourceware.org/bugzilla/show_bug.cgi?id=27132
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
memusagestat is linked with -lgd -lpng -lz, which are non-glibc libraries;
maybe the way ld looks for libraries mentioned in DT_NEEDED in shared
libraries it links with (a questionable feature of ld) is resulting in
some other system shared library being found. Really it would be better
for memusagestat to be a separate package rather than included in the main
glibc distribution at all (it could still be released along with glibc if
desired), to avoid build complications related to such dependencies.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list