This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Dec 2003 13:57:01 -0000
- Subject: [Bug c++/13334] New: Bootstrap failure: libiberty/fibheap.c: LONG_MIN undeclared
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Hello,
I see this if I try to bootstrap with --disable-threads:
/home/rasky/gcc/mainline/out/gcc/xgcc -B/home/rasky/gcc/mainline/out/gcc/ -
B/home/rasky/gcc/mainline/install//i686-pc-linux-gnu/bin/ -
B/home/rasky/gcc/mainline/install//i686-pc-linux-gnu/lib/ -
isystem /home/rasky/gcc/mainline/install//i686-pc-linux-gnu/include -
isystem /home/rasky/gcc/mainline/install//i686-pc-linux-gnu/sys-include -c -
DHAVE_CONFIG_H -O2 -O2 -fomit-frame-pointer -fstrict-aliasing -march=athlon-
tbird -mcpu=athlon-tbird -DNDEBUG -pipe -I. -
I../../../gcc/libiberty/../include -W -Wall -Wtraditional -pedantic -
fpic ../../../gcc/libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../../../gcc/libiberty/fibheap.c: In function `fibheap_delete_node':
../../../gcc/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use
in this function)
../../../gcc/libiberty/fibheap.c:285: error: (Each undeclared identifier is
reported only once
../../../gcc/libiberty/fibheap.c:285: error: for each function it appears in.)
rasky@trinity:~/gcc/mainline/out$ /home/rasky/gcc/mainline/out/gcc/xgcc -v
Reading specs from /home/rasky/gcc/mainline/install//lib/gcc/i686-pc-linux-
gnu/3.4/specs
Configured with: ../gcc/configure --prefix=/home/rasky/gcc/mainline/install/ --
enable-languages=c,c++,java --enable-shared --disable-threads --with-system-
zlib --enable-__cxa_atexit --disable-multilib
Thread model: single
gcc version 3.4 20031206 (experimental)
My binutils *IS* new:
rasky@trinity:~/gcc/mainline/out$ ld -v
GNU ld version 2.14.90.0.6 20030820
This bug has been reported a few times, on different systems, without
satisfatory answers:
http://gcc.gnu.org/ml/gcc/2002-06/msg00922.html (powerpc-eabisim)
http://gcc.gnu.org/ml/gcc/2003-08/msg01634.html (on the cs-branch) (!)
PR/12708 (which was incorrectly closed as duplicate of this, but the user DID
have a new binutils).
This system is RH9, btw.
--
Summary: Bootstrap failure: libiberty/fibheap.c: LONG_MIN
undeclared
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: giovannibajo at libero dot it
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13334