This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal"
- From: "schnetter at aei dot mpg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 May 2007 20:51:40 -0000
- Subject: [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal"
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The current svn repository does not bootstrap on my machine.
$ svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 124341
Node Kind: directory
Schedule: normal
Last Changed Author: dwarak
Last Changed Rev: 124341
Last Changed Date: 2007-05-01 14:53:40 -0500 (Tue, 01 May 2007)
"make" fails with
In file included from /usr/include/sys/wait.h:111,
from /usr/include/stdlib.h:64,
from /Users/eschnett/src/gcc/gcc/system.h:208,
from /Users/eschnett/src/gcc/gcc/genmodes.c:23:
/usr/include/sys/resource.h:90: error: two or more data types in declaration
specifiers
In file included from /Users/eschnett/src/gcc/gcc/genmodes.c:23:
/Users/eschnett/src/gcc/gcc/system.h:418: error: conflicting types for
?strsignal?
/usr/include/string.h:130: error: previous declaration of ?strsignal? was here
make[3]: *** [build/genmodes.o] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2
Line 130 of /usr/include/string.h reads
char *strsignal(int sig);
--
Summary: Bootstrap fails with "error: conflicting types for
strsignal"
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schnetter at aei dot mpg dot de
GCC build triplet: i386-apple-darwin8.9.1
GCC host triplet: i386-apple-darwin8.9.1
GCC target triplet: i386-apple-darwin8.9.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776