[Bug 267751] lang/gcc*: Address sanitizer isn't properly enabled: ASan runtime does not come first in initial library list
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Dec 2022 17:25:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751 --- Comment #23 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb398d22e6faf020957b45b43c9f6b9450c04cc9 commit fb398d22e6faf020957b45b43c9f6b9450c04cc9 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-11-26 22:12:09 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-12-03 17:24:10 +0000 lang/gcc11: 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/gcc11/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.