Can't build on Solaris 2.6

Branko Branko
Mon Apr 10 00:08:00 GMT 2000


Hi,

I'm running into a problem building CVS head on Solaris 2.6,
using the mainline GCC. I'm doing a 3-stage bootstrap with
libstdc++-v3 used as as drop-in replacement for libstdc++.

The same thing happens with GCC 2.95.2 and with the 2.95.3
prerelease, and defining _GLIBCPP_BUGGY_FLOAT_COMPLEX doesn't
help.

Any ideas? Or is this a GCC bug?

    Thanks,
       Brane


$ /home/brane/eval/gcc/obj/gcc/g++ -v
Reading specs from
/home/brane/eval/gcc/inst/lib/gcc-lib/sparc-sun-solaris2.6/2.96/specs
gcc version 2.96 20000407 (experimental)

Configured with:
   --enable-libstdcxx-v3
   --enable-shared
   --enable-threads=posix
   --enable-namespaces
   --enable-long_long

/home/brane/eval/gcc/obj/gcc/g++ -B/home/brane/eval/gcc/obj/gcc/
-B/home/brane/eval/gcc/inst/sparc-sun-solaris2.6/bin/ -DHAVE_CONFIG_H
-I. I../../../../gcc/libstdc++-v3/src -I.. -nostdinc++
-I../../../../gcc/libstdc++-v3 -I../../../../gcc/libstdc++-v3/stl
-I../libio -I../../../../gcc/libstdc++-v3/libio
-I../../../../gcc/libstdc++-v3/config/cpu/sparc/sparc32
-I../../../../gcc/libstdc++-v3/config/solaris/solaris2.6
-I/home/brane/eval/gcc/inst/include -D_GNU_SOURCE
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline
-Werror -g -fsquangle -c  -fPIC -DPIC
../../../../gcc/libstdc++-v3/src/complexf.cc -o .libs/complexf.lo
In file included from ../../../../gcc/libstdc++-v3/src/complexf.cc:5:
../../../../gcc/libstdc++-v3/src/complex.cc: In function
`std::complex<_Tp> std::pow (const _Tp &,
../../../../gcc/libstdc++-v3/src/complex.cc: const std::complex<_Tp> &)
[with _Tp = float]':
../../../../gcc/libstdc++-v3/src/complex.cc:193: cannot convert `complex
double' to `complex float' for
../../../../gcc/libstdc++-v3/src/complex.cc:193: argument `1' to `cexpf
(complex float)'
cc1plus: warnings being treated as errors
../../../../gcc/libstdc++-v3/src/complex.cc:193: warning: control
reaches end of non-void function
../../../../gcc/libstdc++-v3/src/complex.cc:193: warning: `std::pow
(const _Tp &, const
../../../../gcc/libstdc++-v3/src/complex.cc:193: warning:
std::complex<_Tp> &) [with _Tp = float]'
make[4]: *** [complexf.lo] Error 1
make[4]: Leaving directory
`/home/brane/eval/gcc/obj/sparc-sun-solaris2.6/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/brane/eval/gcc/obj/sparc-sun-solaris2.6/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory
`/home/brane/eval/gcc/obj/sparc-sun-solaris2.6/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/brane/eval/gcc/obj'
make: *** [bootstrap] Error 2


-- 
Branko Čibej                 <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49     fax: (+386 1) 586 52 70


More information about the Libstdc++ mailing list