This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Build failure on Linux Alpha
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: Build failure on Linux Alpha
- From: Falk Hueffner <falk dot hueffner at student dot uni-tuebingen dot de>
- Date: 16 Oct 2000 21:51:45 +0200
Hi,
when compiling libstdc++-v3 with a just-bootstrapped gcc from Oct 08
on a Debian Alpha Linux system, I get:
/usr/local/src/gcc-snapshot-20001008/build/gcc/g++ -B/usr/local/src/gcc-snapshot-20001008/build/gcc/ -nostdinc++ -L/usr/local/src/gcc-snapshot-20001008/build/alpha-linux/libstd++-v3/src -L/usr/local/src/gcc-snapshot-20001008/build/alpha-linux/libstd++-v3/src/.libs -B/usr/lib/gcc-ss/alpha-linux/bin/ -B/usr/lib/gcc-ss/alpha-linux/lib/ -isystem /usr/lib/gcc-ss/alpha-linux/include -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++ -I.. -I../../../../src/libstdc++-v3/include -I../libio -I../../../../src/libstdc++-v3/libio -I../../../../src/libstdc++-v3/libmath -I/usr/lib/gcc-ss/include -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 ../../../../src/libstdc++-v3/src/complexl.cc -fPIC -DPIC -o .libs/complexl.o
In file included from ../../../../src/libstdc++-v3/src/complexl.cc:6:
../../../../src/libstdc++-v3/src/complex.cc:71: call of overloaded `cos (const
long double &)' is ambiguous
../../../../src/libstdc++-v3/include/bits/std_cmath.h:116: candidates are:
float std::cos(float)
../../../../src/libstdc++-v3/include/bits/std_cmath.h:298:
double std::cos(double)
../../../../src/libstdc++-v3/src/complex.cc:71: call of overloaded `sin (const
long double &)' is ambiguous
../../../../src/libstdc++-v3/include/bits/std_cmath.h:225: candidates are:
float std::sin(float)
../../../../src/libstdc++-v3/include/bits/std_cmath.h:347:
double std::sin(double)
In file included from ../../../../src/libstdc++-v3/src/complexl.cc:6:
../../../../src/libstdc++-v3/src/complex.cc:118: call of overloaded `log (const
long double &)' is ambiguous
../../../../src/libstdc++-v3/include/bits/std_cmath.h:183: candidates are:
float std::log(float)
../../../../src/libstdc++-v3/include/bits/std_cmath.h:329:
double std::log(double)
make[6]: *** [complexl.lo] Error 1
make[6]: Leaving directory `/usr/local/src/gcc-snapshot-20001008/build/alpha-linux/libstdc++-v3/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/src/gcc-snapshot-20001008/build/alpha-linux/libstdc++-v3'
make[4]: *** [all-recursive-am] Error 2
make[4]: Leaving directory `/usr/local/src/gcc-snapshot-20001008/build/alpha-linux/libstdc++-v3'
make[3]: *** [all-target-libstdc++-v3] Error 2
make[3]: Leaving directory `/usr/local/src/gcc-snapshot-20001008/build'
make[2]: *** [bootstrap-lean] Error 2
make[2]: Leaving directory `/usr/local/src/gcc-snapshot-20001008/build'
I'm not sure how to fix this, can anybody give me a hint?
Falk