public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/56021] New: HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't build gcc 3.2.1
@ 2013-01-17 15:38 bryrober at cisco dot com
2013-01-17 16:23 ` [Bug target/56021] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bryrober at cisco dot com @ 2013-01-17 15:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56021
Bug #: 56021
Summary: HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't
build gcc 3.2.1
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: bryrober@cisco.com
I am using CentOS 4.8 and gcc3.4.6 to build a gcc 3.2.1 cross compiler for
mipsisa32-elf (using binutils 2.13.1). After configuring I get the following
error when issuing make -w all install 2>&1 | tee make.out on the command line.
gcc -c -DHAVE_CONFIG_H -O2 -ffunction-sections -I.
-I/home/bryrober/BRCM/gcc-3.2.1/libiberty/../include -W -Wall -Wtraditional
-pedantic /home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:46: error: conflicting
types for 'malloc'
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:46: error: conflicting
types for 'malloc'
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c: In function
`code_for_qualifier':
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:623: warning: implicit
declaration of function `abort'
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c: In function
`ada_demangle':
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:1003: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:1056: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c: In function
`squangle_mop_up':
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:1149: warning: implicit
declaration of function `free'
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c: In function
`demangle_qualified':
/home/bryrober/BRCM/gcc-3.2.1/libiberty/cplus-dem.c:3282: warning: implicit
declaration of function `atoi'
If I fix this error I get a error in fib heap.c complaining about LONG_MIN
undeclared which is defined in limits.h. Here is my configuration output
/home/bryrober/BRCM/gcc-3.2.1/configure --target=mipsisa32-elf
--prefix=/home/bryrober/BRCM/gnutools --enable-languages=c,c++ --with-gnu-as
--with-gnu-ld --with-newlib
--with-gxx-include-dir=/home/bryrober/BRCM/gnutools/mipsisa32-elf/sys-include
--host=i686-unknown-linux-gnu --with-headers=/usr/include -v 2>&1 | tee
configure.out
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-25 8:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-17 15:38 [Bug target/56021] New: HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't build gcc 3.2.1 bryrober at cisco dot com
2013-01-17 16:23 ` [Bug target/56021] " pinskia at gcc dot gnu.org
2013-01-17 16:24 ` redi at gcc dot gnu.org
2013-05-25 8:25 ` rsandifo at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).