[PATCH 0/3] Fix ld.lld-17 libctf version script symbol not defined errors
Nicholas Vinson
nvinson234@gmail.com
Sat Mar 2 04:59:58 GMT 2024
Starting with ld.lld-17, ld.lld is invoked with the option
--no-undefined-version enabled by default. This causes ld.lld to error whenever
a versioned symbol map contains undefined symbols. As a result, ld.lld emits
errors when building libctf.
Together these patches fix the undefined symbol errors that occur when building
libctf.
Special thanks to Sam Jones and Nick Alcock for their assitance in creating this
patch set.
Fixes Gentoo bug 914640 (https://bugs.gentoo.org/914640)
Signed-off-by: Nicholas Vinson <nvinson234@gmail.com>
Nicholas Vinson (3):
libctf: Remove undefined functions from ver. map
libctf: Add comment for conditionally def'd sym
libctf: Regnerate configure
libctf/configure | 3 ++-
libctf/configure.ac | 3 ++-
libctf/libctf.ver | 5 +----
3 files changed, 5 insertions(+), 6 deletions(-)
--
2.43.2
More information about the Binutils
mailing list