All libtool versions drops -fsanitize=address when linking. Problem described here: https://lists.gnu.org/archive/html/libtool/2014-04/msg00026.html and fixed upstream in commit: libtool: fix GCC/clang linking with -fsanitize=* Please backport to current stable libtool
Adding the libtool fixes in https://bugs.gentoo.org/show_bug.cgi?id=572038 would be great as well.
I suspect -static-asan should be passed by libtool too?
Would be great if you could add epatch_user as well.
i've grabbed the fix from upstream and it's in libtool-2.4.6-r2 now: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f4225eb727dcd8cc0eebd60620d4b2b160712aa
(In reply to SpanKY from comment #4) > i've grabbed the fix from upstream and it's in libtool-2.4.6-r2 now: > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=5f4225eb727dcd8cc0eebd60620d4b2b160712aa Great! I have installed libtool-2.4.6-r2 in my boxes, will propagate it to all our dev boxes shortly. Now I only miss https://bugs.gentoo.org/show_bug.cgi?id=572038 for the last missing sysroot fix to libtool