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

LLVM20 - compiler-rt issues #2

Open
kassane opened this issue Sep 27, 2024 · 0 comments
Open

LLVM20 - compiler-rt issues #2

kassane opened this issue Sep 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kassane
Copy link
Owner

kassane commented Sep 27, 2024

source: https://github.com/kassane/sanitizers-zig/tree/compiler-rt (upstream)
zig tests: https://github.com/kassane/sanitizers-zig/tree/llvm20-sanitizers

cross-CI: https://github.com/kassane/sanitizers-zig/actions/runs/11072115299

Musl get build-error:

  zig build --build-file $PWD/tests/build.zig --summary all -freference-trace -Dtarget=x86_64-linux-musl
  shell: /usr/bin/bash -e {0}
install
+- install test-asan
   +- zig build-exe test-asan Debug x86_64-linux-musl 1 errors
error: ld.lld: undefined symbol: __sanitizer::struct_sock_fprog_sz
    note: referenced by sanitizer_common_interceptors.inc:1318 (/home/runner/.cache/zig/p/1220768c90d01b50340ecec58520f1d968accf04ec04d83cddd79444e33d218bad87/lib/sanitizer_common/sanitizer_common_interceptors.inc:1318)
    note:               /home/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/ad4c5abc5e69425976166a33e4b3deb7/asan_interceptors.o:(__interceptor_prctl)

No detected on local-machine!! 😨 (running segfault)

@kassane kassane added the bug Something isn't working label Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant