You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ODR violations are ignored by setting ASAN_OPTIONS=detect_odr_violation=0, which was done in the CI workflow .github/workflows/ci_linux_x64_asan-libshortfin.yml with PR #152. This option should be removed asap.
It the option is set in the CI since the target shortfin_array_test fails during compilation with
==5954==ERROR: AddressSanitizer: odr-violation (0x5559c8269ba0):
[1] size=20 'typeinfo name for spdlog::spdlog_ex' sharktank/libshortfin/build/_deps/spdlog-src/src/spdlog.cpp in sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test
[2] size=20 'typeinfo name for spdlog::spdlog_ex' sharktank/libshortfin/build/_deps/spdlog-src/src/spdlog.cpp in sharktank/libshortfin/build/src/libshortfin.so.1
These globals were registered at these points:
[1]:
#0 0x5559c83152a6 in __asan_register_globals (sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test+0x20c2a6)
#1 0x5559c83163bd in __asan_register_elf_globals (sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test+0x20d3bd)
#2 0x7f9fe0ef240d in call_init /tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/csu/../csu/libc-start.c:145:3
#3 0x7f9fe0ef240d in __libc_start_main /tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/csu/../csu/libc-start.c:347:5
[2]:
#0 0x5559c83152a6 in __asan_register_globals (sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test+0x20c2a6)
#1 0x5559c83163bd in __asan_register_elf_globals (sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test+0x20d3bd)
#2 0x7f9fe1c651bd in call_init /tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/elf/dl-init.c:74:3
#3 0x7f9fe1c651bd in call_init /tmp/portage/sys-libs/glibc-2.39-r6/work/glibc-2.39/elf/dl-init.c:26:1
==5954==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'typeinfo name for spdlog::spdlog_ex' at sharktank/libshortfin/build/_deps/spdlog-src/src/spdlog.cpp in sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test
==5954==ABORTING
CMake Error at /usr/share/cmake/Modules/GoogleTestAddTests.cmake:112 (message):
Error running test executable.
Path: 'sharktank/libshortfin/build/src/shortfin/array/shortfin_array_test'
Working directory: 'sharktank/libshortfin/build/src/shortfin/array'
Result: 1
Output:
Call Stack (most recent call first):
/usr/share/cmake/Modules/GoogleTestAddTests.cmake:226 (gtest_discover_tests_impl)
ODR violations are ignored by setting
ASAN_OPTIONS=detect_odr_violation=0
, which was done in the CI workflow.github/workflows/ci_linux_x64_asan-libshortfin.yml
with PR #152. This option should be removed asap.It the option is set in the CI since the target
shortfin_array_test
fails during compilation withwhen configured with
The text was updated successfully, but these errors were encountered: