[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, 26 Nov 2022 15:05:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751 --- Comment #14 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7375f3899ae994888d48e099476d4a6aabf310b2 commit 7375f3899ae994888d48e099476d4a6aabf310b2 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-11-23 22:35:46 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-11-26 15:01:55 +0000 lang/gcc11-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 lang/gcc11-devel/Makefile | 1 + .../patch-libsanitizer_asan_asan__linux.cpp (new) | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) -- You are receiving this mail because: You are on the CC list for the bug.