Summary: | sys-libs/compiler-rt-sanitizers-10.0.1 : Does not compile on musl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Davies <jpds> |
Component: | Hardened | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | herrtimson, llvm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/llvm/llvm-project/issues/60687 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jonathan Davies
2020-11-10 19:40:16 UTC
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abf7b18e945a1baee9b503cbc6650bf28c46f22 commit 2abf7b18e945a1baee9b503cbc6650bf28c46f22 Author: Jonathan Davies <jpds@protonmail.com> AuthorDate: 2020-11-10 17:03:14 +0000 Commit: Jory Pratt <anarchy@gentoo.org> CommitDate: 2020-11-10 19:52:18 +0000 musl profile: Disabled LLVM sanitizers as they do not work for now. Closes: https://bugs.gentoo.org/753935 Closes: https://github.com/gentoo/gentoo/pull/18216 Signed-off-by: Jonathan Davies <jpds@protonmail.com> Signed-off-by: Jory Pratt <anarchy@gentoo.org> profiles/default/linux/musl/package.use.mask | 3 +++ 1 file changed, 3 insertions(+) I'm still encountering this on the musl hardened profile. Am I doing something wrong or was sanitizer support only disabled on the musl vanilla profile? Adding `-sanitizer` to the clang-runtime USE flags can work around it for now. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f545c8ab490e3da017fb473c506c390954c5ec0 commit 7f545c8ab490e3da017fb473c506c390954c5ec0 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-11-07 03:54:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-11-07 03:58:59 +0000 profiles: refine LLVM sanitizers mask for musl (more finely-grained) Some sanitizers work now. Bug: https://bugs.gentoo.org/753935 Closes: https://bugs.gentoo.org/713072 Reported-by: maskray Signed-off-by: Sam James <sam@gentoo.org> profiles/default/linux/musl/package.use.mask | 5 +---- profiles/features/musl/package.use.mask | 11 ++++++++++- 2 files changed, 11 insertions(+), 5 deletions(-) upstream bug report: https://github.com/llvm/llvm-project/issues/60687 |