[Bug libctf/31056] New: --enable-shared leads to Undefined symbols

2023-11-12 Thread kirill at korins dot ky
https://sourceware.org/bugzilla/show_bug.cgi?id=31056

Bug ID: 31056
   Summary: --enable-shared leads to Undefined symbols
   Product: binutils
   Version: 2.40
Status: UNCONFIRMED
  Severity: normal
  Priority: P2
 Component: libctf
  Assignee: unassigned at sourceware dot org
  Reporter: kirill at korins dot ky
  Target Milestone: ---

Good day,

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

Undefined symbols for architecture x86_64:
  "_ctf_open", referenced from:
  _ctf_link_add_ctf in libctf_nobfd_la-ctf-link.o
  _ctf_link_deduplicating_count_inputs in libctf_nobfd_la-ctf-link.o
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


--enable-shared leads to Undefined symbols

2023-11-12 Thread Kirill A. Korinsky
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



signature.asc
Description: Message signed with OpenPGP