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

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

URL:
https://cgit.FreeBSD.org/ports/commit/?id=27141421f69cb2d2bc6a462d005b251921f2c52b

commit 27141421f69cb2d2bc6a462d005b251921f2c52b
Author:     Lorenzo Salvadore <[email protected]>
AuthorDate: 2022-11-26 22:02:08 +0000
Commit:     Lorenzo Salvadore <[email protected]>
CommitDate: 2022-11-30 12:52:52 +0000

    lang/gcc12: 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

 lang/gcc12/Makefile                                    |  2 +-
 .../patch-libsanitizer_asan_asan__linux.cpp (new)      | 18 ++++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletion(-)

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

Reply via email to