libc: include rtld.h into static implementations of rtld interface(cherry picked from commit 7f7489eba391a858b3930a34e7749d642b374c5c)
Add libdl to clibs packagelibdl is a filter on libc, and pretty lightweight. Add it to the 'clibs'package with libc, effectively tying them together in a pkgbase world.Reviewed by: gjbMFC after
Add libdl to clibs packagelibdl is a filter on libc, and pretty lightweight. Add it to the 'clibs'package with libc, effectively tying them together in a pkgbase world.Reviewed by: gjbMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D13997
show more ...
DIRDEPS_BUILD: Update dependencies.Sponsored by: Dell EMC Isilon
DIRDEPS_BUILD: Connect more libraries.Sponsored by: Dell EMC Isilon
Provide libdl.Create libdl.so.1 as a filter for libc.so.7 which exports public dl*functions. The functions are resolved from the rtld instead, the goalof creating library is to avoid errors from
Provide libdl.Create libdl.so.1 as a filter for libc.so.7 which exports public dl*functions. The functions are resolved from the rtld instead, the goalof creating library is to avoid errors from the static linker due tomissed libdl. For static binaries, an empty .o is compiled intolibdl.a so that static binaries still get dl stubs from libc.a.Right now lld cannot create filter objects, disable libdl on arm64when binutils are not used.Reviewed by: bdrewery, dim (previos version); emasteExp run: PR 220525, done by antoineSponsored by: The FreeBSD FoundationMFC after: 1 monthDifferential revision: https://reviews.freebsd.org/D11504