bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/23534] ld.bfd: internal error from ldlang.c:6635


From: slyfox at inbox dot ru
Subject: [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635
Date: Tue, 11 Sep 2018 06:43:01 +0000

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

--- Comment #9 from Sergei Trofimovich <slyfox at inbox dot ru> ---
(In reply to Alan Modra from comment #8)
> > Gentoo has two libbfd-2.30.0.so libraries with incompatible ABIs:
> > One of them is built --enable-64-bit-bfd, then other is not
> 
> Ouch, that would explain this bug.  All sorts of mayhem would ensue.  It's a
> wonder that ld didn't segfault immediately.

Would it be sensible to request binutils libraries to expand SONAME to include
the bits that influence ABI?

For example to change
    libbfd.so -> libbfd-2.30.0.so
to something like
    libbfd.so -> libbfd-2.30.0-64-bit-bfd.so

That way when user rebuilds binutils with different flags they would get the
errors about missing library instead of obscure SIGSEGV.

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