Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903767 - flag-o-matic: strip-flags(): allow -static-libasan
Summary: flag-o-matic: strip-flags(): allow -static-libasan
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-04 09:45 UTC by Agostino Sarubbo
Modified: 2023-09-18 12:54 UTC (History)
1 user (show)

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 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.