[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: |
Mon, 10 Sep 2018 23:29:33 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23534
Sergei Trofimovich <slyfox at inbox dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |slyfox at inbox dot ru
--- Comment #7 from Sergei Trofimovich <slyfox at inbox dot ru> ---
I had a look at it in https://bugs.gentoo.org/663690#c19
TL;DR: Gentoo has two libbfd-2.30.0.so libraries with incompatible ABIs:
/usr/lib/binutils/i686-pc-linux-gnu/2.30/libbfd-2.30.0.so
and
/usr/lib/libbfd-2.30.0.so
One of them is built --enable-64-bit-bfd, then other is not. Unfortunately the
have the same SONAME and the error is subtle.
Normally it's not al issue as 'ld' uses private library at
/usr/lib/binutils/i686-pc-linux-gnu/2.30/libbfd-2.30.0.so
Unfortunately cargo(rust?) uses LD_LIBRARY_PATH=/usr/lib environment when calls
gcc/ld and tricks ld into loading wrong (ABI-incompatible) library.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, m4ntdjzdi2 at wylie dot me.uk, 2018/09/09
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, amodra at gmail dot com, 2018/09/10
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, dirkjan at ochtman dot nl, 2018/09/10
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, m4ntdjzdi2 at wylie dot me.uk, 2018/09/10
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635,
slyfox at inbox dot ru <=
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, amodra at gmail dot com, 2018/09/10
- [Bug ld/23534] ld.bfd: internal error from ldlang.c:6635, slyfox at inbox dot ru, 2018/09/11