[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: Fri, 15 Dec 2023 14:04:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751
Andreas Tobler <andreast@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andreast@FreeBSD.org
--- Comment #25 from Andreas Tobler <andreast@FreeBSD.org> ---
Created attachment 247061
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247061&action=edit
Possible fix for BUS error on asan init
This is a possible fix for the bus error happening on gcc-13 and up when
running asan tests. (Or other binaries compiled with -fsanitize=address). I
tested it with gmake check-gcc RUNTESTFLAGS=asan.exp on current gcc-13 git
branch. (including the patch in FindFirstDSOCallback).
There are only the known swapcontext failures.
As said, a possible fix. Maybe we have to investigate more in deep. But at
least it is a starting point.
--
You are receiving this mail because:
You are on the CC list for the bug.