This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/69839] cross-compiling programs w/-fsanitize=address fails: ld: warning: libstdc++.so.6, needed by libasan.so, not found (try using -rpath or -rpath-link)


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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Likely a bug on the Gentoo side.
The linker handles differently libraries specified on the command line and
libraries that are needed by those shared libraries, but are not mentioned on
the command line.  See binutils documentation.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]