bug-binutils
[Top][All Lists]
Advanced

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

[Bug libctf/27360] libctf.so.0: undefined symbol: bsearch_r


From: toolybird at tuta dot io
Subject: [Bug libctf/27360] libctf.so.0: undefined symbol: bsearch_r
Date: Sat, 15 May 2021 21:45:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27360

--- Comment #17 from Toolybird <toolybird at tuta dot io> ---
Just wanted to mention that while this libctf bug is still present, gcc-11 has
been released which now ships a libiberty that includes bsearch_r()

This means that building binutils with:

1. --enable-shared
2. --prefix=/usr
3. a system installed copy of libiberty.a (from gcc-11)

results in functional binaries again.

This is despite the fact that libctf is still (re)linking against the wrong
libiberty.a

-L/build/binutils/pkg/binutils/usr/lib
-L/usr/lib  <--- problem is here
-lbfd
-L/build/binutils/src/binutils-build/bfd/../libiberty/pic
-L/build/binutils/src/binutils-build/libctf/../libiberty/pic
-liberty

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


reply via email to

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