This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 3.1 Bootstrap failure on Solaris 2.8
On Wed, Mar 28, 2001 at 02:13:53PM -0800, Zack Weinberg wrote:
> On Wed, Mar 28, 2001 at 04:38:48PM -0500, Brad Lucier wrote:
> > >
> > > On Wed, Mar 28, 2001 at 12:36:04PM -0800, Jeffrey Oldham wrote:
> > > > Today, I experienced a similar problem for gcc 3.0 on
> > > > i686-pc-linux-gnu. Source code: 2001-03-28 08:00 GMT
> > >
> > > I see this also. It appears to be a bit unpredictable. Try deleting
> > > everything below $objdir/i686-pc-linux-gnu, then re-running 'make all'
> > > from the top. When I did this it got past the above failure and
> > > tripped over a binutils bug which I'm now chasing.
> >
> > In my case, my command line was
> >
> > (/bin/rm -rf *) ; ../configure ; (make bootstrap >& build.log) && ...
> >
> > so I was starting with a clean directory.
>
> Yes, I do it that way too. Seriously, clean out i686-pc-linux-gnu and
> 'make all' from the top. I'm guessing there's detritus left over from
> the 'make bootstrap' which confuses configure-target-libstdc++-v3.
I just did a "make bootstrap" and a "make all" for the most recent gcc
(approximately 2001-03-28 23:00 GMT). The resulting error message,
below, is exactly the same. Here are the commands I used:
cvs update
\rm -rf objdir
mkdir objdir
cd objdir
../configure
make -j 2 CFLAGS=-g all OR make -j 2 CFLAGS=-g boostrap
This is for a i686-pc-linux-gnu.
Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com
/bin/sh ../libtool --tag CXX --mode=compile /home/oldham/gcc/gcc3/objdir/gcc/g++ -B/home/oldham/gcc/gcc3/objdir/gcc/ -nostdinc++ -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -nostdinc++ -I../../../../libstdc++-v3/include -I../../../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -I../include -I../../../../libstdc++-v3/libsupc++ -I../libio -I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -g -O2 -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 ../../../../libstdc++-v3/src/locale.cc
/bin/sh ../libtool --tag CXX --mode=compile /home/oldham/gcc/gcc3/objdir/gcc/g++ -B/home/oldham/gcc/gcc3/objdir/gcc/ -nostdinc++ -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -nostdinc++ -I../../../../libstdc++-v3/include -I../../../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -I../include -I../../../../libstdc++-v3/libsupc++ -I../libio -I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -g -O2 -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 ../../../../libstdc++-v3/src/localename.cc
/home/oldham/gcc/gcc3/objdir/gcc/g++ -B/home/oldham/gcc/gcc3/objdir/gcc/ -nostdinc++ -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -nostdinc++ -I../../../../libstdc++-v3/include -I../../../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -I../include -I../../../../libstdc++-v3/libsupc++ -I../libio -I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -g -O2 -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 ../../../../libstdc++-v3/src/locale.cc -fPIC -DPIC -o .libs/locale.o
/home/oldham/gcc/gcc3/objdir/gcc/g++ -B/home/oldham/gcc/gcc3/objdir/gcc/ -nostdinc++ -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src -L/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -nostdinc++ -I../../../../libstdc++-v3/include -I../../../../libstdc++-v3/include/std -I../../../../libstdc++-v3/include/c_std -I../include -I../../../../libstdc++-v3/libsupc++ -I../libio -I../../../../libstdc++-v3/libio -I../../../../libstdc++-v3/libmath -g -O2 -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 ../../../../libstdc++-v3/src/localename.cc -fPIC -DPIC -o .libs/localename.o
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[4]: *** [locale.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[4]: *** [localename.lo] Error 1
make[4]: Leaving directory `/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/oldham/gcc/gcc3/objdir/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/oldham/gcc/gcc3/objdir'
make: *** [bootstrap] Error 2
Compilation exited abnormally with code 2 at Wed Mar 28 15:30:16