Strange "make buildworld" error
- Reply: George Mitchell : "Re: Strange "make buildworld" error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Oct 2022 23:22:56 UTC
On a FreeBSD 12.3-RELEASE-p6, I have updated /usr/src to 13.1-RELEASE. Running "make buildworld" resulted in this error while building shared library libclang_rt.asan-x86_64.so: ld: error: duplicate symbol: __asan::FlushUnneededASanShadowMemory(unsigned long, unsigned long) >>> defined at asan_linux.cpp:118 (/usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_linux.cpp:118) >>> asan/asan_linux.pico:(__asan::FlushUnneededASanShadowMemory(unsigned long, unsigned long)) >>> defined at asan_poisoning.cpp:65 (/usr/src/contrib/llvm-project/compiler-rt/lib/asan/asan_poisoning.cpp:65) >>> asan/asan_poisoning.pico:(.text+0x530) However, line 65 of asan_poisoning.cpp neither defines nor even references FlushUnneededASanShadowMemory. Instead, it defines AsanPoisonOrUnpoisonIntraObjectRedzone. A complete typescript is here: https://www.m5p.com/~george/FlushUnneededASanShadowMemory.xz I am mystified. -- George