[Bug sanitizer/82824] [8 regression] libsanitizer fails to build: VM_MEMORY_OS_ALLOC_ONCE undefined

ro at CeBiTec dot Uni-Bielefeld.DE gcc-bugzilla@gcc.gnu.org
Mon Nov 6 14:36:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82824

--- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
[...]
> Apparently 10.6/Darwin 11 isn't supported either; see bug 82829. As I said

I couldn't find an explicit statement of support (or non-support) for
LLVM on Darwin.  However, we could either try to get patches upstream
or keep them gcc-local if they are as trivial as those two.

> there, it'd really be nice to have a --disable-libsanitizer configure flag for
> whenever upstream breaks stuff again

Your wish has already been granted: for most if not all target
libraries, there's already a --disable-libX/--enable-libX switch,
libsanitizer included.

However, this isn't the right way to handle this: if it's really
concluded that libsanitizer isn't supported on certain Darwin versions,
this should be handled in libsanitizer/configure.tgt so users don't get
failing bootstraps without non-default options.

        Rainer


More information about the Gcc-bugs mailing list