Revision 128328 files to build libstdc++ with this error (and something similar with 128297 and 128277, just another Exxx constant):
make[4]: Entering directory `/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/src' /bin/sh ../libtool --tag CXX --mode=compile /home/rask/build/gcc-cris-axis-elf/./gcc/xgcc -shared-libgcc -B/home/rask/build/gcc-cris-axis-elf/./gcc -nostdinc++ -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/src -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/src/.libs -nostdinc -B/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/newlib/ -isystem /home/rask/build/gcc-cris-axis-elf/cris-axis-elf/newlib/targ-include -isystem /n/12/rask/src/all/newlib/libc/include -B/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libgloss/cris -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libgloss/libnosys -L/n/12/rask/src/all/libgloss/cris -B/usr/local/cris-axis-elf/bin/ -B/usr/local/cris-axis-elf/lib/ -isystem /usr/local/cris-axis-elf/include -isystem /usr/local/cris-axis-elf/sys-include -L/home/rask/build/gcc-cris-axis-elf/./ld -I/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include/cris-axis-elf -I/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include -I/n/12/rask/src/all/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -std=gnu++0x -c /n/12/rask/src/all/libstdc++-v3/src/hash_c++0x.cc libtool: compile: /home/rask/build/gcc-cris-axis-elf/./gcc/xgcc -shared-libgcc -B/home/rask/build/gcc-cris-axis-elf/./gcc -nostdinc++ -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/src -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/src/.libs -nostdinc -B/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/newlib/ -isystem /home/rask/build/gcc-cris-axis-elf/cris-axis-elf/newlib/targ-include -isystem /n/12/rask/src/all/newlib/libc/include -B/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libgloss/cris -L/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libgloss/libnosys -L/n/12/rask/src/all/libgloss/cris -B/usr/local/cris-axis-elf/bin/ -B/usr/local/cris-axis-elf/lib/ -isystem /usr/local/cris-axis-elf/include -isystem /usr/local/cris-axis-elf/sys-include -L/home/rask/build/gcc-cris-axis-elf/./ld -I/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include/cris-axis-elf -I/home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include -I/n/12/rask/src/all/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -O2 -std=gnu++0x -c /n/12/rask/src/all/libstdc++-v3/src/hash_c++0x.cc -o hash_c++0x.o In file included from /home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include/system_error:44, from /n/12/rask/src/all/libstdc++-v3/src/hash_c++0x.cc:31: /home/rask/build/gcc-cris-axis-elf/cris-axis-elf/libstdc++-v3/include/cris-axis-elf/bits/error_constants.h:118: error: 'ENOTSUP' was not declared in this scope make[4]: *** [hash_c++0x.lo] Error 1 Configure flags: --target cris-axis-elf --enable-checking=yes,rtl --with-newlib --enable-sim --disable-gdb --disable-nls This looks like it's related to bug 33203. -- Summary: cris: error: 'ENOTSUP' was not declared in this scope building libstdc++ Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rask at gcc dot gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: cris-axis-elf http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33377