This is the mail archive of the gcc-bugs@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]

bootstrap failure alphaev6-dec-osf5.0 (struct exception redefinition)


I updated CVS on July 12 at around 11:00 ET using the
contrib/gcc_update script.

I saw a message in the archives from last year about a similar error
occuring on Solaris, but it wasn't during a bootstrap.

Drew


$ CC=cc ../configure --enable-languages=c++ && gmake bootstrap

[...]

if [ x"" != x ]; then \
  /var/home/ahobson/src/gcc/build/gcc/g++ -B/var/home/ahobson/src/gcc/build/gcc/ -B/usr/local/alphaev6-dec-osf5.0/bin/ -L/var/home/ahobson/src/gcc/build/alphaev6-dec-osf5.0/libstdc++ -c -g -O2 -fno-implicit-templates -I../../../libstdc++ -I../../../libstdc++/stl -I../libio -I../../../libstdc++/../libio -nostdinc++   ../../../libstdc++/valarray.cc -o pic/valarray.o; \
else true; fi
/var/home/ahobson/src/gcc/build/gcc/g++ -B/var/home/ahobson/src/gcc/build/gcc/ -B/usr/local/alphaev6-dec-osf5.0/bin/ -L/var/home/ahobson/src/gcc/build/alphaev6-dec-osf5.0/libstdc++ -c -g -O2 -fno-implicit-templates -I../../../libstdc++ -I../../../libstdc++/stl -I../libio -I../../../libstdc++/../libio -nostdinc++  ../../../libstdc++/valarray.cc
In file included from /var/home/ahobson/src/gcc/build/gcc/include/new:36,
                 from /var/home/ahobson/src/gcc/build/gcc/include/new.h:34,
                 from ../../../libstdc++/stl/stl_algobase.h:53,
                 from ../../../libstdc++/stl/algorithm:31,
                 from ../../../libstdc++/std/std_valarray.h:42,
                 from ../../../libstdc++/valarray.cc:2:
/var/home/ahobson/src/gcc/build/gcc/include/exception:39: redefinition of `struct exception'
/usr/include/math.h:554: previous definition here
gmake[2]: *** [valarray.o] Error 1
gmake[2]: Leaving directory `/var/home/ahobson/src/gcc/build/alphaev6-dec-osf5.0/libstdc++'
gmake[1]: *** [all-target-libstdc++] Error 2
gmake[1]: Leaving directory `/var/home/ahobson/src/gcc/build'
gmake: *** [bootstrap] Error 2



$ /var/home/ahobson/src/gcc/build/gcc/g++ -v -B/var/home/ahobson/src/gcc/build/gcc/ -B/usr/local/alphaev6-dec-osf5.0/bin/ -L/var/home/ahobson/src/gcc/build/alphaev6-dec-osf5.0/libstdc++ -c -g -O2 -fno-implicit-templates -I../../../libstdc++ -I../../../libstdc++/stl -I../libio -I../../../libstdc++/../libio -nostdinc++  ../../../libstdc++/valarray.cc
Reading specs from /var/home/ahobson/src/gcc/build/gcc/specs
gcc version 2.96 20000712 (experimental)
 /var/home/ahobson/src/gcc/build/gcc/cpp -lang-c++ -nostdinc++ -v -I../../../libstdc++ -I../../../libstdc++/stl -I../libio -I../../../libstdc++/../libio -iprefix /var/home/ahobson/src/gcc/build/gcc/../lib/gcc-lib/alphaev6-dec-osf5.0/2.96/ -isystem /usr/local/alphaev6-dec-osf5.0/bin/include -isystem /var/home/ahobson/src/gcc/build/gcc/include -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=96 -D__GNUC_PATCHLEVEL__=0 -D__cplusplus -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD -D_SYSTYPE_BSD -D__unix__ -D__osf__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4) -D__EXCEPTIONS -D__OPTIMIZE__ -g -D__LANGUAGE_C_PLUS_PLUS__ -D__LANGUAGE_C_PLUS_PLUS -D__cplusplus -Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ -D__alpha_ev6__ -Acpu(ev6) -D__alpha_bwx__ -Acpu(bwx) -D__alpha_max__ -Acpu(max) -D__alpha_fix__ -Acpu(fix) ../../../libstdc++/valarray.cc /tmp/ccEMqjIZ.ii
GNU CPP version 2.96 20000712 (experimental) (cpplib)

ignoring nonexistent directory "/usr/local/alphaev6-dec-osf5.0/bin/include"
ignoring nonexistent directory "/var/home/ahobson/src/gcc/build/lib/gcc-lib/alphaev6-dec-osf5.0/2.96/include"
ignoring nonexistent directory "/var/home/ahobson/src/gcc/build/alphaev6-dec-osf5.0/include"
ignoring nonexistent directory "/usr/local/lib/gcc-lib/alphaev6-dec-osf5.0/2.96/include"
ignoring nonexistent directory "/usr/local/alphaev6-dec-osf5.0/include"
#include "..." search starts here:
#include <...> search starts here:
 ../../../libstdc++
 ../../../libstdc++/stl
 ../libio
 ../../../libio
 /var/home/ahobson/src/gcc/build/gcc/include
 /usr/local/include
 /usr/include
End of search list.
 /var/home/ahobson/src/gcc/build/gcc/cc1plus /tmp/ccEMqjIZ.ii -quiet -dumpbase valarray.cc -g -O2 -version -fno-implicit-templates -o /tmp/cc8akoS3.s
GNU C++ version 2.96 20000712 (experimental) (alphaev6-dec-osf5.0) compiled by GNU C version 2.96 20000712 (experimental).
In file included from /var/home/ahobson/src/gcc/build/gcc/include/new:36,
                 from /var/home/ahobson/src/gcc/build/gcc/include/new.h:34,
                 from ../../../libstdc++/stl/stl_algobase.h:53,
                 from ../../../libstdc++/stl/algorithm:31,
                 from ../../../libstdc++/std/std_valarray.h:42,
                 from ../../../libstdc++/valarray.cc:2:
/var/home/ahobson/src/gcc/build/gcc/include/exception:39: redefinition of `struct exception'
/usr/include/math.h:554: previous definition here

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