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-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils