bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

--enable-shared leads to Undefined symbols


From: Kirill A. Korinsky
Subject: --enable-shared leads to Undefined symbols
Date: Sun, 12 Nov 2023 10:16:46 +0000

Good day,

If I build binutils 2.40 and 2.41 with --enable-shared on macOS, I do have something like:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_ctf_open", referenced from:
:info:build       _ctf_link_add_ctf in libctf_nobfd_la-ctf-link.o
:info:build       _ctf_link_deduplicating_count_inputs in libctf_nobfd_la-ctf-link.o
:info:build ld: symbol(s) not found for architecture x86_64

interesting that building on macOS 10.5 / i386 hasn't got any issue, but any x86_64 fails like that.

Different macOS fails with a bit different symbols, but all of them related to ctf.

-- 
wbr, Kirill

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]