Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2022 00:31: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-OL9Egt6gUs@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 #18 from Gerald Pfeifer <gerald@FreeBSD.org> ---
(In reply to Lorenzo Salvadore from comment #4)
> Mind that it is necessary to disable ASLR to run successfully the=20
> compiled binaries, which can de done with
>
> # sysctl kern.elf64.aslr.pie_enable=3D1
> # sysctl kern.elf64.aslr.enable=3D1

I believe this needs to be "=3D0" in both cases, to *DISABLE* ASLR:

  # sysctl kern.elf64.aslr.pie_enable=3D0
  # sysctl kern.elf64.aslr.enable=3D0

--=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-OL9Egt6gUs>