public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Fix ld.lld-17 libctf version script symbol not defined errors
@ 2024-03-02  4:59 Nicholas Vinson
  2024-03-02  4:59 ` [PATCH 1/3] libctf: Remove undefined functions from ver. map Nicholas Vinson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Nicholas Vinson @ 2024-03-02  4:59 UTC (permalink / raw)
  To: binutils; +Cc: Nicholas Vinson, Sam Jones, Nick Alcock

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-17 17:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-02  4:59 [PATCH 0/3] Fix ld.lld-17 libctf version script symbol not defined errors Nicholas Vinson
2024-03-02  4:59 ` [PATCH 1/3] libctf: Remove undefined functions from ver. map Nicholas Vinson
2024-04-17 17:58   ` Nick Alcock
2024-03-02  5:00 ` [PATCH 2/3] libctf: Add comment for conditionally def'd sym Nicholas Vinson
2024-03-03 15:10   ` Nick Alcock
2024-03-03 15:56     ` Nicholas Vinson
2024-03-04 13:57       ` Nick Alcock
2024-03-05  0:37         ` Nicholas Vinson
2024-03-11 15:33           ` Nick Alcock
2024-03-02  5:00 ` [PATCH 3/3] libctf: Regnerate configure Nicholas Vinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).