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


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

[3.0.1 010727] libstdc++ build error on sparc-linux and mips-linux


[libc6 2.2.3 CVS as of July 22, 2001, binutils 2.11.90.0.24]

building limitsMEMBERS fails on sparc-linux and mips-linux (i386-linux works). libstdc++-v3/include/{mips,sparc}-linux/bits/std_limits.h references LONG_LONG_MAX, which gets defined in gcc/xlimits.h or gcc/include/limits.h. Both headers aren't included by std_limits.h.

gcc linux-mips is the cvs version, sparc-linux is patched (subreg-byte patch backported from the mainline).

$ /home/doko/gcc-3.0-3.0.1ds0/build/gcc/xgcc -B/home/doko/gcc-3.0-3.0.1ds0/build/gcc/ -nostdinc++ -L/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/src -L/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/src/.libs -B/usr/sparc-linux/bin/ -B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -nostdinc++ -I/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux -I/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++ -I../../../../src/libstdc++-v3/libmath -g -O2 -D_GNU_SOURCE -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -g -c limitsMEMBERS.cc  -fPIC -DPIC -H -v -o .libs/limitsMEMBERS.o
Reading specs from /home/doko/gcc-3.0-3.0.1ds0/build/gcc/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc sparc-linux
Thread model: posix
gcc version 3.0.1 20010728 (Debian prerelease)
 /home/doko/gcc-3.0-3.0.1ds0/build/gcc/cc1plus -nostdinc++ -nostdinc++ -v -I/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux -I/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include -I../../../../src/libstdc++-v3/libsupc++ -I../../../../src/libstdc++-v3/libmath -iprefix /home/doko/gcc-3.0-3.0.1ds0/build/gcc/../lib/gcc-lib/sparc-linux/3.0.1/ -isystem /home/doko/gcc-3.0-3.0.1ds0/build/gcc/include -isystem /usr/sparc-linux/bin/include -isystem /usr/sparc-linux/lib/include -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -D__ELF__ -Dunix -D__sparc__ -Dlinux -D__ELF__ -D__unix__ -D__sparc__ -D__linux__ -D__unix -D__linux -Asystem=unix -Asystem=posix -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Wall -Wno-format -W -Wwrite-strings -Winline -H -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc -D__PIC__ -D__pic__ -D_GNU_SOURCE -DPIC -isystem /usr/sparc-linux/include limitsMEMBERS.cc -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase limitsMEMBERS.cc -g -g -O2 -Wall -Wno-format -W -Wwrite-strings -Winline -version -fno-implicit-templates -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -fPIC -o /tmp/ccow90oG.s
ignoring nonexistent directory "/usr/sparc-linux/bin/include"
ignoring nonexistent directory "/usr/sparc-linux/lib/include"
ignoring nonexistent directory "/usr/sparc-linux/include"
GNU CPP version 3.0.1 20010728 (Debian prerelease) (cpplib) (sparc GNU/Linux with ELF)
GNU C++ version 3.0.1 20010728 (Debian prerelease) (sparc-linux)
        compiled by GNU C version 3.0.1 20010728 (Debian prerelease).
ignoring nonexistent directory "/home/doko/gcc-3.0-3.0.1ds0/build/lib/gcc-lib/sparc-linux/3.0.1/include"
ignoring nonexistent directory "/home/doko/gcc-3.0-3.0.1ds0/build/lib/gcc-lib/sparc-linux/3.0.1/../../../../sparc-linux/include"
ignoring nonexistent directory "/usr/lib/gcc-lib/sparc-linux/3.0.1/include"
ignoring nonexistent directory "/usr/lib/gcc-lib/sparc-linux/3.0.1/../../../../sparc-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux
 /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include
 ../../../../src/libstdc++-v3/libsupc++
 ../../../../src/libstdc++-v3/libmath
 /home/doko/gcc-3.0-3.0.1ds0/build/gcc/include
 /usr/local/include
 /usr/include
End of search list.
. /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h
.. /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/c++config.h
... /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/os_defines.h
.... /usr/include/features.h
..... /usr/include/sys/cdefs.h
..... /usr/include/gnu/stubs.h
.. /home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/bits/std_cfloat.h
... /home/doko/gcc-3.0-3.0.1ds0/build/gcc/include/float.h
In file included from limitsMEMBERS.cc:37:
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h: In
   static member function `static long long int std::numeric_limits<long long 
   int>::min()':
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h:642: `LONG_LONG_MIN'
   undeclared (first use this function)
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h:642: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h: In
   static member function `static long long int std::numeric_limits<long long 
   int>::max()':
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h:644: `LONG_LONG_MAX'
   undeclared (first use this function)
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h: In
   static member function `static long long unsigned int 
   std::numeric_limits<long long unsigned int>::max()':
/home/doko/gcc-3.0-3.0.1ds0/build/sparc-linux/libstdc++-v3/include/sparc-linux/bits/std_limits.h:692: `ULONG_LONG_MAX'
   undeclared (first use this function)
Multiple include guards may be useful for:
/usr/include/gnu/stubs.h

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