This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
trouble compiling the new Standard C++ Library V3
- To: "'egcs-bugs at egcs dot cygnus dot com'" <egcs-bugs at egcs dot cygnus dot com>
- Subject: trouble compiling the new Standard C++ Library V3
- From: "Kuijk van, David" <David at lcn dot nl>
- Date: Sat, 7 Aug 1999 19:54:17 +0200
Hi
I have trouble compiling the new Standard C++ Library V3.
I use Cygwin B20 under Windows NT Service Pack 4, with Mumit Khan's
pre-built gcc-2.95 binary packages.
The first thing that goes wrong is executing the generated
gen-num-limits.exe.
The exe never returns because of a segmentation fault. This fault has
something to do with the function "template<typename Operation> bool
trapping(const Operation& op)" in gen-num-limits.cc, so I changed this
function so it will always return "true", because that change did not look
too harmful.
After that change gen-num-limits.exe returns normally, and limitsMEMBERS.o
is made.
But then I get the following errors:
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I.
-I../../libstdc++-2.90
.6/src -I.. -nostdinc++ -I../../libstdc++-2.90.6
-I../../libstdc++-2.90.6/stl -I
../../libstdc++-2.90.6/libio -g -D_GNU_SOURCE -fno-implicit-templates
-c ..
/../libstdc++-2.90.6/src/complex.cc
c++ -DHAVE_CONFIG_H -I. -I../../libstdc++-2.90.6/src -I.. -nostdinc++
-I../../li
bstdc++-2.90.6 -I../../libstdc++-2.90.6/stl -I../../libstdc++-2.90.6/libio
-g -D
_GNU_SOURCE -fno-implicit-templates -c ../../libstdc++-2.90.6/src/complex.cc
-o
complex.o
In file included from ../../libstdc++-2.90.6/src/complex.cc:31:
../../libstdc++-2.90.6/bits/std_complex.h: In function `class complex<float>
con
j<float>(const complex<float> &)':
../../libstdc++-2.90.6/bits/std_complex.h:926: Internal compiler error.
../../libstdc++-2.90.6/bits/std_complex.h:926: Please submit a full bug
report t
o `egcs-bugs@egcs.cygnus.com'.
../../libstdc++-2.90.6/bits/std_complex.h:926: See
<URL:http://egcs.cygnus.com/f
aq.html#bugreport> for details.
make[2]: *** [complex.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
Please let me know if you need more info to solve these problems.
I would also appreciate hearing when this problem is solved, because I am
very anxious to start using this STL-library.
Thanx and cheers,
David van Kuijk