Disable ASAN ODR detection to workaround double registration of log_mem_write_side variable in CU
/opt/oai-gnb/bin/nr-softmodem -O /opt/oai-gnb/etc/gnb.conf --sa --log_config.global_log_options level,nocolor,time --rfsimulator.options chanmod --telnetsrv --telnetsrv.listenaddr 192.168.71.150 --telnetsrv.shrmod ci ================================================================= ==7==ERROR: AddressSanitizer: odr-violation (0x7fce78b85be0): [1] size=4 'log_mem_write_side' /oai-ran/common/utils/LOG/log.c:78:14 [2] size=4 'log_mem_write_side' /oai-ran/common/utils/LOG/log.c:78:14 These globals were registered at these points: [1]: \#0 0x7fce7b691658 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 \#1 0x7fce7bd0c47d in call_init elf/dl-init.c:70 [2]: \#0 0x7fce7b691658 in __asan_register_globals ../../../../src/libsanitizer/asan/asan_globals.cpp:341 \#1 0x7fce7a5e2eba in call_init ../csu/libc-start.c:145 \#2 0x7fce7a5e2eba in __libc_start_main_impl ../csu/libc-start.c:379 ==7==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0 SUMMARY: AddressSanitizer: odr-violation: global 'log_mem_write_side' at /oai-ran/common/utils/LOG/log.c:78:14 ==7==ABORTING [INFO tini (1)] Spawned child process '/opt/oai-gnb/bin/entrypoint.sh' with pid '7' [INFO tini (1)] Main child exited normally (with status '1')
Showing
Please register or sign in to comment