Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2022 10:10:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 267751] lang/gcc*: Address sanitizer isn't properly enabled: ASan runtime does not come first in initial library list
Message-ID:  <bug-267751-29464-NW94wqIbs0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-267751-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-267751-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267751

--- Comment #16 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D12c4b8c968b78bcfe2532bedf26c5da=
31d75c60b

commit 12c4b8c968b78bcfe2532bedf26c5da31d75c60b
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-11-26 20:55:26 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-11-27 10:09:11 +0000

    lang/gcc12-devel: Re-execute program with ASLR disabled when necessary

    Software compiled with -fsanitize=3Daddress 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.

=20=20=20
https://cgit.freebsd.org/src/commit/?id=3D7cafe89f9ce33effe6e471b185339d413=
da1ca46
=20=20=20
https://cgit.freebsd.org/src/commit/?id=3D930a7c2ac67e1e8e511aa1d0a31a16c63=
2060ebb
=20=20=20
https://cgit.freebsd.org/src/commit/?id=3D96fe7c8ab0f65cf829619abd74ae6c126=
b21e15f

    PR:             267751

 lang/gcc12-devel/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(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-267751-29464-NW94wqIbs0>