I just tried building trunk on FreeBSD with --enable-sanitizer, which failed with a lot of linker errors:
ld.lld: error: undefined symbol: __asan_option_detect_stack_use_after_return >>> referenced by util.c:54 >>> ../unxfbsdx.pro/slo/util.o:(osl_getEthernetAddress) >>> referenced by tempfile.c:48 >>> ../unxfbsdx.pro/slo/tempfile.o:(osl_getTempDirURL) >>> referenced by system.c:552 >>> ../unxfbsdx.pro/slo/system.o:(fcvt) >>> referenced 239 more times ld.lld: error: undefined symbol: __asan_stack_malloc_5 >>> referenced by util.c:54 >>> ../unxfbsdx.pro/slo/util.o:(osl_getEthernetAddress) >>> referenced by file.cxx:831 >>> ../unxfbsdx.pro/slo/file.o:(osl_openFile) >>> referenced by bootstrap.cxx:936 >>> ../unxfbsdx.pro/slo/bootstrap.o:((anonymous >>> namespace)::expandMacros(Bootstrap_Impl const*, rtl::OUString const&, >>> (anonymous nam espace)::LookupMode, (anonymous namespace)::ExpandRequestLink const*)) >>> referenced 23 more times [SNIP] -fsanitize=address is getting passed to the linker: Making: libuno_sal.so.3 c++ -Wl,-z,combreloc -Wl,-z,defs -Wl,--undefined-version -fsanitize=address -Wl,-z,origin -Wl,-rpath,'$ORIGIN' Missing library? Thoughts? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
