[PATCH] Re: A clue for the libstdc++ problem.
Gordon Sadler
gbsadler1@lcisp.com
Sun Apr 1 17:50:00 GMT 2001
On Sun, Apr 01, 2001 at 05:18:58PM -0700, H . J . Lu wrote:
> On Sun, Apr 01, 2001 at 08:57:47PM -0300, Alexandre Oliva wrote:
> >
> > I'm tempted to install the patch I have now, just to get things back
> > into a working shape, and then proceed with the discussion about the
> > best way to address it, if anybody still has the energy for it. If
> > nobody screams in horror ;-) about the patch that introduces
> > CXX_FOR_TARGET_FOR_RECURSIVE_MAKE, I'll check it in in half an hour or
> > so.
> >
>
> Can you tell me what is wrong with this patch? As far as I can tell,
> CXXLINK in libstdc++-v3/src/Makefile.am is only used to build
> libstdc++.so.
>
>
> H.J.
> ---
> 2001-04-01 H.J. Lu (hjl@gnu.org)
>
> * libstdc++-v3/src/Makefile.am (CXXLINK): Remove --tag CXX and
> replace $(CXX) with $(CC).
> * libstdc++-v3/src/Makefile.in: Rebuild.
>
> --- gcc/libstdc++-v3/src/Makefile.am.libstdc++ Sat Mar 31 21:04:29 2001
> +++ gcc/libstdc++-v3/src/Makefile.am Sun Apr 1 17:06:34 2001
> @@ -349,5 +349,5 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mo
> # course is problematic at this point. So, we get the top-level
> # directory to configure libstdc++-v3 to use gcc as the C++
> # compilation driver.
> -CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
> +CXXLINK = $(LIBTOOL) --mode=link $(CC) \
> @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
> --- gcc/libstdc++-v3/src/Makefile.in.libstdc++ Sat Mar 31 21:04:29 2001
> +++ gcc/libstdc++-v3/src/Makefile.in Sun Apr 1 17:07:06 2001
> @@ -333,7 +333,7 @@ LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mo
> # course is problematic at this point. So, we get the top-level
> # directory to configure libstdc++-v3 to use gcc as the C++
> # compilation driver.
> -CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
> +CXXLINK = $(LIBTOOL) --mode=link $(CC) \
> @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
>
> CONFIG_HEADER = ../config.h
>
This is in effect a reversion of :
2001-03-27 Alexandre Oliva <aoliva@redhat.com>
* libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose CXX tag explicitly.
* src/Makefile.am (CXXLINK): Likewise.
* libsupc++/Makefile.in,
* src/Makefile.in: Rebuilt.
Which works for me, that patch is when my bootstraps began to fail
linking libstdc++...
Gordon Sadler
More information about the Gcc-patches
mailing list