https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751

--- Comment #27 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=99c1ed39b70e5c82b3d8d0b01eac6e4ab8438693

commit 99c1ed39b70e5c82b3d8d0b01eac6e4ab8438693
Author:     Lorenzo Salvadore <[email protected]>
AuthorDate: 2024-01-12 14:25:09 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2024-01-13 08:18:27 +0000

    lang/gcc14-devel: Fix Address sanitizer

    Software compiled with -fsanitize=address fails to run with the error
    message "ASan runtime does not come first in initial library list; you
    should either link runtime to your application or manually preload it
    with LD_PRELOAD".

    This commit fixes the issue by ignoring the [vdso] loaded shared library
    instead of linux-vdso.so.

    PR:             267751
    Reported by:    yuri

    Co-authored-by: Andreas Tobler <[email protected]>

 lang/gcc14-devel/Makefile                          |  1 +
 .../patch-libsanitizer_asan_asan__linux.cpp (new)  | 23 ++++++++++++++++++++++
 .../patch-libsanitizer_asan_asan__thread.cpp (new) | 13 ++++++++++++
 3 files changed, 37 insertions(+)

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to