https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69839

--- Comment #4 from Joakim Tjernlund <joakim.tjernlund at infinera dot com> ---
(In reply to Jakub Jelinek from comment #3)
> That is the bug then.  The linker doesn't search for DT_NEEDED shared
> libraries in the -L directories, but in the -rpath{,-link} ones, or in the
> standard directories (which for the sysroot would be
> /usr/powerpc-g2.20-linux-gnu/lib/ and
> /usr/powerpc-g2.20-linux-gnu/usr/lib/

The bug is in how Gentoo installed the cross compiler or in
binutils?

Strangely gcc/ld has no problem finding libasan.so which is in the same
directory as libstd++

Reply via email to