gentoo / musl

[MIRROR] musl development overlay
https://gitweb.gentoo.org/proj/musl.git
99 stars 59 forks source link

sys-libs/compiler-rt-sanitizers: fix building with clang on musl #443

Closed 0181532686cf4a31163be0bf3e6bb6732bf closed 7 months ago

0181532686cf4a31163be0bf3e6bb6732bf commented 3 years ago

Original ebuild taken from ::gentoo, added few patches

0181532686cf4a31163be0bf3e6bb6732bf commented 3 years ago

Same PR in main tree: https://github.com/gentoo/gentoo/pull/21535

stefson commented 3 years ago
0181532686cf4a31163be0bf3e6bb6732bf commented 3 years ago

@stefson I've updated the structure and added 12.0.1_rc4, but it's hard masked for me now:

$ eix -e compiler-rt-sanitizers
[I] sys-libs/compiler-rt-sanitizers
     Available versions:  
     (10.0.1) 10.0.1-r1^t
     (11.1.0) 11.1.0-r1^t
     (12.0.0) 12.0.0^t
     (12.0.1) **12.0.1_rc4^t **12.0.1.9999*l^t
     (13.0.0) **13.0.0.9999*l^t
       {+asan +cfi +clang +dfsan +gwp-asan +hwasan +libfuzzer +lsan +memprof +msan +profile +safestack +sanitize +scudo +shadowcallstack test +tsan +ubsan +xray ELIBC="glibc"}
     Installed versions:  12.0.0(12.0.0)^t(12:23:36 07/05/21)(asan cfi clang dfsan gwp-asan hwasan libfuzzer lsan memprof msan profile safestack scudo tsan ubsan xray -shadowcallstack -test ELIBC="-glibc")
     Homepage:            https://llvm.org/
     Description:         Compiler runtime libraries for clang (sanitizers & xray)
stefson commented 3 years ago

there will be llvm-12.0.1 final soon, if you add the rc4 now its easier to migrate the ebuild once the final is released.

do you mind to tell on which arch you have tested the patches?

0181532686cf4a31163be0bf3e6bb6732bf commented 3 years ago

I see... I was testing on amd64

stefson commented 3 years ago
0181532686cf4a31163be0bf3e6bb6732bf commented 3 years ago

okay, thanks!