I tested both with and without LTO. I used clang to compile objects and the entire LLVM toolchain is on 17.0.6. This affects every shared object I tested this on.
For reference:
Gentoo Linux on x86_64
Version 17.0.6
None specific LD flags used: -Wl,-O3 -Wl,--as-needed -fuse-ld=lld
Gentoo does not inject any patches.
LLD is build with NDEBUG set and ZSTD support.
I did rebuild LLD just to see if anything went wrong on the build process.
LLD was build using Clang and LLD.
All build libraries still work but the dynamic linker is obviously not happy about this and sends messages like:
/usr/bin/cmake: //usr/lib64/libgnutls.so.30: no version information available (required by /usr/lib64/libcurl.so.4)
I tested both gold and mold (with clang LTO objects) and both link just fine with VERDEF set.
I tested both with and without LTO. I used clang to compile objects and the entire LLVM toolchain is on 17.0.6. This affects every shared object I tested this on.
For reference:
Gentoo Linux on x86_64
Version 17.0.6
None specific LD flags used: `-Wl,-O3 -Wl,--as-needed -fuse-ld=lld`
Gentoo does not inject any patches.
LLD is build with NDEBUG set and ZSTD support.
I did rebuild LLD just to see if anything went wrong on the build process.
LLD was build using Clang and LLD.
All build libraries still work but the dynamic linker is obviously not happy about this and sends messages like:
`/usr/bin/cmake: //usr/lib64/libgnutls.so.30: no version information available (required by /usr/lib64/libcurl.so.4)`
I tested both gold and mold (with clang LTO objects) and both link just fine with VERDEF set.
I tested both with and without LTO. I used clang to compile objects and the entire LLVM toolchain is on 17.0.6. This affects every shared object I tested this on.
For reference: Gentoo Linux on x86_64 Version 17.0.6 None specific LD flags used:
-Wl,-O3 -Wl,--as-needed -fuse-ld=lld
Gentoo does not inject any patches. LLD is build with NDEBUG set and ZSTD support. I did rebuild LLD just to see if anything went wrong on the build process. LLD was build using Clang and LLD.
All build libraries still work but the dynamic linker is obviously not happy about this and sends messages like:
/usr/bin/cmake: //usr/lib64/libgnutls.so.30: no version information available (required by /usr/lib64/libcurl.so.4)
I tested both gold and mold (with clang LTO objects) and both link just fine with VERDEF set.