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
* [Bug target/56021] HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't build gcc 3.2.1
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 ` 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
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2013-01-17 16:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56021
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|blocker |normal
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-01-17 16:22:58 UTC ---
3.4.1 AND 3.4.6 are no longer supported.
Since it is the host libiberty that is failing, you should look into config.log
from the libiberty directory to see why they are not being defined. It might
be configure for that version is just broken with newer glibc/gcc's and there
is not much to be done here from our side except close this bug as won't fix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/56021] HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't build gcc 3.2.1
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
2 siblings, 0 replies; 4+ messages in thread
From: redi at gcc dot gnu.org @ 2013-01-17 16:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56021
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-01-17 16:24:08 UTC ---
Noone's going to change anything in the GCC 3.2.1 sources now, so I expect this
will be closed as WONTFIX.
And this can't be severity=blocker because it's obviously not going to block
the 3.2.2 release :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/56021] HAVE_STBLIB_H and HAVE_LIMITS_H not defined. Can't build gcc 3.2.1
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
2 siblings, 0 replies; 4+ messages in thread
From: rsandifo at gcc dot gnu.org @ 2013-05-25 8:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56021
rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |rsandifo at gcc dot gnu.org
Resolution|--- |WONTFIX
--- Comment #3 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> ---
As others have said, this is way too old, sorry.
^ 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).