This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc-3_0-branch configure.in modified, configure not rebuilt


On Sun, Apr 01, 2001 at 01:02:53AM -0500, Phil Edwards wrote:
> On Sat, Mar 31, 2001 at 11:33:28PM -0600, Gordon Sadler wrote:
> > guess I'm just too used to autoconf by now. However, the point still
> > stands, doesn't it? configure, by hook or crook -), needs to be
> > regenerated and committed?
> 
> No, the topmost configure and configure.in files have nothing to do with
> autoconf.  They are /both/ handwritten and hand-maintained.  They're related
> to something called Cygnus Configure.
> 
> Stop right there -- don't ask.  The few people who have learned details
> about Cygnus Configure are no longer allowed to handle sharp objects or
> go outside unsupervised.  :-)
> 
> Once you get down into the gcc directory, or the various library directories,
> then you start seeing autoconf-generated stuff.
>
Ok, hmm.. don't touch $(topsrcdir)/configure{.in}

Then looks like the patch, I mentioned at the start of this thread,
didn't/doesn't work here.

2001-03-27  Alexandre Oliva  <aoliva@redhat.com>

        * configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
		 
My bootstraps have been failing since that day. There are some related
changes inside libstdc++-v3:

2001-03-28  Alexandre Oliva  <aoliva@redhat.com>

        * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared
		* after --tag CXX.
		(LIBTOOL): Let automake take care of its definition.
		* libsupc++/Makefile.in: Rebuilt.

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.

Ever since then: (build.log excerpt of it using g++ to link...)

/home/gbsadler/gcc-3.0/gcc/g++ -B/home/gbsadler/gcc-3.0/gcc/ -nostdinc++
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/bin/
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/lib/ -isystem
/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/include -nostdinc++
-I../../../../cvs/gcc-3.0/libstdc++-v3/include
-I../../../../cvs/gcc-3.0/libstdc++-v3/include/std
-I../../../../cvs/gcc-3.0/libstdc++-v3/include/c_std -I../include
-I../../../../cvs/gcc-3.0/libstdc++-v3/libsupc++ -I../libio
-I../../../../cvs/gcc-3.0/libstdc++-v3/libio
-I../../../../cvs/gcc-3.0/libstdc++-v3/libmath -O3 -fstrict-aliasing
-march=i686 -fno-exceptions -Weffc++ -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g
-c ../../../../cvs/gcc-3.0/libstdc++-v3/src/string-inst.cc -o
string-inst.o >/dev/null 2>&1/bin/sh ../libtool --tag CXX --mode=link
/home/gbsadler/gcc-3.0/gcc/g++ -B/home/gbsadler/gcc-3.0/gcc/ -nostdinc++
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/bin/
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/lib/ -isystem
/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/include -Wl,-O1
-fno-implicit-templates  -Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-g    -o libstdc++.la -rpath /home/gbsadler/gcc-2001-03-31/lib
-version-info 3:0:0 -lm limitsMEMBERS.lo stdexcept.lo functexcept.lo
bitset.lo globals.lo basic_file.lo ios.lo complex_io.lo strstream.lo
c++locale.lo locale.lo localename.lo codecvt.lo locale-inst.lo
stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo
../libmath/libmath.la ../libsupc++/libsupc++convenience.la  -lm
/home/gbsadler/gcc-3.0/gcc/g++ -B/home/gbsadler/gcc-3.0/gcc/ -nostdinc++
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/bin/
-B/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/lib/ -isystem
/home/gbsadler/gcc-2001-03-31/i686-pc-linux-gnu/include -shared
-nostdlib /usr/lib/crti.o /home/gbsadler/gcc-3.0/gcc/crtbeginS.o
.libs/limitsMEMBERS.o .libs/stdexcept.o .libs/functexcept.o
.libs/bitset.o .libs/globals.o .libs/basic_file.o .libs/ios.o
.libs/complex_io.o .libs/strstream.o .libs/c++locale.o .libs/locale.o
.libs/localename.o .libs/codecvt.o .libs/locale-inst.o .libs/stl-inst.o
.libs/misc-inst.o .libs/valarray-inst.o .libs/string-inst.o
-Wl,--whole-archive ../libmath/.libs/libmath.a
../libsupc++/.libs/libsupc++convenience.a -Wl,--no-whole-archive
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gbsadler/gcc-3.0/i686-pc-linux-gnu/libstdc++-v3/src/.libs -lm
../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a
-L/home/gbsadler/gcc-3.0/gcc -lm -lm -lstdc++ -lm -lc -lgcc_s
 /home/gbsadler/gcc-3.0/gcc/crtendS.o /usr/lib/crtn.o  -Wl,-O1
 -Wl,-soname -Wl,libstdc++.so.3 -o .libs/libstdc++.so.3.0.0
 /usr/bin/ld: cannot find -lstdc++
 collect2: ld returned 1 exit status

 I know it's ugly.. and rather long, but build.logs tend to be.

 My problem is then, how does it work for anyone else? I use a clean
 builddir != srcdir. Was bootstrapping daily just fine, until the above
 changes.

 Gordon Sadler
																 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]