Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573744

Summary: sys-devel/libtool drops -fsanitize=* when linking
Product: Gentoo Linux Reporter: Joakim Tjernlund <joakim.tjernlund>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joakim Tjernlund 2016-02-03 08:32:04 UTC
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
Comment 1 Joakim Tjernlund 2016-02-03 09:38:34 UTC
Adding the libtool fixes in
 https://bugs.gentoo.org/show_bug.cgi?id=572038
would be great as well.
Comment 2 Joakim Tjernlund 2016-02-03 10:13:56 UTC
I suspect -static-asan should be passed by libtool too?
Comment 3 Joakim Tjernlund 2016-02-04 10:35:48 UTC
Would be great if you could add epatch_user as well.
Comment 4 SpanKY gentoo-dev 2016-02-13 08:55:14 UTC
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
Comment 5 Joakim Tjernlund 2016-02-13 13:35:07 UTC
(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