Re: sanitizers broken (was RE: libc/libsys split coming soon)

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Thu, 22 Feb 2024 11:32:12 UTC
Am 2024-02-21 10:52, schrieb Hartmut.Brandt@dlr.de:
> Hi,
> 
> I updated yesterday and now event a minimal program with
> 
> cc -fsanitize=address
> 
> produces
> 
> ld: error: undefined symbol: __elf_aux_vector
>>>> referenced by sanitizer_linux_libcdep.cpp:950 
>>>> (/usr/src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:950)
>>>>               sanitizer_linux_libcdep.o:(__sanitizer::ReExec()) in 
>>>> archive /usr/lib/clang/17/lib/freebsd/libclang_rt.asan-x86_64.a
> cc: error: linker command failed with exit code 1 (use -v to see 
> invocation)
> 
> I think this is caused by the libsys split.

There are other issues too. Discussed in multiple places.

I opened https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277222 this 
morning, maybe it can be used to centralize the libsys issues (= I don't 
mind of you add a comment there, but maybe brooks wants to have a 
separate PR).

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF