Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler-rt sanitizer not supported #4

Open
oneechanhax opened this issue Jul 12, 2019 · 3 comments
Open

Compiler-rt sanitizer not supported #4

oneechanhax opened this issue Jul 12, 2019 · 3 comments

Comments

@oneechanhax
Copy link

Compiler-rts sanitizer is not supported with musl libc, it should be disabled with -DCOMPILER_RT_BUILD_XRAY=OFF -DCOMPILER_RT_BUILD_SANITIZERS=OFF -DCOMPILER_RT_SANITIZERS_TO_BUILD=none

@tpimh
Copy link
Owner

tpimh commented Jul 13, 2019

Ideally I want to support sanitizers, but just disabling them is OK for now

@oneechanhax
Copy link
Author

alpine disables them. its missing fstab.h that glibc provides.
it isnt there so its best to disable it.

@tpimh
Copy link
Owner

tpimh commented Jul 18, 2019

I was able to compile compiler_rt with sanitizers, it required installation of BSD-licensed libexecinfo, otherwise builds just as usual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants