PATCH: Add --with-build-config=bootstrap-asan support

H.J. Lu hjl.tools@gmail.com
Sun Nov 18 15:56:00 GMT 2012


On Sun, Nov 18, 2012 at 7:28 AM, Paolo Bonzini <bonzini@gnu.org> wrote:
> Il 18/11/2012 00:54, H.J. Lu ha scritto:
>> +@if gcc-bootstrap
>> +ifneq ($(filter bootstrap-asan,$(BUILD_CONFIG)),)
>> +LIBASAN_LIBS=-B$$r/prev-$(TARGET_SUBDIR)/libsanitizer/asan/.libs
>> +endif
>> +@endif gcc-bootstrap
>
> Do you need this to be here?  POSTSTAGE1_*_EXPORT is only used when
> bootstrapping, and they are defined with "=" so the definition could be
> placed (or so it seems at first look) in bootstrap-asan.mk.
>

It works. I will post a new patch to include a workaround for

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55380

Thanks.


-- 
H.J.



More information about the Gcc-patches mailing list