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.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils