libstdc++/660: Failure to build g++ with libstdc++-v3 on i686-pc-linux-gnu
olivier@zipworl.com.au
olivier@zipworl.com.au
Thu Oct 19 05:06:00 GMT 2000
>Number: 660
>Category: libstdc++
>Synopsis: Failure to build g++ with libstdc++-v3 on i686-pc-linux-gnu
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 19 05:06:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Olivier Louchart-Fletcher
>Release: CVS head
>Organization:
>Environment:
i686-pc-linux-gnu
>Description:
building g++ with libstdc++-v3 from the CVS head dies for me on gnu-linux.
../configure ... --enable-languages=c++ --enable-libstdcxx-v3
make bootstrap
dies while compiling libstd++-v3 on the following command:
/home/olivier/buildtmp/gcc/gcc/g++ -B/home/olivier/buildtmp/gcc/gcc/ -nostdinc++ -L/home/olivier/buildtmp/gcc/i686-pc-linux-gnu/libstd++-v3/src -L/home/olivier/buildtmp/gcc/i686-pc-linux-gnu/libstd++-v3/src/.libs -B/usr/local/gcc/i686-pc-linux-gnu/bin/ -B/usr/local/gcc/i686-pc-linux-gnu/lib/ -isystem /usr/local/gcc/i686-pc-linux-gnu/include -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++ -I../../../../../cvs/gcc/libstdc++-v3/include/std -I../../../../../cvs/gcc/libstdc++-v3/include/c -I../../../../../cvs/gcc/libstdc++-v3/libsupc++ -I../../../../../cvs/gcc/libstdc++-v3/include -I../libio -I../../../../../cvs/gcc/libstdc++-v3/libio -I../../../../../cvs/gcc/libstdc++-v3/libmath -I.. -I/usr/local/gcc/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 ../../../../../cvs/gcc/libstdc++-v3/src/complex_io.cc -fPIC -DPIC -o .libs/complex_io.o
with the error:
In file included from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_ios.h:39,
from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_istream.h:37,
from ../../../../../cvs/gcc/libstdc++-v3/src/complex_io.cc:31:
../../../../../cvs/gcc/libstdc++-v3/include/bits/char_traits.h:171: `memcmp'
undeclared (first use this function)
../../../../../cvs/gcc/libstdc++-v3/include/bits/char_traits.h:171: (Each
undeclared identifier is reported only once for each function it appears
in.)
In file included from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_ios.h:39,
from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_istream.h:37,
from ../../../../../cvs/gcc/libstdc++-v3/src/complex_io.cc:31:
../../../../../cvs/gcc/libstdc++-v3/include/bits/char_traits.h:175: `strlen'
undeclared (first use this function)
In file included from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_ios.h:39,
from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_istream.h:37,
from ../../../../../cvs/gcc/libstdc++-v3/src/complex_io.cc:31:
../../../../../cvs/gcc/libstdc++-v3/include/bits/char_traits.h:187: `memcpy'
undeclared (first use this function)
In file included from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_ios.h:39,
from ../../../../../cvs/gcc/libstdc++-v3/include/bits/std_istream.h:37,
from ../../../../../cvs/gcc/libstdc++-v3/src/complex_io.cc:31:
../../../../../cvs/gcc/libstdc++-v3/include/bits/char_traits.h:191: `memset'
undeclared (first use this function)
make[4]: *** [complex_io.lo] Error 1
make[4]: Leaving directory `/home/olivier/buildtmp/gcc/i686-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/olivier/buildtmp/gcc/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/home/olivier/buildtmp/gcc/i686-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/olivier/buildtmp/gcc'
make: *** [bootstrap] Error 2
>How-To-Repeat:
on i686-pc-linux-gnu:
../../cvs/gcc/configure --prefix=/usr/local/gcc --enable-shared --enable-haifa --enable-threads=posix --enable-languages=c++ --enable-libstdcxx-v3
make bootstrap
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list