just lint fails when lix is configured with ASan #710

Open
opened 2025-03-01 14:39:07 +00:00 by pennae · 0 comments
Owner

Describe the bug

/nix/store/kw7y8ysgzasbwxb8qw1a486s35nfdnlv-clang-tools-18.1.8/bin/clang-tidy -header-filter=lix/[^/]+/.*\.hh -p=/home/git/lix/lix/build/meson/clang-tidy -quiet -load=/home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so --warnings-as-errors=* /home/git/lix/lix/lix/nix/fmt.cc
Error opening '/home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so': /home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so: undefined symbol: __asan_option_detect_stack_use_after_return
  -load request ignored.
45354 warnings generated.

it seems we should always configure lix-clang-tidy without sanitizers, regardless of the parent config

## Describe the bug ``` /nix/store/kw7y8ysgzasbwxb8qw1a486s35nfdnlv-clang-tools-18.1.8/bin/clang-tidy -header-filter=lix/[^/]+/.*\.hh -p=/home/git/lix/lix/build/meson/clang-tidy -quiet -load=/home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so --warnings-as-errors=* /home/git/lix/lix/lix/nix/fmt.cc Error opening '/home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so': /home/git/lix/lix/build/subprojects/lix-clang-tidy/liblix-clang-tidy.so: undefined symbol: __asan_option_detect_stack_use_after_return -load request ignored. 45354 warnings generated. ``` it seems we should always configure lix-clang-tidy without sanitizers, regardless of the parent config
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lix-project/lix#710
No description provided.