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



--- Comment #2 from Bernhard Reutner-Fischer <aldot at gcc dot gnu.org> 
2013-04-04 11:41:08 UTC ---

(In reply to comment #1)

> Please try

> 

> http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=61be6ebfe22f9ce5799dac2679541911eb744a86

> http://gcc.gnu.org/git/?p=gcc.git;a=commit;h=6b526a34a0bc852461cb50636c6e757bf8e27faf



I don't think that the above is the correct thing to do;

Shouldn't the post-stage1 libs be built with and linked against asan?

Like (i know that this is a generated file) below which reinstates bootstrap:



diff --git a/Makefile.in b/Makefile.in

index 08049de..52249a0 100644

--- a/Makefile.in

+++ b/Makefile.in

@@ -7786,7 +7786,7 @@ configure-fixincludes:

        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \

        test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \

        $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \

-       $(HOST_EXPORTS)  \

+       $(POSTSTAGE1_HOST_EXPORTS)  \

        echo Configuring in $(HOST_SUBDIR)/fixincludes; \

        cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \

        case $(srcdir) in \

@@ -7818,7 +7818,7 @@ all-fixincludes: configure-fixincludes

        @: $(MAKE); $(unstage)

        @r=`${PWD_COMMAND}`; export r; \

        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \

-       $(HOST_EXPORTS)  \

+       $(POSTSTAGE1_HOST_EXPORTS)  \

        (cd $(HOST_SUBDIR)/fixincludes && \

          $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)

$(STAGE1_FLAGS_TO_PASS)  \

                $(TARGET-fixincludes))

@@ -7836,7 +7836,7 @@ check-fixincludes:

        @: $(MAKE); $(unstage)

        @r=`${PWD_COMMAND}`; export r; \

        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \

-       $(HOST_EXPORTS) \

+       $(POSTSTAGE1_HOST_EXPORTS) \

        (cd $(HOST_SUBDIR)/fixincludes && \

          $(MAKE) $(FLAGS_TO_PASS)  check)



@@ -7851,7 +7851,7 @@ install-fixincludes: installdirs

        @: $(MAKE); $(unstage)

        @r=`${PWD_COMMAND}`; export r; \

        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \

-       $(HOST_EXPORTS) \

+       $(POSTSTAGE1_HOST_EXPORTS) \

        (cd $(HOST_SUBDIR)/fixincludes && \

          $(MAKE) $(FLAGS_TO_PASS)  install)



@@ -7866,7 +7866,7 @@ install-strip-fixincludes: installdirs

        @: $(MAKE); $(unstage)

        @r=`${PWD_COMMAND}`; export r; \

        s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \

-       $(HOST_EXPORTS) \

+       $(POSTSTAGE1_HOST_EXPORTS) \

        (cd $(HOST_SUBDIR)/fixincludes && \

          $(MAKE) $(FLAGS_TO_PASS)  install-strip)

Reply via email to