[Bug 267751] lang/gcc*: Address sanitizer isn't properly enabled: ASan runtime does not come first in initial library list

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Nov 2022 00:31:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751

--- 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 
> compiled binaries, which can de done with
>
> # sysctl kern.elf64.aslr.pie_enable=1
> # sysctl kern.elf64.aslr.enable=1

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

  # sysctl kern.elf64.aslr.pie_enable=0
  # sysctl kern.elf64.aslr.enable=0

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