This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
libstdc++ bootstrap failure std::numpunct<_CharT>::numpunct()
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 30 Apr 2002 14:36:54 +0200 (CEST)
- Subject: libstdc++ bootstrap failure std::numpunct<_CharT>::numpunct()
Seen on i386-unknown-freebsd4.5 building mainline.
(This also triggers a C++ front end bug, in that we surely shouldn't
segfault.)
gmake[4]: Entering directory `/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src'
/bin/sh ../libtool --tag CXX --mode=compile /files/pfeifer/OBJ-0430-1402/gcc/xgcc -shared-libgcc -B/files/pfeifer/OBJ-0430-1402/gcc/ -nostdinc++ -L/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src -L/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src/.libs -B/sw/gcc-current/i386-unknown-freebsd4.5/bin/ -B/sw/gcc-current/i386-unknown-freebsd4.5/lib/ -isystem /sw/gcc-current/i386-unknown-freebsd4.5/include -nostdinc++ -I/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/i386-unknown-freebsd4.5 -I/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include -I/sw/test/gcc/cvs/libstdc++-v3/libsupc++ -I/sw/test/gcc/cvs/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /sw/test/gcc/cvs/libstdc++-v3/src/globals.cc
mkdir .libs
/files/pfeifer/OBJ-0430-1402/gcc/xgcc -shared-libgcc -B/files/pfeifer/OBJ-0430-1402/gcc/ -nostdinc++ -L/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src -L/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src/.libs -B/sw/gcc-current/i386-unknown-freebsd4.5/bin/ -B/sw/gcc-current/i386-unknown-freebsd4.5/lib/ -isystem /sw/gcc-current/i386-unknown-freebsd4.5/include -nostdinc++ -I/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/i386-unknown-freebsd4.5 -I/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include -I/sw/test/gcc/cvs/libstdc++-v3/libsupc++ -I/sw/test/gcc/cvs/libstdc++-v3/libmath -g -O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c /sw/test/gcc/cvs/libstdc++-v3/src/globals.cc -fPIC -DPIC -o .libs/globals.o
In file included from /files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/basic_ios.h:41,
from /files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/ios:51,
from /files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/istream:44,
from /files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/fstream:45,
from /sw/test/gcc/cvs/libstdc++-v3/src/globals.cc:30:
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h: In
destructor `void std::numpunct<_CharT>::numpunct() [with _CharT = char]':
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:532: parse
error before `;' token
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:534: explicit
specialization in non-namespace scope `void
std::numpunct<_CharT>::numpunct() [with _CharT = char]'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:579: local
class `class std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_get<_CharT, _InIter>' shall not have static data member `
std::locale::id std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_get<_CharT, _InIter>::id'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:698: cannot
declare member `std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_get<_CharT, _InIter>::id' within `std::numpunct<char>'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:708: local
class `class std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_put<_CharT, _OutIter>' shall not have static data member `
std::locale::id std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_put<_CharT, _OutIter>::id'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:755: invalid
member template declaration `_OutIter std::numpunct<_CharT>::numpunct()
[with _CharT = char]::num_put<_CharT, _OutIter>::_M_convert_float(_OutIter,
std::ios_base&, _CharT, char, _ValueT) const'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:760: invalid
member template declaration `_OutIter std::numpunct<_CharT>::numpunct()
[with _CharT = char]::num_put<_CharT, _OutIter>::_M_convert_int(_OutIter,
std::ios_base&, _CharT, char, char, _ValueT) const'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:805: cannot
declare member `std::numpunct<_CharT>::numpunct() [with _CharT =
char]::num_put<_CharT, _OutIter>::id' within `std::numpunct<char>'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:822: local
class `class std::numpunct<_CharT>::numpunct() [with _CharT =
char]::collate<_CharT>' shall not have static data member `std::locale::id
std::numpunct<_CharT>::numpunct() [with _CharT = char]::collate<_CharT>::id'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:875: cannot
declare member `std::numpunct<_CharT>::numpunct() [with _CharT =
char]::collate<_CharT>::id' within `std::numpunct<char>'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:878: explicit
specialization in non-namespace scope `void
std::numpunct<_CharT>::numpunct() [with _CharT = char]'
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h: At
global scope:
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h: In instantiation of `std::numpunct<char>::collate<char>':
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:880: instantiated from here
/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/include/bits/locale_facets.h:822: internal
error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[4]: *** [globals.lo] Error 1
gmake[4]: Leaving directory `/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3'
gmake[2]: *** [all-recursive-am] Error 2
gmake[2]: Leaving directory `/files/pfeifer/OBJ-0430-1402/i386-unknown-freebsd4.5/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/files/pfeifer/OBJ-0430-1402'
gmake: *** [bootstrap-lean] Error 2