public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/31776]  New: Bootstrap fails with "error: conflicting types for strsignal"
@ 2007-05-01 20:51 schnetter at aei dot mpg dot de
  2007-05-01 21:03 ` [Bug bootstrap/31776] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: schnetter at aei dot mpg dot de @ 2007-05-01 20:51 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
@ 2007-05-01 21:03 ` pinskia at gcc dot gnu dot org
  2007-05-01 21:38 ` schnetter at aei dot mpg dot de
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-01 21:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-01 22:03 -------
How did you configure?

This is most likely the same as reported in
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00033.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
  2007-05-01 21:03 ` [Bug bootstrap/31776] " pinskia at gcc dot gnu dot org
@ 2007-05-01 21:38 ` schnetter at aei dot mpg dot de
  2007-05-01 21:57 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: schnetter at aei dot mpg dot de @ 2007-05-01 21:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from schnetter at aei dot mpg dot de  2007-05-01 22:37 -------
I configured with the options

~/src/gcc/configure --prefix=$HOME/gcc --with-gmp=/opt/local
--with-mpfr=/opt/local

(outside the source tree).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
  2007-05-01 21:03 ` [Bug bootstrap/31776] " pinskia at gcc dot gnu dot org
  2007-05-01 21:38 ` schnetter at aei dot mpg dot de
@ 2007-05-01 21:57 ` rguenth at gcc dot gnu dot org
  2007-05-03  1:50 ` ghazi at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-05-01 21:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2007-05-01 22:57 -------
It looks like the same cause but different symptom.  The configure
check for strsignal for darwin doesn't seem to work.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
                   ` (2 preceding siblings ...)
  2007-05-01 21:57 ` rguenth at gcc dot gnu dot org
@ 2007-05-03  1:50 ` ghazi at gcc dot gnu dot org
  2007-05-03  2:24 ` brooks at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ghazi at gcc dot gnu dot org @ 2007-05-03  1:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ghazi at gcc dot gnu dot org  2007-05-03 02:50 -------
I see a similar failure on sparc-sun-solaris2.10 (where I have gmp installed in
some place not available to system.h without -I flags.)  Without clear access
to gmp.h, configure botches the test for rlim_t and defines a bogus fallback
that conflicts with the real one in sys/resource.h.

This is definitely the problem noted by Andrew above.


-- 

ghazi at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ghazi at gcc dot gnu dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-05-03 02:50:22
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
                   ` (3 preceding siblings ...)
  2007-05-03  1:50 ` ghazi at gcc dot gnu dot org
@ 2007-05-03  2:24 ` brooks at gcc dot gnu dot org
  2007-05-03  6:15 ` brooks at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-05-03  2:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from brooks at gcc dot gnu dot org  2007-05-03 03:24 -------
If this analysis of the problem is correct, the patch attached here should fix
it:
http://gcc.gnu.org/ml/gcc-patches/2007-05/msg00135.html


-- 

brooks at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |brooks at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2007-05-03 02:50:22         |2007-05-03 03:24:22
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
                   ` (4 preceding siblings ...)
  2007-05-03  2:24 ` brooks at gcc dot gnu dot org
@ 2007-05-03  6:15 ` brooks at gcc dot gnu dot org
  2007-05-03  6:22 ` brooks at gcc dot gnu dot org
  2007-07-24  7:50 ` dorit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-05-03  6:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from brooks at gcc dot gnu dot org  2007-05-03 07:15 -------
Subject: Bug 31776

Author: brooks
Date: Thu May  3 06:14:52 2007
New Revision: 124373

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=124373
Log:
PR bootstrap/31776
* system.h: Remove inclusion of double-int.h
* tree.h: Include double-int.h
* gengtype.c: Likewise
* cfgloop.h: Likewise
* Makefile.in: Adjust dependencies on double-int.h

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in
    trunk/gcc/cfgloop.h
    trunk/gcc/gengtype.c
    trunk/gcc/system.h
    trunk/gcc/tree.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
                   ` (5 preceding siblings ...)
  2007-05-03  6:15 ` brooks at gcc dot gnu dot org
@ 2007-05-03  6:22 ` brooks at gcc dot gnu dot org
  2007-07-24  7:50 ` dorit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: brooks at gcc dot gnu dot org @ 2007-05-03  6:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from brooks at gcc dot gnu dot org  2007-05-03 07:22 -------
The above commit should fix this problem.


-- 

brooks at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [Bug bootstrap/31776] Bootstrap fails with "error: conflicting types for strsignal"
  2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
                   ` (6 preceding siblings ...)
  2007-05-03  6:22 ` brooks at gcc dot gnu dot org
@ 2007-07-24  7:50 ` dorit at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dorit at gcc dot gnu dot org @ 2007-07-24  7:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dorit at gcc dot gnu dot org  2007-07-24 07:50 -------
Subject: Bug 31776

Author: dorit
Date: Tue Jul 24 07:50:10 2007
New Revision: 126868

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126868
Log:
2007-07-23  Dorit Nuzman  <dorit@il.ibm.com>

        merge revision 124373 from trunk:
        2007-05-02  Brooks Moses  <brooks.moses@codesourcery.com>

        PR bootstrap/31776
        * system.h: Remove inclusion of double-int.h
        * tree.h: Include double-int.h
        * gengtype.c: Likewise
        * cfgloop.h: Likewise
        * Makefile.in: Adjust dependencies on double-int.h


Modified:
    branches/autovect-branch/   (props changed)
    branches/autovect-branch/gcc/ChangeLog.autovect
    branches/autovect-branch/gcc/Makefile.in
    branches/autovect-branch/gcc/cfgloop.h
    branches/autovect-branch/gcc/gengtype.c
    branches/autovect-branch/gcc/system.h
    branches/autovect-branch/gcc/tree.h

Propchange: branches/autovect-branch/
            ('svnmerge-integrated' modified)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31776


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-07-24  7:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-01 20:51 [Bug bootstrap/31776] New: Bootstrap fails with "error: conflicting types for strsignal" schnetter at aei dot mpg dot de
2007-05-01 21:03 ` [Bug bootstrap/31776] " pinskia at gcc dot gnu dot org
2007-05-01 21:38 ` schnetter at aei dot mpg dot de
2007-05-01 21:57 ` rguenth at gcc dot gnu dot org
2007-05-03  1:50 ` ghazi at gcc dot gnu dot org
2007-05-03  2:24 ` brooks at gcc dot gnu dot org
2007-05-03  6:15 ` brooks at gcc dot gnu dot org
2007-05-03  6:22 ` brooks at gcc dot gnu dot org
2007-07-24  7:50 ` dorit at gcc dot gnu dot 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).