We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-Wl,--no-undefined
$ b config.c=clang-14 config.c.coptions="-g -fno-omit-frame-pointer -fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" crc32.so.o.i:(.text+0x5a30): undefined reference to `__ubsan_handle_shift_out_of_bounds_abort' /usr/bin/ld: crc32.so.o.i:(.text+0x5a66): undefined reference to `__ubsan_handle_out_of_bounds_abort' /usr/bin/ld: crc32.so.o.i:(.text+0x5ad8): undefined reference to `__ubsan_handle_pointer_overflow_abort' /usr/bin/ld: crc32.so.o.i:(.text+0x5b08): undefined reference to `__ubsan_handle_type_mismatch_v1_abort' /usr/bin/ld: crc32.so.o.i:(.text+0x5b41): undefined reference to `__asan_report_load4' /usr/bin/ld: crc32.so.o.i:(.text+0x5b82): undefined reference to `__ubsan_handle_add_overflow_abort'
Note that this is not an issue with GCC (probably has something to do with Clang linking sanitizers statically while GCC -- as shared libraries).
Not sure what's the best way to fix this. Note also that we have quite a few other packages that do the same.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Note that this is not an issue with GCC (probably has something to do with Clang linking sanitizers statically while GCC -- as shared libraries).
Not sure what's the best way to fix this. Note also that we have quite a few other packages that do the same.
The text was updated successfully, but these errors were encountered: