Summary: | sys-libs/compiler-rt-sanitizers-10.0.0_rc4 : /.../sanitizer_platform_limits_posix.cpp: fatal error: fstab.h file not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, llvm |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:compiler-rt-sanitizers-10.0.0_rc4:20200317-222944.log temp.tbz2 |
Description
Toralf Förster
2020-03-17 22:41:58 UTC
Created attachment 621022 [details]
emerge-info.txt
Created attachment 621024 [details]
emerge-history.txt
Created attachment 621026 [details]
environment
Created attachment 621028 [details]
etc.portage.tbz2
Created attachment 621030 [details]
logs.tbz2
Created attachment 621032 [details]
sys-libs:compiler-rt-sanitizers-10.0.0_rc4:20200317-222944.log
Created attachment 621034 [details]
temp.tbz2
Simple solution is use.mask sys-libs/compiler-rt-sanitizers -libfuzzer -sanitize -xray See also https://reviews.llvm.org/D63785 . (In reply to Michael 'veremitz' Everitt from comment #9) > See also https://reviews.llvm.org/D63785 . Using patch from https://reviews.llvm.org/D63785#1921014 and replacing all instances of 'SANITIZER_GNU' with 'defined(__GLIBC__)' seems to work here. (In reply to Jory A. Pratt from comment #8) > Simple solution is use.mask > > sys-libs/compiler-rt-sanitizers -libfuzzer -sanitize -xray This should actually be 'package.use.mask' for that syntax, and using: sys-libs/compiler-rt-sanitizers -sanitize seems to be adequate so far .. unless I run into later difficulties... (In reply to Michael 'veremitz' Everitt from comment #10) > > sys-libs/compiler-rt-sanitizers -sanitize > > seems to be adequate so far .. unless I run into later difficulties... should actually be 'sanitize' without the minus, as its masking, not Un-masking! Added https://reviews.llvm.org/D63785#2323359 to upstream bug. The bug has been closed via 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(-) |