This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add --with-build-config=bootstrap-asan support
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Tobias Burnus <burnus at net-b dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 29 Nov 2012 09:44:09 -0800
- Subject: Re: [PATCH] Add --with-build-config=bootstrap-asan support
- References: <20121122203747.GA4264@gmail.com> <50B79D18.6050601@net-b.de>
On Thu, Nov 29, 2012 at 9:36 AM, Tobias Burnus <burnus@net-b.de> wrote:
> H.J. Lu wrote:
>>
>> This patch adds --with-build-config=bootstrap-asan support. Tested on
>> Linux/x86-64. OK to install?
>
>
> I think that patch has broken bootstrap for me. If I do a normal bootstrap,
> Stage1 fails with:
>
> libtool: compile: unrecognized option `-D_GNU_SOURCE'
> libtool: compile: Try `libtool --help' for more information.
> make[4]: *** [interception_linux.lo] Error 1
> make[4]: Leaving directory
> `/home/burnus/gcc/build/x86_64-unknown-linux-gnu/libsanitizer/interception'
>
>
> Actually, I wonder why it is build in stage 1. Shouldn't it be a target
> library which only built later (except with bootstrap-asan)?
>
Please try this:
http://gcc.gnu.org/ml/gcc-patches/2012-11/msg01530.html
--
H.J.