Date: Wed, 23 Nov 2022 23:40:27 +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-uQRmHkY4Ol@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 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 f= or the gcc -devel ports to the bug report and start committing them together w= ith 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=3D1 # sysctl kern.elf64.aslr.enable=3D1 --=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-uQRmHkY4Ol>