[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:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751 --- Comment #24 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a051e5a32dd9b36fe2b03fe152b94ee2cdce4926 commit a051e5a32dd9b36fe2b03fe152b94ee2cdce4926 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2022-11-26 22:13:47 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2022-12-03 17:24:17 +0000 lang/gcc11: Re-execute program with ASLR disabled when necessary Software compiled with -fsanitize=address needs ASLR to be disabled to run successfully. Add patches taken from the commits listed below that improve ASLR detection and re-execute the program with ASLR disabled if necessary. https://cgit.freebsd.org/src/commit/?id=7cafe89f9ce33effe6e471b185339d413da1ca46 https://cgit.freebsd.org/src/commit/?id=930a7c2ac67e1e8e511aa1d0a31a16c632060ebb https://cgit.freebsd.org/src/commit/?id=96fe7c8ab0f65cf829619abd74ae6c126b21e15f PR: 267751 lang/gcc11/Makefile | 2 +- ...er_sanitizer__common_sanitizer__linux.cpp (new) | 61 ++++++++++++++++++++++ ...zer__common_sanitizer__linux__libcdep.cpp (new) | 32 ++++++++++++ 3 files changed, 94 insertions(+), 1 deletion(-) -- You are receiving this mail because: You are on the CC list for the bug.