Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573744 - sys-devel/libtool drops -fsanitize=* when linking
Summary: sys-devel/libtool drops -fsanitize=* when linking
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-03 08:32 UTC by Joakim Tjernlund
Modified: 2016-02-13 13:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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