1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/lang/gcc13/files
Lorenzo Salvadore 11e18f525a
lang/gcc13: 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.

To successfully run the software compiled with -fsanitize=address it is
still necessary to disable ASLR.

PR:		267751
Reported by:	yuri

Co-authored-by:	Andreas Tobler <andreast@gcc.gnu.org>
2024-01-13 08:18:34 +00:00
..
patch-arm-unwind-cxx-support
patch-clang-vec_step
patch-gcc_system.h
patch-gfortran-libgcc
patch-libcc1_libcc1plugin.cc
patch-libcc1_libcp1plugin.cc
patch-libcxxrt
patch-libsanitizer_asan_asan__linux.cpp lang/gcc13: Fix Address sanitizer 2024-01-13 08:18:34 +00:00
patch-libsanitizer_asan_asan__thread.cpp lang/gcc13: Fix Address sanitizer 2024-01-13 08:18:34 +00:00
pkg-message.in