On Oct 21, 2015, at 8:01 AM, Jakub Jelinek <ja...@redhat.com> wrote:
> On Wed, Oct 21, 2015 at 05:56:42PM +0300, Maxim Ostapenko wrote:
>> 
>> recent libsanitizer merge (
>> https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01851.html) broke bootstrap on
>> x86_64-apple-darwin14 because for Darwin sanitizer libs shouldn't be linked
>> with -lrt flag. Also, right now, libubsan links with -lc++abi for Darwin,
>> that is wrong, because we don't want to link against system clang++'s C++
>> library (Dominique, am I right here?). This patch fixes bootstrap by adding
>> additional check to determine if we really need librt for sanitizer_common
>> into configure script and removes -lc++abi flag for UBSan on Darwin.
>> 
>> Tested on x86_64-linux-gnu, how does it look?
> 
> Ok with me if it is ok with the Darwin maintainers.

Ok.

Reply via email to