domi...@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