[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: Wed, 23 Nov 2022 23:40:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267751
Lorenzo Salvadore <salvadore@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|lang/gcc11: Address |lang/gcc*: Address
|sanitizer isn't properly |sanitizer isn't properly
|enabled: ASan runtime does |enabled: ASan runtime does
|not come first in initial |not come first in initial
|library list |library list
Status|Open |In Progress
--- Comment #4 from Lorenzo Salvadore <salvadore@freebsd.org> ---
I think I have found the issue and the fix. I am going to add the patches for
the gcc -devel ports to the bug report and start committing them together with
the weekly snapshots. Then I will fix the gcc standard ports too.
For now, I have tested the patch for gcc11-devel successfully. I am still
testing the other patches. 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
--
You are receiving this mail because:
You are on the CC list for the bug.