This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap failures building libstdc++ on i586-pc-linux-gnu


Hi.

For about the last week or so my builds of the 3.4 development snapshots
have failed when building libstdc++. Things fail when building the
locale-inst.cc file (things slightly reformatted for mail purposes ...)


/usr/src/gcc_3_4_branch/objdir-20030901/gcc/xgcc -shared-libgcc \
	-B/usr/src/gcc_3_4_branch/objdir-20030901/gcc/ -nostdinc++ \
	-L/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/src \
	-L/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/src/.libs \
	-B/opt/gnu/i586-pc-linux-gnu/bin/ -B/opt/gnu/i586-pc-linux-gnu/lib/ \
	-isystem /opt/gnu/i586-pc-linux-gnu/include \
	-isystem /opt/gnu/i586-pc-linux-gnu/sys-include \
	-I/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/include/i586-pc-linux-gnu \
	-I/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/include \
	-I/usr/src/gcc_3_4_branch/gcc/libstdc++-v3/libsupc++ \
	-O2 -O2 -march=pentium-mmx -std=gnu99 -finline-limit=50000 \
	-O2 -march=pentium-mmx -finline-limit=50000 -D_GNU_SOURCE \
	-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings \
	-fdiagnostics-show-location=once \
	-c /usr/src/gcc_3_4_branch/gcc/libstdc++-v3/src/locale-inst.cc  \
	-fPIC -DPIC -o .libs/locale-inst.o
cc1plus: warning: command line option "-std=gnu99" is valid for C/ObjC but not for C++
/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.h: In member function `_InIter std::money_get<_CharT, _InIter>::do_get(_InIter, _InIter, bool, std::ios_base&, std::_Ios_Iostate&, std::basic_string<_CharT, std::char_traits<_CharT>, std::allocator<_CharT> >&) const [with _CharT = wchar_t, _InIter = std::istreambuf_iterator<wchar_t, std::char_traits<wchar_t> >]':
/usr/src/gcc_3_4_branch/gcc/libstdc++-v3/src/locale-inst.cc:56:   instantiated from here
/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/include/bits/locale_facets.h:1670: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[4]: *** [locale-inst.lo] Error 1
make[4]: Leaving directory `/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/gcc_3_4_branch/objdir-20030901/i586-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/usr/src/gcc_3_4_branch/objdir-20030901'
make: *** [bootstrap-lean] Error 2

My CVS checkout was yesterday afternoon.

Machine info: i586-pc-linux-gnu
Distribution: Debian
Kernel: 2.6.0-test3 (BK from about 1 day before -test4)
Glibc: libc6-2.3.2-2
Binutils: 2.14.90.0.6
Configure flags:
CFLAGS="-O2 -march=pentium-mmx -std=gnu99 -finline-limit=50000"
CXXFLAGS="-O2 -march=pentium-mmx -finline-limit=50000"
--enable-shared --enable-__cxa_atexit

As seen above, when compiling this file the makefile passes both CFLAGS
and CXXFLAGS variables to the compiler, so I get the warning about the
'-std=gnu99' flag. This warning is not new as I've had it for quite some
time and built successfully many earlier 3.4 CVS snapshots. The initial
bootstrap compiler was GCC-3.4 20030824, so whatever is tripping up my
build has been added within the last week.

Anyone else seeing this? If not, any ideas?

Thanks.

Art Haas

-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]