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

Bug 903767

Summary: flag-o-matic: strip-flags(): allow -static-libasan
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: EclassesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: UNCONFIRMED ---    
Severity: minor CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=812026
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2023-04-04 09:45:40 UTC
We already allow address sanitizer as ALLOWED_FLAGS, I guess that add -static-libasan won't hurt.

Thanks
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-07 15:33:36 UTC
I'm not sure this is really a 'safe' flag in an ebuild trying to strip anything likely to break the build.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-25 06:15:27 UTC
I thought about it a bit more and I guess we can. But we should add https://lists.gnu.org/archive/html/libtool-patches/2023-05/msg00001.html to elt-patches and libtool first.