This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix bootsrap/68041
- From: Mike Stump <mikestump at comcast dot net>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Maxim Ostapenko <m dot ostapenko at partner dot samsung dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Dominique Dhumieres <dominiq at lps dot ens dot fr>, Yury Gribov <y dot gribov at samsung dot com>
- Date: Wed, 21 Oct 2015 10:46:36 -0700
- Subject: Re: [PATCH] Fix bootsrap/68041
- Authentication-results: sourceware.org; auth=none
- References: <5627A7AA dot 40105 at partner dot samsung dot com> <20151021150156 dot GX478 at tucnak dot redhat dot com>
On Oct 21, 2015, at 8:01 AM, Jakub Jelinek <jakub@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.