address sanitizer gcc-6.4 failing on bsd10 (cross build)
Ed Maste
emaste@freebsd.org
Mon Sep 10 19:22:00 GMT 2018
On 29 August 2018 at 09:11, Ken Faiczak <kfaiczak@sandvine.com> wrote:
> Building the same manner (tools etc) for RH7 and BSD10
>
> * Works fine on linux
>
> * BSD10.3 crashes first time something tries to access what looks like the ShadowMemory
>
> * g++ is a cross build (target bsd10, host rh7)
>
> o I had to specifically configure -enable-libsanitizer (so maybe its generally not supported?)
Hi Ken.
The sanitizers are usable in contemporary Clang versions on FreeBSD
but I'm not aware of any effort on getting the GCC ones to work. I
suspect you're correct and it's just disabled by default because it's
unsupported.
I haven't compared the Clang and GCC implementations so I'm not sure
if there's a straightforward way to use the Clang one as a reference.
More information about the Gcc
mailing list