Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2022 15:05:11 +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-NY6SGOV5hp@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 #13 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=3D2b4f6e6f7a0b36f4592dc0058e12f55=
b668d6be2

commit 2b4f6e6f7a0b36f4592dc0058e12f55b668d6be2
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2022-11-25 22:52:13 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2022-11-26 15:02:45 +0000

    lang/gcc11-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/gcc11-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-NY6SGOV5hp>