This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed: framework bits for disabling libsanitizer. RFC on which targets for which to disable it.
- From: Dodji Seketeli <dodji at redhat dot com>
- To: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- Cc: gcc-patches at gcc dot gnu dot org, wmi at google dot com, davidxl at google dot com, dnovillo at google dot com, hans-peter dot nilsson at axis dot com, jakub at redhat dot com
- Date: Tue, 13 Nov 2012 16:04:12 +0100
- Subject: Re: Committed: framework bits for disabling libsanitizer. RFC on which targets for which to disable it.
- References: <20121113134113.71E1F3BABA@mailhost.lps.ens.fr>
dominiq@lps.ens.fr (Dominique Dhumieres) writes:
>> Yes. And it shouldn't be just based on target CPU, but also based
>> on target OS, I don't think libsanitizer supports anything but linux (glibc
>> + maybe android) right now, with some smaller or bigger tweaks it could
>> support darwin (but see the reports that it doesn't build there right now)
>> ...
>
> Importing the missing files allows the bootstrap to complete.
> However I did not manage so far to make it working on darwin10:
> see http://gcc.gnu.org/ml/gcc-bugs/2012-11/msg01145.html .
>
> I don't think disabling libsanitizer is an emergency for darwin.
I guess when the issue of the missing files is resolved, we can enable
building libsanitizer on Darwin proper. Here is the patchlet I am
proposing so far http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00993.html.
--
Dodji