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]

Disabling libstdc++-v3


I used to be able to compile Mozilla from using gcc
from CVS.  Then the switch to libstdc++-v3 occured. 
For a couple of days, I could still compile gcc and
use it on mozilla if I used the --disable-libstdcxx-v3
option.  But for a while now, the build has failed. 
It's a little disappointing because the speed
improvement with the new gcc was spectacular.  You
guys are busy, I realize, but I would love to able to
compile mozilla again.  Or can it be compiled with
libstdc++-v3?  *That* would be fast....

I also read a message on the mailing list that said
something to the effect that libstdc++-v2 would be
removed.  Insight?  Appended is a short build log,
just where it fails.



../gcc/configure --prefix=/home/ghadi/gcc
--enable-shared --enable-threads
--disable-libstdcxx-v3


echo fcomplex
fcomplex
if [ x"-fpic" != x ]; then \
  /usr/src/obj/gcc/g++ -B/usr/src/obj/gcc/ -nostdinc++
-isystem
/usr/src/gc
stdc++ -isystem /usr/src/gcc/libstdc++/std -isystem
/usr/src/gcc/libstdc++/
isystem /usr/src/gcc/libio -isystem
/usr/src/obj/i686-pc-linux-gnu/libio
-L
src/obj/i686-pc-linux-gnu/libstdc++
-B/home/ghadi/gcc/i686-pc-linux-gnu/bin
home/ghadi/gcc/i686-pc-linux-gnu/lib/ -isystem
/home/ghadi/gcc/i686-pc-linu
/include -c -g -O2 -fvtable-thunks -D_GNU_SOURCE
-fno-implicit-templates
-I
/../gcc/libstdc++ -I../../../gcc/libstdc++/stl
-I../libio
-I../../../gcc/li
++/../libio -I../../../gcc/libstdc++/../include
-I../../../gcc/libstdc++/..
-nostdinc++ -D_IO_MTSAFE_IO -fpic -DF \
    `for N in MAIN ADDCC ADDCF ADDFC SUBCC SUBCF SUBFC
MULCC MULCF MULFC
DI
IVCF DIVFC PLUS MINUS EQCC EQCF EQFC NECC NECF NEFC
ABS ARG POLAR CONJ
NORM
COSH EXP LOG POWCC POWCF POWCI POWFC SIN SINH SQRT; do
echo " -D${N}";
done
    ../../../gcc/libstdc++/cinst.cc -o pic/fcomplex.o;
\
else true ; fi
In file included from
../../../gcc/libstdc++/complex:1,
                 from
../../../gcc/libstdc++/std/complext.cc:1,
                 from
../../../gcc/libstdc++/cinst.cc:16:
../../../gcc/libstdc++/std/complext.h:314: declaration
of `double
hypot(dou
   double)' throws different exceptions
/usr/include/bits/mathinline.h:616: than previous
declaration `double 
   hypot(double, double) throw ()'
make[2]: *** [bigstmp-complx] Error 1
make[2]: Leaving directory
`/usr/src/obj/i686-pc-linux-gnu/libstdc++'
make[1]: *** [all-target-libstdc++] Error 2
make[1]: Leaving directory `/usr/src/obj'
make: *** [bootstrap] Error 2



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

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