This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Add an option to bootstrap GCC with asan?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: GCC Development <gcc at gcc dot gnu dot org>
- Date: Sat, 17 Nov 2012 09:57:32 -0800
- Subject: Re: Add an option to bootstrap GCC with asan?
- References: <CAMe9rOp8Ohed9QdXnZXJGW3Kp3EbevGYOnRq+3cKB3A6AJZn1Q@mail.gmail.com> <CAKOQZ8zNuuJZ23du3abohRCiZECj_ya-yM4ExF=TwVboPrJv8g@mail.gmail.com>
On Sat, Nov 17, 2012 at 9:38 AM, Ian Lance Taylor <iant@google.com> wrote:
>
> On Nov 17, 2012 9:37 AM, "H.J. Lu" <hjl.tools@gmail.com> wrote:
>>
>> Hi,
>>
>> There is a bad memory access in LTO:
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54795
>>
>> Should we add an option to bootstrap GCC with asan?
>
> Sure. What's the worst that could happen?
>
> Ian
I will first add -static-libasan and then add
--with-build-config=bootstrap-asan
--
H.J.