vitalybuka wrote: > @vitalybuka #182529 fixed/should fix these. MLIR+ASan failures seem unrelated.
They are related: BAD: https://lab.llvm.org/buildbot/#/builders/52/builds/15222 NO PCH: https://github.com/llvm/llvm-zorg/commit/998f4b86c07f82705fd603f07eca39a5154bf717 GOOD: https://lab.llvm.org/buildbot/#/builders/52/builds/15223 Errors looks like this: https://lab.llvm.org/buildbot/#/builders/169/builds/20215 ``` ==mlir-runner==3500971==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0 SUMMARY: AddressSanitizer: odr-violation: global 'llvm::EnableABIBreakingChecks' at /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/ABIBreak.cpp in /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/lib/../lib/libmlir_float16_utils.so.23.0git ==> /home/b/sanitizer-x86_64-linux-fast/build/sanitizer_logs/report.mlir-runner.3501023 <== ================================================================= ==mlir-runner==3501023==ERROR: AddressSanitizer: odr-violation (0x756c97ed99a0): [1] size=4 'llvm::EnableABIBreakingChecks' /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/ABIBreak.cpp in /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/lib/../lib/libmlir_float16_utils.so.23.0git [2] size=4 'llvm::EnableABIBreakingChecks' /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/ABIBreak.cpp in /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-runner These globals were registered at these points: [1]: #0 0x6478327d4f98 in __asan_register_globals /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:431:3 #1 0x6478327d6109 in __asan_register_elf_globals /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:414:3 #2 0x756c981874ae (/lib64/ld-linux-x86-64.so.2+0x54ae) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #3 0x756c981875c3 (/lib64/ld-linux-x86-64.so.2+0x55c3) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #4 0x756c98184551 in _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x2551) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #5 0x756c9818eb88 (/lib64/ld-linux-x86-64.so.2+0xcb88) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #6 0x756c981844bb in _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x24bb) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #7 0x756c9818efb3 (/lib64/ld-linux-x86-64.so.2+0xcfb3) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #8 0x756c9789e683 (/lib/x86_64-linux-gnu/libc.so.6+0x9e683) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #9 0x756c981844bb in _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x24bb) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #10 0x756c98184608 (/lib64/ld-linux-x86-64.so.2+0x2608) (BuildId: 205841581372e951d18b59e0d3b24c16d2291fef) #11 0x756c9789e172 (/lib/x86_64-linux-gnu/libc.so.6+0x9e172) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #12 0x756c9789e73e in dlopen (/lib/x86_64-linux-gnu/libc.so.6+0x9e73e) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #13 0x647832825045 in dlopen /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:6513:15 #14 0x6478337aa4fc in DLOpen /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/Unix/DynamicLibrary.inc:28:18 #15 0x6478337aa4fc in llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/DynamicLibrary.cpp:168:18 #16 0x647834c67a46 in mlir::ExecutionEngine::create(mlir::Operation*, mlir::ExecutionEngineOptions const&, std::__1::unique_ptr<llvm::TargetMachine, std::__1::default_delete<llvm::TargetMachine>>) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/ExecutionEngine.cpp:293:16 #17 0x647834c5b2cd in compileAndExecute((anonymous namespace)::Options&, mlir::Operation*, llvm::StringRef, (anonymous namespace)::CompileAndExecuteConfig, void**, std::__1::unique_ptr<llvm::TargetMachine, std::__1::default_delete<llvm::TargetMachine>>) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/JitRunner.cpp:199:7 #18 0x647834c55129 in compileAndExecuteVoidFunction((anonymous namespace)::Options&, mlir::Operation*, llvm::StringRef, (anonymous namespace)::CompileAndExecuteConfig, std::__1::unique_ptr<llvm::TargetMachine, std::__1::default_delete<llvm::TargetMachine>>) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/JitRunner.cpp:241:10 #19 0x647834c5068c in mlir::JitRunnerMain(int, char**, mlir::DialectRegistry const&, mlir::JitRunnerConfig) /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/lib/ExecutionEngine/JitRunner.cpp:399:23 #20 0x64783289e767 in main /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/mlir/tools/mlir-runner/mlir-runner.cpp:93:10 #21 0x756c9782a577 (/lib/x86_64-linux-gnu/libc.so.6+0x2a577) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #22 0x756c9782a63a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a63a) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #23 0x6478327c05a4 in _start (/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-runner+0x81b65a4) [2]: #0 0x6478327d4f98 in __asan_register_globals /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:431:3 #1 0x6478327d6109 in __asan_register_elf_globals /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_globals.cpp:414:3 #2 0x756c9782a6b3 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a6b3) (BuildId: ae7440bbdce614e0e79280c3b2e45b1df44e639c) #3 0x6478327c05a4 in _start (/home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/bin/mlir-runner+0x81b65a4) ==mlir-runner==3501023==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0 SUMMARY: AddressSanitizer: odr-violation: global 'llvm::EnableABIBreakingChecks' at /home/b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/Support/ABIBreak.cpp in /home/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan_ubsan/lib/../lib/libmlir_float16_utils.so.23.0git ``` https://github.com/llvm/llvm-project/pull/176420 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
