[PATCH 1/3] libctf: Remove undefined functions from ver. map
Nick Alcock
nick.alcock@oracle.com
Wed Apr 17 17:58:30 GMT 2024
On 2 Mar 2024, Nicholas Vinson uttered the following:
> Starting with ld.lld-17, ld.lld is invoked with the option
> --no-undefined-version enabled by default. Furthermore, The functions
> ctf_label_set() and ctf_label_get() are not defined. Their inclusion in
> libctf/libctf.ver causes ld.lld-17 to fail emitting the following error
> messages:
>
> ld.lld: error: version script assignment of 'LIBCTF_1.0' to symbol 'ctf_label_set' failed: symbol not defined
> ld.lld: error: version script assignment of 'LIBCTF_1.0' to symbol 'ctf_label_get' failed: symbol not defined
>
> This patch fixes the issue by removing the symbol names from
> libctf/libctf.ver.
I'm throwing this into my latest series. The other stuff is biting me
too, so I clearly have to do *something* about it. Just doing the
version-script excision kludgery unconditionally does seem easiest. I'll
credit you...
More information about the Binutils
mailing list