bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/31615] Hang when linking vorbis-tools


From: hjl.tools at gmail dot com
Subject: [Bug ld/31615] Hang when linking vorbis-tools
Date: Sun, 07 Apr 2024 14:09:06 +0000

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

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #7)
> This results in no reload of libm.so.6.  If libm.so.6 is reloaded (post
> e7e05a9dd0) ldexp is already an indirect symbol to a defweak versioned sym
> from libc.so.6, and attempting to mash in the duplicated libm.so ldexp
> results in a u.i.link loop back to itself.  We don't normally try to
> override symbols like that, but you could argue it is a long-standing bug in
> _bfd_generic_link_add_one_symbol that case is not handled gracefully.

Before my commit, ldexp@@GLIBC_2.2.5 in libc.so.6 is used even when it is
also defined in libm.so.6.  After my commit, ldexp@@GLIBC_2.2.5 in libm.so.6
is used.  However, info->hash->undefs_tail == &h->root isn't handled properly.

-- 
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]