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

macOS - zld error: undefined symbols ___sanitizer_ #1

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

macOS - zld error: undefined symbols ___sanitizer_ #1

kassane opened this issue Sep 26, 2024 · 0 comments

Comments

@kassane
Copy link
Owner

kassane commented Sep 26, 2024

CI: https://github.com/kassane/sanitizers-zig/actions/runs/11059058190/job/30726494468

rtsan

Weak Symbols

install
+- install test-rtsan
   +- zig build-exe test-rtsan Debug native 7 errors
error: undefined symbol: ___sanitizer_symbolize_code
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer3getEPNS_17LowLevelAllocatorE
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer3getEPNS_17LowLevelAllocatorE
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer11SymbolizePCEmPNS_15SymbolizedStackE
error: undefined symbol: ___sanitizer_symbolize_data
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer13SymbolizeDataEmPNS_8DataInfoE
error: undefined symbol: ___sanitizer_symbolize_demangle
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer8DemangleEPKc
error: undefined symbol: ___sanitizer_symbolize_flush
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer5FlushEv
error: undefined symbol: ___sanitizer_symbolize_frame
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer14SymbolizeFrameEmPNS_9FrameInfoE
error: undefined symbol: ___sanitizer_symbolize_set_demangle
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer3getEPNS_17LowLevelAllocatorE
error: undefined symbol: ___sanitizer_symbolize_set_inline_frames
    note: referenced by /Users/runner/work/sanitizers-zig/sanitizers-zig/tests/.zig-cache/o/d512d6106e255f01aa160e9fbf25b44a/sanitizer_symbolizer_posix_libcdep.o:__ZN11__sanitizer18InternalSymbolizer3getEPNS_17LowLevelAllocatorE

Reference

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

1 participant