* libcc1 @ 2014-10-29 10:35 Jakub Jelinek 2014-10-29 10:37 ` libcc1 Paolo Bonzini ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: Jakub Jelinek @ 2014-10-29 10:35 UTC (permalink / raw) To: Phil Muldoon, Paolo Bonzini, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches It would be nice to have libcc1 built just once, not bootstrap it, but it is a build module, is that possible? In toplevel configure.ac I'm seeing: host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" shouldn't libcc1 be in build_tools instead? I mean, it is a library meant to be dlopened by gdb and gcc plugin that uses that library, so in canadian-cross should be for the build target, where the resulting compiler will be run and where gdb will be run. Could something like following work? Phil, can you try that? Perhaps some toplevel Makefile* changes would be needed too. --- configure.ac 2014-10-28 14:39:53.018852391 +0100 +++ configure.ac 2014-10-29 11:27:39.866152791 +0100 @@ -129,7 +129,7 @@ extra_host_args= build_libs="build-libiberty build-libcpp" # these tools are built for the build environment -build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes" +build_tools="build-texinfo build-flex build-bison build-m4 build-fixincludes build-libcc1" # these libraries are used by various programs built for the host environment #f @@ -141,7 +141,7 @@ host_libs="intl libiberty opcodes bfd re # binutils, gas and ld appear in that order because it makes sense to run # "make check" in that particular order. # If --enable-gold is used, "gold" may replace "ld". -host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" +host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools" # libgcj represents the runtime libraries only used by gcj. libgcj="target-libffi \ @@ -2659,11 +2659,18 @@ for module in ${build_configdirs} ; do echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure" rm -f ${build_subdir}/${module}/Makefile fi + + # Don't bootstrap libcc1 + case $module in + libcc1) build_bootstrap_suffix=no-bootstrap ;; + *) build_bootstrap_suffix=$bootstrap_suffix ;; + esac + extrasub_build="$extrasub_build /^@if build-$module\$/d /^@endif build-$module\$/d -/^@if build-$module-$bootstrap_suffix\$/d -/^@endif build-$module-$bootstrap_suffix\$/d" +/^@if build-$module-$build-bootstrap_suffix\$/d +/^@endif build-$module-$build-bootstrap_suffix\$/d" done extrasub_host= for module in ${configdirs} ; do Jakub ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:35 libcc1 Jakub Jelinek @ 2014-10-29 10:37 ` Paolo Bonzini 2014-10-29 10:48 ` libcc1 Jakub Jelinek 2014-10-29 11:01 ` libcc1 Phil Muldoon 2014-10-29 11:46 ` libcc1 Phil Muldoon 2 siblings, 1 reply; 14+ messages in thread From: Paolo Bonzini @ 2014-10-29 10:37 UTC (permalink / raw) To: Jakub Jelinek, Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches On 10/29/2014 11:31 AM, Jakub Jelinek wrote: > It would be nice to have libcc1 built just once, not bootstrap it, but > it is a build module, is that possible? > In toplevel configure.ac I'm seeing: > host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" Stuff such as texinfo and flex is in host_tools just as a relic of the old Cygnus tree. fixincludes is in there for running it after installation. The ones that matter in the common case are biuntils, gas, ld, gcc, gdb, gnattools and of course libcc1. > shouldn't libcc1 be in build_tools instead? > I mean, it is a library meant to be dlopened by gdb and gcc > plugin that uses that library, so in canadian-cross should be > for the build target, where the resulting compiler will be run > and where gdb will be run. That is host, not build. Build is the system you are on. Say you're cross-building a native mingw compiler and debugger: build = i686-pc-linux-gnu host = i686-pc-mingw (or whatever they use these days) target = i686-pc-mingw You cannot link build-libcc1 (for i686-pc-linux-gnu) into host-gcc or host-gdb. But you surely know this, so perhaps it's me who is missing something. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:37 ` libcc1 Paolo Bonzini @ 2014-10-29 10:48 ` Jakub Jelinek 2014-10-29 10:51 ` libcc1 Paolo Bonzini 2014-10-29 20:43 ` libcc1 Jakub Jelinek 0 siblings, 2 replies; 14+ messages in thread From: Jakub Jelinek @ 2014-10-29 10:48 UTC (permalink / raw) To: Paolo Bonzini Cc: Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, gcc-patches On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: > On 10/29/2014 11:31 AM, Jakub Jelinek wrote: > > shouldn't libcc1 be in build_tools instead? > > I mean, it is a library meant to be dlopened by gdb and gcc > > plugin that uses that library, so in canadian-cross should be > > for the build target, where the resulting compiler will be run > > and where gdb will be run. > > That is host, not build. Build is the system you are on. Oops, sorry, mixed that, sure, it should be host tool then. So without the first two hunks and third hunk changed so that it doesn't bootstrap it? Doesn't that mean that when bootstrapping natively it will be built by the system compiler rather than the newly built compiler? I think fixincludes is only built during stage1 normally, we don't need libcc1 during stage1/stage2 unless not bootstrapping, it is needed just for installation and testing. --- configure.ac 2014-10-28 14:39:53.018852391 +0100 +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do fi case ${module},${bootstrap_fixincludes} in fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; *) host_bootstrap_suffix=$bootstrap_suffix ;; esac extrasub_host="$extrasub_host Jakub ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:48 ` libcc1 Jakub Jelinek @ 2014-10-29 10:51 ` Paolo Bonzini 2014-10-29 20:43 ` libcc1 Jakub Jelinek 1 sibling, 0 replies; 14+ messages in thread From: Paolo Bonzini @ 2014-10-29 10:51 UTC (permalink / raw) To: Jakub Jelinek Cc: Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, gcc-patches On 10/29/2014 11:45 AM, Jakub Jelinek wrote: > On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: >> On 10/29/2014 11:31 AM, Jakub Jelinek wrote: >>> shouldn't libcc1 be in build_tools instead? >>> I mean, it is a library meant to be dlopened by gdb and gcc >>> plugin that uses that library, so in canadian-cross should be >>> for the build target, where the resulting compiler will be run >>> and where gdb will be run. >> >> That is host, not build. Build is the system you are on. > > Oops, sorry, mixed that, sure, it should be host tool then. > > So without the first two hunks and third hunk changed so that it > doesn't bootstrap it? Doesn't that mean that when bootstrapping > natively it will be built by the system compiler rather than the > newly built compiler? IIRC it will be built after stage3 completes, with the just-bootstrapped compiler. > I think fixincludes is only built during > stage1 normally, we don't need libcc1 during stage1/stage2 unless > not bootstrapping, it is needed just for installation and testing. > > --- configure.ac 2014-10-28 14:39:53.018852391 +0100 > +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 > @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do > fi > case ${module},${bootstrap_fixincludes} in > fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; > + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; > *) host_bootstrap_suffix=$bootstrap_suffix ;; > esac > extrasub_host="$extrasub_host This makes sense. Paolo ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:48 ` libcc1 Jakub Jelinek 2014-10-29 10:51 ` libcc1 Paolo Bonzini @ 2014-10-29 20:43 ` Jakub Jelinek 2014-10-30 8:51 ` libcc1 Paolo Bonzini 1 sibling, 1 reply; 14+ messages in thread From: Jakub Jelinek @ 2014-10-29 20:43 UTC (permalink / raw) To: Paolo Bonzini Cc: Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, gcc-patches On Wed, Oct 29, 2014 at 11:45:51AM +0100, Jakub Jelinek wrote: > On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: > > On 10/29/2014 11:31 AM, Jakub Jelinek wrote: > > > shouldn't libcc1 be in build_tools instead? > > > I mean, it is a library meant to be dlopened by gdb and gcc > > > plugin that uses that library, so in canadian-cross should be > > > for the build target, where the resulting compiler will be run > > > and where gdb will be run. > > > > That is host, not build. Build is the system you are on. > > Oops, sorry, mixed that, sure, it should be host tool then. > > So without the first two hunks and third hunk changed so that it > doesn't bootstrap it? Doesn't that mean that when bootstrapping > natively it will be built by the system compiler rather than the > newly built compiler? I think fixincludes is only built during > stage1 normally, we don't need libcc1 during stage1/stage2 unless > not bootstrapping, it is needed just for installation and testing. > > --- configure.ac 2014-10-28 14:39:53.018852391 +0100 > +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 > @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do > fi > case ${module},${bootstrap_fixincludes} in > fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; > + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; > *) host_bootstrap_suffix=$bootstrap_suffix ;; > esac > extrasub_host="$extrasub_host Makefile.def has: host_modules= { module= libcc1; bootstrap=true; extra_configure_flags=--enable-shared; }; wonder if that bootstrap=true; is desirable there. Jakub ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 20:43 ` libcc1 Jakub Jelinek @ 2014-10-30 8:51 ` Paolo Bonzini 2014-10-31 11:03 ` [PATCH] Don't bootstrap libcc1 Jakub Jelinek 0 siblings, 1 reply; 14+ messages in thread From: Paolo Bonzini @ 2014-10-30 8:51 UTC (permalink / raw) To: Jakub Jelinek Cc: Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, gcc-patches On 10/29/2014 09:10 PM, Jakub Jelinek wrote: > On Wed, Oct 29, 2014 at 11:45:51AM +0100, Jakub Jelinek wrote: >> On Wed, Oct 29, 2014 at 11:37:26AM +0100, Paolo Bonzini wrote: >>> On 10/29/2014 11:31 AM, Jakub Jelinek wrote: >>>> shouldn't libcc1 be in build_tools instead? >>>> I mean, it is a library meant to be dlopened by gdb and gcc >>>> plugin that uses that library, so in canadian-cross should be >>>> for the build target, where the resulting compiler will be run >>>> and where gdb will be run. >>> >>> That is host, not build. Build is the system you are on. >> >> Oops, sorry, mixed that, sure, it should be host tool then. >> >> So without the first two hunks and third hunk changed so that it >> doesn't bootstrap it? Doesn't that mean that when bootstrapping >> natively it will be built by the system compiler rather than the >> newly built compiler? I think fixincludes is only built during >> stage1 normally, we don't need libcc1 during stage1/stage2 unless >> not bootstrapping, it is needed just for installation and testing. >> >> --- configure.ac 2014-10-28 14:39:53.018852391 +0100 >> +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 >> @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do >> fi >> case ${module},${bootstrap_fixincludes} in >> fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; >> + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; >> *) host_bootstrap_suffix=$bootstrap_suffix ;; >> esac >> extrasub_host="$extrasub_host > > Makefile.def has: > host_modules= { module= libcc1; bootstrap=true; > extra_configure_flags=--enable-shared; }; > wonder if that bootstrap=true; is desirable there. No, it shouldn't be there Paolo ^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH] Don't bootstrap libcc1 2014-10-30 8:51 ` libcc1 Paolo Bonzini @ 2014-10-31 11:03 ` Jakub Jelinek 2014-10-31 11:16 ` Richard Biener 0 siblings, 1 reply; 14+ messages in thread From: Jakub Jelinek @ 2014-10-31 11:03 UTC (permalink / raw) To: Paolo Bonzini Cc: Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, gcc-patches On Thu, Oct 30, 2014 at 09:39:06AM +0100, Paolo Bonzini wrote: > >> --- configure.ac 2014-10-28 14:39:53.018852391 +0100 > >> +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 > >> @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do > >> fi > >> case ${module},${bootstrap_fixincludes} in > >> fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; > >> + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; > >> *) host_bootstrap_suffix=$bootstrap_suffix ;; > >> esac > >> extrasub_host="$extrasub_host > > > > Makefile.def has: > > host_modules= { module= libcc1; bootstrap=true; > > extra_configure_flags=--enable-shared; }; > > wonder if that bootstrap=true; is desirable there. > > No, it shouldn't be there Seems removing that makes the configure.ac change unneeded. Bootstrapped/regtested on x86_64-linux and i686-linux (libcc1 is built after compare, by stage3 compiler), and built with --disable-bootstrap on i686-linux (libcc1 is built by the system compiler in that case). Ok for trunk? 2014-10-31 Jakub Jelinek <jakub@redhat.com> * Makefile.def (libcc1): Remove bootstrap=true;. * Makefile.in: Regenerated. --- Makefile.def.jj 2014-10-28 14:40:30.000000000 +0100 +++ Makefile.def 2014-10-31 10:10:22.723173845 +0100 @@ -123,8 +123,7 @@ host_modules= { module= gnattools; }; host_modules= { module= lto-plugin; bootstrap=true; extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; extra_make_flags='@extra_linker_plugin_flags@'; }; -host_modules= { module= libcc1; bootstrap=true; - extra_configure_flags=--enable-shared; }; +host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; target_modules = { module= libstdc++-v3; bootstrap=true; --- Makefile.in.jj 2014-10-28 14:39:52.000000000 +0100 +++ Makefile.in 2014-10-31 10:10:51.000000000 +0100 @@ -1085,9 +1085,7 @@ all-host: maybe-all-gnattools @if lto-plugin-no-bootstrap all-host: maybe-all-lto-plugin @endif lto-plugin-no-bootstrap -@if libcc1-no-bootstrap all-host: maybe-all-libcc1 -@endif libcc1-no-bootstrap .PHONY: all-target @@ -32264,6 +32262,7 @@ configure-libcc1: stage_current @if libcc1 maybe-configure-libcc1: configure-libcc1 configure-libcc1: + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ @@ -32287,211 +32286,6 @@ configure-libcc1: -.PHONY: configure-stage1-libcc1 maybe-configure-stage1-libcc1 -maybe-configure-stage1-libcc1: -@if libcc1-bootstrap -maybe-configure-stage1-libcc1: configure-stage1-libcc1 -configure-stage1-libcc1: - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 1 in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - \ - $(STAGE1_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - -.PHONY: configure-stage2-libcc1 maybe-configure-stage2-libcc1 -maybe-configure-stage2-libcc1: -@if libcc1-bootstrap -maybe-configure-stage2-libcc1: configure-stage2-libcc1 -configure-stage2-libcc1: - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 2 in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE2_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - -.PHONY: configure-stage3-libcc1 maybe-configure-stage3-libcc1 -maybe-configure-stage3-libcc1: -@if libcc1-bootstrap -maybe-configure-stage3-libcc1: configure-stage3-libcc1 -configure-stage3-libcc1: - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 3 in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE3_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - -.PHONY: configure-stage4-libcc1 maybe-configure-stage4-libcc1 -maybe-configure-stage4-libcc1: -@if libcc1-bootstrap -maybe-configure-stage4-libcc1: configure-stage4-libcc1 -configure-stage4-libcc1: - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage 4 in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGE4_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - -.PHONY: configure-stageprofile-libcc1 maybe-configure-stageprofile-libcc1 -maybe-configure-stageprofile-libcc1: -@if libcc1-bootstrap -maybe-configure-stageprofile-libcc1: configure-stageprofile-libcc1 -configure-stageprofile-libcc1: - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage profile in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEprofile_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - -.PHONY: configure-stagefeedback-libcc1 maybe-configure-stagefeedback-libcc1 -maybe-configure-stagefeedback-libcc1: -@if libcc1-bootstrap -maybe-configure-stagefeedback-libcc1: configure-stagefeedback-libcc1 -configure-stagefeedback-libcc1: - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ - echo Configuring stage feedback in $(HOST_SUBDIR)/libcc1 ; \ - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ - case $(srcdir) in \ - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ - esac; \ - module_srcdir=libcc1; \ - $(SHELL) $$s/$$module_srcdir/configure \ - --srcdir=$${topdir}/$$module_srcdir \ - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ - --target=${target_alias} \ - --with-build-libsubdir=$(HOST_SUBDIR) \ - $(STAGEfeedback_CONFIGURE_FLAGS) \ - --enable-shared -@endif libcc1-bootstrap - - - .PHONY: all-libcc1 maybe-all-libcc1 @@ -32503,6 +32297,7 @@ all-libcc1: stage_current TARGET-libcc1=all maybe-all-libcc1: all-libcc1 all-libcc1: configure-libcc1 + @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ $(HOST_EXPORTS) \ @@ -32513,255 +32308,6 @@ all-libcc1: configure-libcc1 -.PHONY: all-stage1-libcc1 maybe-all-stage1-libcc1 -.PHONY: clean-stage1-libcc1 maybe-clean-stage1-libcc1 -maybe-all-stage1-libcc1: -maybe-clean-stage1-libcc1: -@if libcc1-bootstrap -maybe-all-stage1-libcc1: all-stage1-libcc1 -all-stage1: all-stage1-libcc1 -TARGET-stage1-libcc1 = $(TARGET-libcc1) -all-stage1-libcc1: configure-stage1-libcc1 - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE1_TFLAGS)"; \ - $(HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE1_CFLAGS)" \ - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ - LIBCFLAGS="$(LIBCFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) \ - $(STAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE1_TFLAGS)" \ - $(TARGET-stage1-libcc1) - -maybe-clean-stage1-libcc1: clean-stage1-libcc1 -clean-stage1: clean-stage1-libcc1 -clean-stage1-libcc1: - @if [ $(current_stage) = stage1 ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage1-libcc1/Makefile ] || exit 0; \ - $(MAKE) stage1-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) \ - $(STAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - -.PHONY: all-stage2-libcc1 maybe-all-stage2-libcc1 -.PHONY: clean-stage2-libcc1 maybe-clean-stage2-libcc1 -maybe-all-stage2-libcc1: -maybe-clean-stage2-libcc1: -@if libcc1-bootstrap -maybe-all-stage2-libcc1: all-stage2-libcc1 -all-stage2: all-stage2-libcc1 -TARGET-stage2-libcc1 = $(TARGET-libcc1) -all-stage2-libcc1: configure-stage2-libcc1 - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE2_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE2_CFLAGS)" \ - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE2_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE2_TFLAGS)" \ - $(TARGET-stage2-libcc1) - -maybe-clean-stage2-libcc1: clean-stage2-libcc1 -clean-stage2: clean-stage2-libcc1 -clean-stage2-libcc1: - @if [ $(current_stage) = stage2 ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage2-libcc1/Makefile ] || exit 0; \ - $(MAKE) stage2-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - -.PHONY: all-stage3-libcc1 maybe-all-stage3-libcc1 -.PHONY: clean-stage3-libcc1 maybe-clean-stage3-libcc1 -maybe-all-stage3-libcc1: -maybe-clean-stage3-libcc1: -@if libcc1-bootstrap -maybe-all-stage3-libcc1: all-stage3-libcc1 -all-stage3: all-stage3-libcc1 -TARGET-stage3-libcc1 = $(TARGET-libcc1) -all-stage3-libcc1: configure-stage3-libcc1 - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE3_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE3_CFLAGS)" \ - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE3_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE3_TFLAGS)" \ - $(TARGET-stage3-libcc1) - -maybe-clean-stage3-libcc1: clean-stage3-libcc1 -clean-stage3: clean-stage3-libcc1 -clean-stage3-libcc1: - @if [ $(current_stage) = stage3 ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage3-libcc1/Makefile ] || exit 0; \ - $(MAKE) stage3-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - -.PHONY: all-stage4-libcc1 maybe-all-stage4-libcc1 -.PHONY: clean-stage4-libcc1 maybe-clean-stage4-libcc1 -maybe-all-stage4-libcc1: -maybe-clean-stage4-libcc1: -@if libcc1-bootstrap -maybe-all-stage4-libcc1: all-stage4-libcc1 -all-stage4: all-stage4-libcc1 -TARGET-stage4-libcc1 = $(TARGET-libcc1) -all-stage4-libcc1: configure-stage4-libcc1 - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGE4_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGE4_CFLAGS)" \ - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ - LIBCFLAGS="$(STAGE4_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGE4_TFLAGS)" \ - $(TARGET-stage4-libcc1) - -maybe-clean-stage4-libcc1: clean-stage4-libcc1 -clean-stage4: clean-stage4-libcc1 -clean-stage4-libcc1: - @if [ $(current_stage) = stage4 ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stage4-libcc1/Makefile ] || exit 0; \ - $(MAKE) stage4-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - -.PHONY: all-stageprofile-libcc1 maybe-all-stageprofile-libcc1 -.PHONY: clean-stageprofile-libcc1 maybe-clean-stageprofile-libcc1 -maybe-all-stageprofile-libcc1: -maybe-clean-stageprofile-libcc1: -@if libcc1-bootstrap -maybe-all-stageprofile-libcc1: all-stageprofile-libcc1 -all-stageprofile: all-stageprofile-libcc1 -TARGET-stageprofile-libcc1 = $(TARGET-libcc1) -all-stageprofile-libcc1: configure-stageprofile-libcc1 - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEprofile_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEprofile_CFLAGS)" \ - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEprofile_TFLAGS)" \ - $(TARGET-stageprofile-libcc1) - -maybe-clean-stageprofile-libcc1: clean-stageprofile-libcc1 -clean-stageprofile: clean-stageprofile-libcc1 -clean-stageprofile-libcc1: - @if [ $(current_stage) = stageprofile ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stageprofile-libcc1/Makefile ] || exit 0; \ - $(MAKE) stageprofile-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - -.PHONY: all-stagefeedback-libcc1 maybe-all-stagefeedback-libcc1 -.PHONY: clean-stagefeedback-libcc1 maybe-clean-stagefeedback-libcc1 -maybe-all-stagefeedback-libcc1: -maybe-clean-stagefeedback-libcc1: -@if libcc1-bootstrap -maybe-all-stagefeedback-libcc1: all-stagefeedback-libcc1 -all-stagefeedback: all-stagefeedback-libcc1 -TARGET-stagefeedback-libcc1 = $(TARGET-libcc1) -all-stagefeedback-libcc1: configure-stagefeedback-libcc1 - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start - @r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ - $(HOST_EXPORTS) \ - $(POSTSTAGE1_HOST_EXPORTS) \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(BASE_FLAGS_TO_PASS) \ - CFLAGS="$(STAGEfeedback_CFLAGS)" \ - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ - TFLAGS="$(STAGEfeedback_TFLAGS)" \ - $(TARGET-stagefeedback-libcc1) - -maybe-clean-stagefeedback-libcc1: clean-stagefeedback-libcc1 -clean-stagefeedback: clean-stagefeedback-libcc1 -clean-stagefeedback-libcc1: - @if [ $(current_stage) = stagefeedback ]; then \ - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ - else \ - [ -f $(HOST_SUBDIR)/stagefeedback-libcc1/Makefile ] || exit 0; \ - $(MAKE) stagefeedback-start; \ - fi; \ - cd $(HOST_SUBDIR)/libcc1 && \ - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean -@endif libcc1-bootstrap - - - - .PHONY: check-libcc1 maybe-check-libcc1 maybe-check-libcc1: @@ -32817,6 +32363,7 @@ maybe-info-libcc1: info-libcc1 info-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32842,6 +32389,7 @@ maybe-dvi-libcc1: dvi-libcc1 dvi-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32867,6 +32415,7 @@ maybe-pdf-libcc1: pdf-libcc1 pdf-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32892,6 +32441,7 @@ maybe-html-libcc1: html-libcc1 html-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32917,6 +32467,7 @@ maybe-TAGS-libcc1: TAGS-libcc1 TAGS-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32943,6 +32494,7 @@ maybe-install-info-libcc1: install-info- install-info-libcc1: \ configure-libcc1 \ info-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32969,6 +32521,7 @@ maybe-install-pdf-libcc1: install-pdf-li install-pdf-libcc1: \ configure-libcc1 \ pdf-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -32995,6 +32548,7 @@ maybe-install-html-libcc1: install-html- install-html-libcc1: \ configure-libcc1 \ html-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33020,6 +32574,7 @@ maybe-installcheck-libcc1: installcheck- installcheck-libcc1: \ configure-libcc1 + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33044,6 +32599,7 @@ maybe-mostlyclean-libcc1: maybe-mostlyclean-libcc1: mostlyclean-libcc1 mostlyclean-libcc1: + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33068,6 +32624,7 @@ maybe-clean-libcc1: maybe-clean-libcc1: clean-libcc1 clean-libcc1: + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33092,6 +32649,7 @@ maybe-distclean-libcc1: maybe-distclean-libcc1: distclean-libcc1 distclean-libcc1: + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -33116,6 +32674,7 @@ maybe-maintainer-clean-libcc1: maybe-maintainer-clean-libcc1: maintainer-clean-libcc1 maintainer-clean-libcc1: + @: $(MAKE); $(unstage) @[ -f ./libcc1/Makefile ] || exit 0; \ r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ @@ -46918,11 +46477,6 @@ stage1-start:: mkdir stage1-lto-plugin; \ mv stage1-lto-plugin lto-plugin @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stage1-libcc1 ] || \ - mkdir stage1-libcc1; \ - mv stage1-libcc1 libcc1 -@endif libcc1 @[ -d stage1-$(TARGET_SUBDIR) ] || \ mkdir stage1-$(TARGET_SUBDIR); \ mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) @@ -47038,11 +46592,6 @@ stage1-end:: cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stage1-libcc1 ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \ fi @@ -47223,12 +46772,6 @@ stage2-start:: mv stage2-lto-plugin lto-plugin ; \ mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stage2-libcc1 ] || \ - mkdir stage2-libcc1; \ - mv stage2-libcc1 libcc1 ; \ - mv stage1-libcc1 prev-libcc1 || test -f stage1-lean -@endif libcc1 @[ -d stage2-$(TARGET_SUBDIR) ] || \ mkdir stage2-$(TARGET_SUBDIR); \ mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ @@ -47367,12 +46910,6 @@ stage2-end:: mv prev-lto-plugin stage1-lto-plugin ; : ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stage2-libcc1 ; \ - mv prev-libcc1 stage1-libcc1 ; : ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ @@ -47577,12 +47114,6 @@ stage3-start:: mv stage3-lto-plugin lto-plugin ; \ mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stage3-libcc1 ] || \ - mkdir stage3-libcc1; \ - mv stage3-libcc1 libcc1 ; \ - mv stage2-libcc1 prev-libcc1 || test -f stage2-lean -@endif libcc1 @[ -d stage3-$(TARGET_SUBDIR) ] || \ mkdir stage3-$(TARGET_SUBDIR); \ mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ @@ -47721,12 +47252,6 @@ stage3-end:: mv prev-lto-plugin stage2-lto-plugin ; : ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stage3-libcc1 ; \ - mv prev-libcc1 stage2-libcc1 ; : ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \ mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \ @@ -47987,12 +47512,6 @@ stage4-start:: mv stage4-lto-plugin lto-plugin ; \ mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stage4-libcc1 ] || \ - mkdir stage4-libcc1; \ - mv stage4-libcc1 libcc1 ; \ - mv stage3-libcc1 prev-libcc1 || test -f stage3-lean -@endif libcc1 @[ -d stage4-$(TARGET_SUBDIR) ] || \ mkdir stage4-$(TARGET_SUBDIR); \ mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ @@ -48131,12 +47650,6 @@ stage4-end:: mv prev-lto-plugin stage3-lto-plugin ; : ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stage4-libcc1 ; \ - mv prev-libcc1 stage3-libcc1 ; : ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \ mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \ @@ -48385,12 +47898,6 @@ stageprofile-start:: mv stageprofile-lto-plugin lto-plugin ; \ mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stageprofile-libcc1 ] || \ - mkdir stageprofile-libcc1; \ - mv stageprofile-libcc1 libcc1 ; \ - mv stage1-libcc1 prev-libcc1 || test -f stage1-lean -@endif libcc1 @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ mkdir stageprofile-$(TARGET_SUBDIR); \ mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ @@ -48529,12 +48036,6 @@ stageprofile-end:: mv prev-lto-plugin stage1-lto-plugin ; : ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stageprofile-libcc1 ; \ - mv prev-libcc1 stage1-libcc1 ; : ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \ mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ @@ -48716,12 +48217,6 @@ stagefeedback-start:: mv stagefeedback-lto-plugin lto-plugin ; \ mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean @endif lto-plugin -@if libcc1 - @cd $(HOST_SUBDIR); [ -d stagefeedback-libcc1 ] || \ - mkdir stagefeedback-libcc1; \ - mv stagefeedback-libcc1 libcc1 ; \ - mv stageprofile-libcc1 prev-libcc1 || test -f stageprofile-lean -@endif libcc1 @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ mkdir stagefeedback-$(TARGET_SUBDIR); \ mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ @@ -48860,12 +48355,6 @@ stagefeedback-end:: mv prev-lto-plugin stageprofile-lto-plugin ; : ; \ fi @endif lto-plugin -@if libcc1 - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ - cd $(HOST_SUBDIR); mv libcc1 stagefeedback-libcc1 ; \ - mv prev-libcc1 stageprofile-libcc1 ; : ; \ - fi -@endif libcc1 @if test -d $(TARGET_SUBDIR) ; then \ mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \ mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \ @@ -49380,21 +48869,7 @@ all-stage4-lto-plugin: maybe-all-stage4- all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin configure-libcc1: maybe-configure-gcc - -configure-stage1-libcc1: maybe-configure-stage1-gcc -configure-stage2-libcc1: maybe-configure-stage2-gcc -configure-stage3-libcc1: maybe-configure-stage3-gcc -configure-stage4-libcc1: maybe-configure-stage4-gcc -configure-stageprofile-libcc1: maybe-configure-stageprofile-gcc -configure-stagefeedback-libcc1: maybe-configure-stagefeedback-gcc all-libcc1: maybe-all-gcc - -all-stage1-libcc1: maybe-all-stage1-gcc -all-stage2-libcc1: maybe-all-stage2-gcc -all-stage3-libcc1: maybe-all-stage3-gcc -all-stage4-libcc1: maybe-all-stage4-gcc -all-stageprofile-libcc1: maybe-all-stageprofile-gcc -all-stagefeedback-libcc1: maybe-all-stagefeedback-gcc all-utils: maybe-all-libiberty configure-mpfr: maybe-all-gmp Jakub ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PATCH] Don't bootstrap libcc1 2014-10-31 11:03 ` [PATCH] Don't bootstrap libcc1 Jakub Jelinek @ 2014-10-31 11:16 ` Richard Biener 0 siblings, 0 replies; 14+ messages in thread From: Richard Biener @ 2014-10-31 11:16 UTC (permalink / raw) To: Jakub Jelinek Cc: Paolo Bonzini, Phil Muldoon, DJ Delorie, Alexandre Oliva, Ralf Wildenhues, GCC Patches On Fri, Oct 31, 2014 at 12:01 PM, Jakub Jelinek <jakub@redhat.com> wrote: > On Thu, Oct 30, 2014 at 09:39:06AM +0100, Paolo Bonzini wrote: >> >> --- configure.ac 2014-10-28 14:39:53.018852391 +0100 >> >> +++ configure.ac 2014-10-29 11:43:19.873216226 +0100 >> >> @@ -2677,6 +2677,7 @@ for module in ${configdirs} ; do >> >> fi >> >> case ${module},${bootstrap_fixincludes} in >> >> fixincludes,no) host_bootstrap_suffix=no-bootstrap ;; >> >> + libcc1,*) host_bootstrap_suffix=no-bootstrap ;; >> >> *) host_bootstrap_suffix=$bootstrap_suffix ;; >> >> esac >> >> extrasub_host="$extrasub_host >> > >> > Makefile.def has: >> > host_modules= { module= libcc1; bootstrap=true; >> > extra_configure_flags=--enable-shared; }; >> > wonder if that bootstrap=true; is desirable there. >> >> No, it shouldn't be there > > Seems removing that makes the configure.ac change unneeded. > Bootstrapped/regtested on x86_64-linux and i686-linux (libcc1 > is built after compare, by stage3 compiler), and built > with --disable-bootstrap on i686-linux (libcc1 is built by > the system compiler in that case). Ok for trunk? Ok. Thanks, Richard. > 2014-10-31 Jakub Jelinek <jakub@redhat.com> > > * Makefile.def (libcc1): Remove bootstrap=true;. > * Makefile.in: Regenerated. > > --- Makefile.def.jj 2014-10-28 14:40:30.000000000 +0100 > +++ Makefile.def 2014-10-31 10:10:22.723173845 +0100 > @@ -123,8 +123,7 @@ host_modules= { module= gnattools; }; > host_modules= { module= lto-plugin; bootstrap=true; > extra_configure_flags='--enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@'; > extra_make_flags='@extra_linker_plugin_flags@'; }; > -host_modules= { module= libcc1; bootstrap=true; > - extra_configure_flags=--enable-shared; }; > +host_modules= { module= libcc1; extra_configure_flags=--enable-shared; }; > > target_modules = { module= libstdc++-v3; > bootstrap=true; > --- Makefile.in.jj 2014-10-28 14:39:52.000000000 +0100 > +++ Makefile.in 2014-10-31 10:10:51.000000000 +0100 > @@ -1085,9 +1085,7 @@ all-host: maybe-all-gnattools > @if lto-plugin-no-bootstrap > all-host: maybe-all-lto-plugin > @endif lto-plugin-no-bootstrap > -@if libcc1-no-bootstrap > all-host: maybe-all-libcc1 > -@endif libcc1-no-bootstrap > > .PHONY: all-target > > @@ -32264,6 +32262,7 @@ configure-libcc1: stage_current > @if libcc1 > maybe-configure-libcc1: configure-libcc1 > configure-libcc1: > + @: $(MAKE); $(unstage) > @r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > @@ -32287,211 +32286,6 @@ configure-libcc1: > > > > -.PHONY: configure-stage1-libcc1 maybe-configure-stage1-libcc1 > -maybe-configure-stage1-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stage1-libcc1: configure-stage1-libcc1 > -configure-stage1-libcc1: > - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE1_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage 1 in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - \ > - $(STAGE1_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > -.PHONY: configure-stage2-libcc1 maybe-configure-stage2-libcc1 > -maybe-configure-stage2-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stage2-libcc1: configure-stage2-libcc1 > -configure-stage2-libcc1: > - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE2_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage 2 in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - --with-build-libsubdir=$(HOST_SUBDIR) \ > - $(STAGE2_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > -.PHONY: configure-stage3-libcc1 maybe-configure-stage3-libcc1 > -maybe-configure-stage3-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stage3-libcc1: configure-stage3-libcc1 > -configure-stage3-libcc1: > - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE3_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage 3 in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - --with-build-libsubdir=$(HOST_SUBDIR) \ > - $(STAGE3_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > -.PHONY: configure-stage4-libcc1 maybe-configure-stage4-libcc1 > -maybe-configure-stage4-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stage4-libcc1: configure-stage4-libcc1 > -configure-stage4-libcc1: > - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE4_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage 4 in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - --with-build-libsubdir=$(HOST_SUBDIR) \ > - $(STAGE4_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > -.PHONY: configure-stageprofile-libcc1 maybe-configure-stageprofile-libcc1 > -maybe-configure-stageprofile-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stageprofile-libcc1: configure-stageprofile-libcc1 > -configure-stageprofile-libcc1: > - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGEprofile_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage profile in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - --with-build-libsubdir=$(HOST_SUBDIR) \ > - $(STAGEprofile_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > -.PHONY: configure-stagefeedback-libcc1 maybe-configure-stagefeedback-libcc1 > -maybe-configure-stagefeedback-libcc1: > -@if libcc1-bootstrap > -maybe-configure-stagefeedback-libcc1: configure-stagefeedback-libcc1 > -configure-stagefeedback-libcc1: > - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start > - @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ > - test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \ > - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \ > - LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \ > - echo Configuring stage feedback in $(HOST_SUBDIR)/libcc1 ; \ > - $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \ > - cd $(HOST_SUBDIR)/libcc1 || exit 1; \ > - case $(srcdir) in \ > - /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \ > - *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \ > - sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \ > - esac; \ > - module_srcdir=libcc1; \ > - $(SHELL) $$s/$$module_srcdir/configure \ > - --srcdir=$${topdir}/$$module_srcdir \ > - $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \ > - --target=${target_alias} \ > - --with-build-libsubdir=$(HOST_SUBDIR) \ > - $(STAGEfeedback_CONFIGURE_FLAGS) \ > - --enable-shared > -@endif libcc1-bootstrap > - > - > - > > > .PHONY: all-libcc1 maybe-all-libcc1 > @@ -32503,6 +32297,7 @@ all-libcc1: stage_current > TARGET-libcc1=all > maybe-all-libcc1: all-libcc1 > all-libcc1: configure-libcc1 > + @: $(MAKE); $(unstage) > @r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > $(HOST_EXPORTS) \ > @@ -32513,255 +32308,6 @@ all-libcc1: configure-libcc1 > > > > -.PHONY: all-stage1-libcc1 maybe-all-stage1-libcc1 > -.PHONY: clean-stage1-libcc1 maybe-clean-stage1-libcc1 > -maybe-all-stage1-libcc1: > -maybe-clean-stage1-libcc1: > -@if libcc1-bootstrap > -maybe-all-stage1-libcc1: all-stage1-libcc1 > -all-stage1: all-stage1-libcc1 > -TARGET-stage1-libcc1 = $(TARGET-libcc1) > -all-stage1-libcc1: configure-stage1-libcc1 > - @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE1_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGE1_CFLAGS)" \ > - CXXFLAGS="$(STAGE1_CXXFLAGS)" \ > - LIBCFLAGS="$(LIBCFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) \ > - $(STAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGE1_TFLAGS)" \ > - $(TARGET-stage1-libcc1) > - > -maybe-clean-stage1-libcc1: clean-stage1-libcc1 > -clean-stage1: clean-stage1-libcc1 > -clean-stage1-libcc1: > - @if [ $(current_stage) = stage1 ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stage1-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stage1-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) \ > - $(STAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > -.PHONY: all-stage2-libcc1 maybe-all-stage2-libcc1 > -.PHONY: clean-stage2-libcc1 maybe-clean-stage2-libcc1 > -maybe-all-stage2-libcc1: > -maybe-clean-stage2-libcc1: > -@if libcc1-bootstrap > -maybe-all-stage2-libcc1: all-stage2-libcc1 > -all-stage2: all-stage2-libcc1 > -TARGET-stage2-libcc1 = $(TARGET-libcc1) > -all-stage2-libcc1: configure-stage2-libcc1 > - @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE2_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGE2_CFLAGS)" \ > - CXXFLAGS="$(STAGE2_CXXFLAGS)" \ > - LIBCFLAGS="$(STAGE2_CFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGE2_TFLAGS)" \ > - $(TARGET-stage2-libcc1) > - > -maybe-clean-stage2-libcc1: clean-stage2-libcc1 > -clean-stage2: clean-stage2-libcc1 > -clean-stage2-libcc1: > - @if [ $(current_stage) = stage2 ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stage2-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stage2-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > -.PHONY: all-stage3-libcc1 maybe-all-stage3-libcc1 > -.PHONY: clean-stage3-libcc1 maybe-clean-stage3-libcc1 > -maybe-all-stage3-libcc1: > -maybe-clean-stage3-libcc1: > -@if libcc1-bootstrap > -maybe-all-stage3-libcc1: all-stage3-libcc1 > -all-stage3: all-stage3-libcc1 > -TARGET-stage3-libcc1 = $(TARGET-libcc1) > -all-stage3-libcc1: configure-stage3-libcc1 > - @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE3_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGE3_CFLAGS)" \ > - CXXFLAGS="$(STAGE3_CXXFLAGS)" \ > - LIBCFLAGS="$(STAGE3_CFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGE3_TFLAGS)" \ > - $(TARGET-stage3-libcc1) > - > -maybe-clean-stage3-libcc1: clean-stage3-libcc1 > -clean-stage3: clean-stage3-libcc1 > -clean-stage3-libcc1: > - @if [ $(current_stage) = stage3 ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stage3-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stage3-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > -.PHONY: all-stage4-libcc1 maybe-all-stage4-libcc1 > -.PHONY: clean-stage4-libcc1 maybe-clean-stage4-libcc1 > -maybe-all-stage4-libcc1: > -maybe-clean-stage4-libcc1: > -@if libcc1-bootstrap > -maybe-all-stage4-libcc1: all-stage4-libcc1 > -all-stage4: all-stage4-libcc1 > -TARGET-stage4-libcc1 = $(TARGET-libcc1) > -all-stage4-libcc1: configure-stage4-libcc1 > - @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGE4_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGE4_CFLAGS)" \ > - CXXFLAGS="$(STAGE4_CXXFLAGS)" \ > - LIBCFLAGS="$(STAGE4_CFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGE4_TFLAGS)" \ > - $(TARGET-stage4-libcc1) > - > -maybe-clean-stage4-libcc1: clean-stage4-libcc1 > -clean-stage4: clean-stage4-libcc1 > -clean-stage4-libcc1: > - @if [ $(current_stage) = stage4 ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stage4-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stage4-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > -.PHONY: all-stageprofile-libcc1 maybe-all-stageprofile-libcc1 > -.PHONY: clean-stageprofile-libcc1 maybe-clean-stageprofile-libcc1 > -maybe-all-stageprofile-libcc1: > -maybe-clean-stageprofile-libcc1: > -@if libcc1-bootstrap > -maybe-all-stageprofile-libcc1: all-stageprofile-libcc1 > -all-stageprofile: all-stageprofile-libcc1 > -TARGET-stageprofile-libcc1 = $(TARGET-libcc1) > -all-stageprofile-libcc1: configure-stageprofile-libcc1 > - @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGEprofile_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGEprofile_CFLAGS)" \ > - CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \ > - LIBCFLAGS="$(STAGEprofile_CFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGEprofile_TFLAGS)" \ > - $(TARGET-stageprofile-libcc1) > - > -maybe-clean-stageprofile-libcc1: clean-stageprofile-libcc1 > -clean-stageprofile: clean-stageprofile-libcc1 > -clean-stageprofile-libcc1: > - @if [ $(current_stage) = stageprofile ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stageprofile-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stageprofile-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > -.PHONY: all-stagefeedback-libcc1 maybe-all-stagefeedback-libcc1 > -.PHONY: clean-stagefeedback-libcc1 maybe-clean-stagefeedback-libcc1 > -maybe-all-stagefeedback-libcc1: > -maybe-clean-stagefeedback-libcc1: > -@if libcc1-bootstrap > -maybe-all-stagefeedback-libcc1: all-stagefeedback-libcc1 > -all-stagefeedback: all-stagefeedback-libcc1 > -TARGET-stagefeedback-libcc1 = $(TARGET-libcc1) > -all-stagefeedback-libcc1: configure-stagefeedback-libcc1 > - @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start > - @r=`${PWD_COMMAND}`; export r; \ > - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > - TFLAGS="$(STAGEfeedback_TFLAGS)"; \ > - $(HOST_EXPORTS) \ > - $(POSTSTAGE1_HOST_EXPORTS) \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(BASE_FLAGS_TO_PASS) \ > - CFLAGS="$(STAGEfeedback_CFLAGS)" \ > - CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \ > - LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \ > - CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \ > - CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \ > - LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \ > - $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \ > - TFLAGS="$(STAGEfeedback_TFLAGS)" \ > - $(TARGET-stagefeedback-libcc1) > - > -maybe-clean-stagefeedback-libcc1: clean-stagefeedback-libcc1 > -clean-stagefeedback: clean-stagefeedback-libcc1 > -clean-stagefeedback-libcc1: > - @if [ $(current_stage) = stagefeedback ]; then \ > - [ -f $(HOST_SUBDIR)/libcc1/Makefile ] || exit 0; \ > - else \ > - [ -f $(HOST_SUBDIR)/stagefeedback-libcc1/Makefile ] || exit 0; \ > - $(MAKE) stagefeedback-start; \ > - fi; \ > - cd $(HOST_SUBDIR)/libcc1 && \ > - $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean > -@endif libcc1-bootstrap > - > - > - > - > > .PHONY: check-libcc1 maybe-check-libcc1 > maybe-check-libcc1: > @@ -32817,6 +32363,7 @@ maybe-info-libcc1: info-libcc1 > > info-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32842,6 +32389,7 @@ maybe-dvi-libcc1: dvi-libcc1 > > dvi-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32867,6 +32415,7 @@ maybe-pdf-libcc1: pdf-libcc1 > > pdf-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32892,6 +32441,7 @@ maybe-html-libcc1: html-libcc1 > > html-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32917,6 +32467,7 @@ maybe-TAGS-libcc1: TAGS-libcc1 > > TAGS-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32943,6 +32494,7 @@ maybe-install-info-libcc1: install-info- > install-info-libcc1: \ > configure-libcc1 \ > info-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32969,6 +32521,7 @@ maybe-install-pdf-libcc1: install-pdf-li > install-pdf-libcc1: \ > configure-libcc1 \ > pdf-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -32995,6 +32548,7 @@ maybe-install-html-libcc1: install-html- > install-html-libcc1: \ > configure-libcc1 \ > html-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -33020,6 +32574,7 @@ maybe-installcheck-libcc1: installcheck- > > installcheck-libcc1: \ > configure-libcc1 > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -33044,6 +32599,7 @@ maybe-mostlyclean-libcc1: > maybe-mostlyclean-libcc1: mostlyclean-libcc1 > > mostlyclean-libcc1: > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -33068,6 +32624,7 @@ maybe-clean-libcc1: > maybe-clean-libcc1: clean-libcc1 > > clean-libcc1: > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -33092,6 +32649,7 @@ maybe-distclean-libcc1: > maybe-distclean-libcc1: distclean-libcc1 > > distclean-libcc1: > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -33116,6 +32674,7 @@ maybe-maintainer-clean-libcc1: > maybe-maintainer-clean-libcc1: maintainer-clean-libcc1 > > maintainer-clean-libcc1: > + @: $(MAKE); $(unstage) > @[ -f ./libcc1/Makefile ] || exit 0; \ > r=`${PWD_COMMAND}`; export r; \ > s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ > @@ -46918,11 +46477,6 @@ stage1-start:: > mkdir stage1-lto-plugin; \ > mv stage1-lto-plugin lto-plugin > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stage1-libcc1 ] || \ > - mkdir stage1-libcc1; \ > - mv stage1-libcc1 libcc1 > -@endif libcc1 > @[ -d stage1-$(TARGET_SUBDIR) ] || \ > mkdir stage1-$(TARGET_SUBDIR); \ > mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR) > @@ -47038,11 +46592,6 @@ stage1-end:: > cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stage1-libcc1 ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \ > fi > @@ -47223,12 +46772,6 @@ stage2-start:: > mv stage2-lto-plugin lto-plugin ; \ > mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stage2-libcc1 ] || \ > - mkdir stage2-libcc1; \ > - mv stage2-libcc1 libcc1 ; \ > - mv stage1-libcc1 prev-libcc1 || test -f stage1-lean > -@endif libcc1 > @[ -d stage2-$(TARGET_SUBDIR) ] || \ > mkdir stage2-$(TARGET_SUBDIR); \ > mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ > @@ -47367,12 +46910,6 @@ stage2-end:: > mv prev-lto-plugin stage1-lto-plugin ; : ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stage2-libcc1 ; \ > - mv prev-libcc1 stage1-libcc1 ; : ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \ > mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ > @@ -47577,12 +47114,6 @@ stage3-start:: > mv stage3-lto-plugin lto-plugin ; \ > mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stage3-libcc1 ] || \ > - mkdir stage3-libcc1; \ > - mv stage3-libcc1 libcc1 ; \ > - mv stage2-libcc1 prev-libcc1 || test -f stage2-lean > -@endif libcc1 > @[ -d stage3-$(TARGET_SUBDIR) ] || \ > mkdir stage3-$(TARGET_SUBDIR); \ > mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ > @@ -47721,12 +47252,6 @@ stage3-end:: > mv prev-lto-plugin stage2-lto-plugin ; : ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stage3-libcc1 ; \ > - mv prev-libcc1 stage2-libcc1 ; : ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \ > mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \ > @@ -47987,12 +47512,6 @@ stage4-start:: > mv stage4-lto-plugin lto-plugin ; \ > mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stage4-libcc1 ] || \ > - mkdir stage4-libcc1; \ > - mv stage4-libcc1 libcc1 ; \ > - mv stage3-libcc1 prev-libcc1 || test -f stage3-lean > -@endif libcc1 > @[ -d stage4-$(TARGET_SUBDIR) ] || \ > mkdir stage4-$(TARGET_SUBDIR); \ > mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ > @@ -48131,12 +47650,6 @@ stage4-end:: > mv prev-lto-plugin stage3-lto-plugin ; : ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stage4-libcc1 ; \ > - mv prev-libcc1 stage3-libcc1 ; : ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \ > mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \ > @@ -48385,12 +47898,6 @@ stageprofile-start:: > mv stageprofile-lto-plugin lto-plugin ; \ > mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stageprofile-libcc1 ] || \ > - mkdir stageprofile-libcc1; \ > - mv stageprofile-libcc1 libcc1 ; \ > - mv stage1-libcc1 prev-libcc1 || test -f stage1-lean > -@endif libcc1 > @[ -d stageprofile-$(TARGET_SUBDIR) ] || \ > mkdir stageprofile-$(TARGET_SUBDIR); \ > mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ > @@ -48529,12 +48036,6 @@ stageprofile-end:: > mv prev-lto-plugin stage1-lto-plugin ; : ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stageprofile-libcc1 ; \ > - mv prev-libcc1 stage1-libcc1 ; : ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \ > mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \ > @@ -48716,12 +48217,6 @@ stagefeedback-start:: > mv stagefeedback-lto-plugin lto-plugin ; \ > mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean > @endif lto-plugin > -@if libcc1 > - @cd $(HOST_SUBDIR); [ -d stagefeedback-libcc1 ] || \ > - mkdir stagefeedback-libcc1; \ > - mv stagefeedback-libcc1 libcc1 ; \ > - mv stageprofile-libcc1 prev-libcc1 || test -f stageprofile-lean > -@endif libcc1 > @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \ > mkdir stagefeedback-$(TARGET_SUBDIR); \ > mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \ > @@ -48860,12 +48355,6 @@ stagefeedback-end:: > mv prev-lto-plugin stageprofile-lto-plugin ; : ; \ > fi > @endif lto-plugin > -@if libcc1 > - @if test -d $(HOST_SUBDIR)/libcc1 ; then \ > - cd $(HOST_SUBDIR); mv libcc1 stagefeedback-libcc1 ; \ > - mv prev-libcc1 stageprofile-libcc1 ; : ; \ > - fi > -@endif libcc1 > @if test -d $(TARGET_SUBDIR) ; then \ > mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \ > mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \ > @@ -49380,21 +48869,7 @@ all-stage4-lto-plugin: maybe-all-stage4- > all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin > all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin > configure-libcc1: maybe-configure-gcc > - > -configure-stage1-libcc1: maybe-configure-stage1-gcc > -configure-stage2-libcc1: maybe-configure-stage2-gcc > -configure-stage3-libcc1: maybe-configure-stage3-gcc > -configure-stage4-libcc1: maybe-configure-stage4-gcc > -configure-stageprofile-libcc1: maybe-configure-stageprofile-gcc > -configure-stagefeedback-libcc1: maybe-configure-stagefeedback-gcc > all-libcc1: maybe-all-gcc > - > -all-stage1-libcc1: maybe-all-stage1-gcc > -all-stage2-libcc1: maybe-all-stage2-gcc > -all-stage3-libcc1: maybe-all-stage3-gcc > -all-stage4-libcc1: maybe-all-stage4-gcc > -all-stageprofile-libcc1: maybe-all-stageprofile-gcc > -all-stagefeedback-libcc1: maybe-all-stagefeedback-gcc > all-utils: maybe-all-libiberty > configure-mpfr: maybe-all-gmp > > > > Jakub ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:35 libcc1 Jakub Jelinek 2014-10-29 10:37 ` libcc1 Paolo Bonzini @ 2014-10-29 11:01 ` Phil Muldoon 2014-10-29 11:24 ` libcc1 Paolo Bonzini 2014-10-29 11:46 ` libcc1 Phil Muldoon 2 siblings, 1 reply; 14+ messages in thread From: Phil Muldoon @ 2014-10-29 11:01 UTC (permalink / raw) To: Jakub Jelinek, bonzini, DJ Delorie, aoliva, Ralf Wildenhues, tom Cc: gcc-patches On 29/10/14 10:31, Jakub Jelinek wrote: > It would be nice to have libcc1 built just once, not bootstrap it, but > it is a build module, is that possible? > In toplevel configure.ac I'm seeing: > host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" > shouldn't libcc1 be in build_tools instead? > I mean, it is a library meant to be dlopened by gdb and gcc > plugin that uses that library, so in canadian-cross should be > for the build target, where the resulting compiler will be run > and where gdb will be run. > > Could something like following work? Phil, can you try that? > Perhaps some toplevel Makefile* changes would be needed too. From GDB's point-of-view, as long as we have access to the .so that is built that's all GDB wants. So whichever stage it is produced should be fine. My archaeology into the source repository has not revealed why we needed bootstrap. Perhaps we included it out of a sense of paranoia for testing. I've CC'd Tom on this, so he may have an opinion or insight. From my point of view, I see no value in bootstrapping libcc1 now. It's not a required build to bootstrap GCC. Cheers Phil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 11:01 ` libcc1 Phil Muldoon @ 2014-10-29 11:24 ` Paolo Bonzini 0 siblings, 0 replies; 14+ messages in thread From: Paolo Bonzini @ 2014-10-29 11:24 UTC (permalink / raw) To: Phil Muldoon, Jakub Jelinek, DJ Delorie, aoliva, Ralf Wildenhues, tom Cc: gcc-patches On 10/29/2014 11:58 AM, Phil Muldoon wrote: > My archaeology into the source repository has not revealed why > we needed bootstrap. Perhaps we included it out of a sense of > paranoia for testing. I've CC'd Tom on this, so he may have an > opinion or insight. From my point of view, I see no value in > bootstrapping libcc1 now. It's not a required build to bootstrap GCC. Then I agree, I don't think it needs to be bootstrapped. Paolo ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 10:35 libcc1 Jakub Jelinek 2014-10-29 10:37 ` libcc1 Paolo Bonzini 2014-10-29 11:01 ` libcc1 Phil Muldoon @ 2014-10-29 11:46 ` Phil Muldoon 2014-10-29 14:32 ` libcc1 Phil Muldoon 2 siblings, 1 reply; 14+ messages in thread From: Phil Muldoon @ 2014-10-29 11:46 UTC (permalink / raw) To: Jakub Jelinek, Paolo Bonzini, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches On 29/10/14 10:31, Jakub Jelinek wrote: > It would be nice to have libcc1 built just once, not bootstrap it, but > it is a build module, is that possible? > In toplevel configure.ac I'm seeing: > host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" > shouldn't libcc1 be in build_tools instead? > I mean, it is a library meant to be dlopened by gdb and gcc > plugin that uses that library, so in canadian-cross should be > for the build target, where the resulting compiler will be run > and where gdb will be run. > > Could something like following work? Phil, can you try that? > Perhaps some toplevel Makefile* changes would be needed too. From a point of view of GDB, as long as in all scenarios above the .so is available in the finished produce that is fine. I will test your patch and report back. Cheers Phil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 11:46 ` libcc1 Phil Muldoon @ 2014-10-29 14:32 ` Phil Muldoon 2014-10-29 14:39 ` libcc1 Phil Muldoon 0 siblings, 1 reply; 14+ messages in thread From: Phil Muldoon @ 2014-10-29 14:32 UTC (permalink / raw) To: Jakub Jelinek, Paolo Bonzini, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches On 29/10/14 11:24, Phil Muldoon wrote: > On 29/10/14 10:31, Jakub Jelinek wrote: >> It would be nice to have libcc1 built just once, not bootstrap it, but >> it is a build module, is that possible? >> In toplevel configure.ac I'm seeing: >> host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" >> shouldn't libcc1 be in build_tools instead? >> I mean, it is a library meant to be dlopened by gdb and gcc >> plugin that uses that library, so in canadian-cross should be >> for the build target, where the resulting compiler will be run >> and where gdb will be run. >> >> Could something like following work? Phil, can you try that? >> Perhaps some toplevel Makefile* changes would be needed too. > > >From a point of view of GDB, as long as in all scenarios above the .so > is available in the finished produce that is fine. I will test your > patch and report back. I built with bootstrap enabled, and also disabled with this patch. In both cases the .so is available. So it looks good. I also ran GDB compile testcases against both .so's and all looks good there too. Cheers Phil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 14:32 ` libcc1 Phil Muldoon @ 2014-10-29 14:39 ` Phil Muldoon 2014-10-29 20:49 ` libcc1 Jeff Law 0 siblings, 1 reply; 14+ messages in thread From: Phil Muldoon @ 2014-10-29 14:39 UTC (permalink / raw) To: Jakub Jelinek, Paolo Bonzini, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches On 29/10/14 14:26, Phil Muldoon wrote: > On 29/10/14 11:24, Phil Muldoon wrote: >> On 29/10/14 10:31, Jakub Jelinek wrote: >>> It would be nice to have libcc1 built just once, not bootstrap it, but >>> it is a build module, is that possible? >>> In toplevel configure.ac I'm seeing: >>> host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" >>> shouldn't libcc1 be in build_tools instead? >>> I mean, it is a library meant to be dlopened by gdb and gcc >>> plugin that uses that library, so in canadian-cross should be >>> for the build target, where the resulting compiler will be run >>> and where gdb will be run. >>> >>> Could something like following work? Phil, can you try that? >>> Perhaps some toplevel Makefile* changes would be needed too. >> >> >From a point of view of GDB, as long as in all scenarios above the .so >> is available in the finished produce that is fine. I will test your >> patch and report back. > > I built with bootstrap enabled, and also disabled with this patch. In > both cases the .so is available. So it looks good. I also ran GDB > compile testcases against both .so's and all looks good there too. > > Cheers > > Phil I forgot to ask, I am fine with this patch. I concur with Jakub that building libcc1 as part of bootstrap is not needed. Does anyone else object to removing libcc1.so from bootstrap? Cheers Phil ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: libcc1 2014-10-29 14:39 ` libcc1 Phil Muldoon @ 2014-10-29 20:49 ` Jeff Law 0 siblings, 0 replies; 14+ messages in thread From: Jeff Law @ 2014-10-29 20:49 UTC (permalink / raw) To: Phil Muldoon, Jakub Jelinek, Paolo Bonzini, DJ Delorie, Alexandre Oliva, Ralf Wildenhues Cc: gcc-patches On 10/29/14 08:32, Phil Muldoon wrote: > On 29/10/14 14:26, Phil Muldoon wrote: >> On 29/10/14 11:24, Phil Muldoon wrote: >>> On 29/10/14 10:31, Jakub Jelinek wrote: >>>> It would be nice to have libcc1 built just once, not bootstrap it, but >>>> it is a build module, is that possible? >>>> In toplevel configure.ac I'm seeing: >>>> host_tools="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1" >>>> shouldn't libcc1 be in build_tools instead? >>>> I mean, it is a library meant to be dlopened by gdb and gcc >>>> plugin that uses that library, so in canadian-cross should be >>>> for the build target, where the resulting compiler will be run >>>> and where gdb will be run. >>>> >>>> Could something like following work? Phil, can you try that? >>>> Perhaps some toplevel Makefile* changes would be needed too. >>> >>> >From a point of view of GDB, as long as in all scenarios above the .so >>> is available in the finished produce that is fine. I will test your >>> patch and report back. >> >> I built with bootstrap enabled, and also disabled with this patch. In >> both cases the .so is available. So it looks good. I also ran GDB >> compile testcases against both .so's and all looks good there too. >> >> Cheers >> >> Phil > > I forgot to ask, I am fine with this patch. I concur with Jakub that > building libcc1 as part of bootstrap is not needed. Does anyone else > object to removing libcc1.so from bootstrap? Not at all... To a large degree libcc1 is driven by your needs, so if you don't need the bootstrap, then let's remove it from bootstrap. jeff ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-10-31 11:15 UTC | newest] Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2014-10-29 10:35 libcc1 Jakub Jelinek 2014-10-29 10:37 ` libcc1 Paolo Bonzini 2014-10-29 10:48 ` libcc1 Jakub Jelinek 2014-10-29 10:51 ` libcc1 Paolo Bonzini 2014-10-29 20:43 ` libcc1 Jakub Jelinek 2014-10-30 8:51 ` libcc1 Paolo Bonzini 2014-10-31 11:03 ` [PATCH] Don't bootstrap libcc1 Jakub Jelinek 2014-10-31 11:16 ` Richard Biener 2014-10-29 11:01 ` libcc1 Phil Muldoon 2014-10-29 11:24 ` libcc1 Paolo Bonzini 2014-10-29 11:46 ` libcc1 Phil Muldoon 2014-10-29 14:32 ` libcc1 Phil Muldoon 2014-10-29 14:39 ` libcc1 Phil Muldoon 2014-10-29 20:49 ` libcc1 Jeff Law
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).