public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Error compiling gcc 3.4-20040218 on alpha ev68 osf
@ 2004-02-25  1:29 Stefano Curtarolo, Ph.D.
  2004-02-26  2:20 ` Jim Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Curtarolo, Ph.D. @ 2004-02-25  1:29 UTC (permalink / raw)
  To: gcc


In file included from bt-load.c:32:
../include/fibheap.h:63: warning: bit-field `degree' type invalid in ISO C
../include/fibheap.h:64: warning: bit-field `mark' type invalid in ISO C
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I.
-I. -I. -I./. -I./../include  pretty-print.c -o pretty-print.o
gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I.
-I. -I. -I./. -I./../include  ggc-simple.c -o ggc-simple.o
ggc-simple.c:515: error: conflicting types for `ggc_pch_count_object'
ggc.h:173: error: previous declaration of `ggc_pch_count_object'
ggc-simple.c:535: error: conflicting types for `ggc_pch_alloc_object'
ggc.h:186: error: previous declaration of `ggc_pch_alloc_object'
ggc-simple.c:550: error: conflicting types for `ggc_pch_write_object'
ggc.h:193: error: previous declaration of `ggc_pch_write_object'
make[1]: *** [ggc-simple.o] Error 1
make[1]: Leaving directory `/usr/root/GNU/gcc-3.4-20040218/gcc'
make: *** [all-gcc] Error 2


Sincerely,
Stefano Curtarolo


----------------------------------------------------------------------
Prof. Stefano Curtarolo
Duke University, Dept. Mechanical Engineering and Materials Science
144 Hudson Hall, Box 90300, Durham, NC  27708-0300
phone 919-660-5506     stefano@duke.edu     http://alpha.mems.duke.edu
----------------------------------------------------------------------


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

* Re: Error compiling gcc 3.4-20040218 on alpha ev68 osf
  2004-02-25  1:29 Error compiling gcc 3.4-20040218 on alpha ev68 osf Stefano Curtarolo, Ph.D.
@ 2004-02-26  2:20 ` Jim Wilson
  2004-02-26  2:54   ` Stefano Curtarolo, Ph.D.
  0 siblings, 1 reply; 3+ messages in thread
From: Jim Wilson @ 2004-02-26  2:20 UTC (permalink / raw)
  To: Stefano Curtarolo, Ph.D.; +Cc: gcc

Stefano Curtarolo, Ph.D. wrote:
> gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I.
> -I. -I. -I./. -I./../include  ggc-simple.c -o ggc-simple.o
> ggc-simple.c:515: error: conflicting types for `ggc_pch_count_object'

Did you use the --with-gc=simple configure option?  You did not mention 
that, but otherwise I don't see how this problem can occur.  simple has 
been deleted from mainline.  It may be risky to use it, because so few 
others are using it.

This has been broken since Oct 26, 2003 by a patch from Daniel Berlin 
that added a new argument to ggc_pch_count_object, but did not update 
ggc-simple.c to match.

I wrote a patch to make the obvious fixes, and will check it in when I 
am done testing it.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

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

* Re: Error compiling gcc 3.4-20040218 on alpha ev68 osf
  2004-02-26  2:20 ` Jim Wilson
@ 2004-02-26  2:54   ` Stefano Curtarolo, Ph.D.
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Curtarolo, Ph.D. @ 2004-02-26  2:54 UTC (permalink / raw)
  To: Jim Wilson; +Cc: gcc


Let me retry with the next snapshot.

Sincerely,
Stefano Curtarolo


----------------------------------------------------------------------
Prof. Stefano Curtarolo
Duke University, Dept. Mechanical Engineering and Materials Science
144 Hudson Hall, Box 90300, Durham, NC  27708-0300
phone 919-660-5506     stefano@duke.edu     http://alpha.mems.duke.edu
----------------------------------------------------------------------


On Wed, 25 Feb 2004, Jim Wilson wrote:

> Stefano Curtarolo, Ph.D. wrote:
> > gcc -c   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
> > -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H    -I.
> > -I. -I. -I./. -I./../include  ggc-simple.c -o ggc-simple.o
> > ggc-simple.c:515: error: conflicting types for `ggc_pch_count_object'
>
> Did you use the --with-gc=simple configure option?  You did not mention
> that, but otherwise I don't see how this problem can occur.  simple has
> been deleted from mainline.  It may be risky to use it, because so few
> others are using it.
>
> This has been broken since Oct 26, 2003 by a patch from Daniel Berlin
> that added a new argument to ggc_pch_count_object, but did not update
> ggc-simple.c to match.
>
> I wrote a patch to make the obvious fixes, and will check it in when I
> am done testing it.
> --
> Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
>

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

end of thread, other threads:[~2004-02-26  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-25  1:29 Error compiling gcc 3.4-20040218 on alpha ev68 osf Stefano Curtarolo, Ph.D.
2004-02-26  2:20 ` Jim Wilson
2004-02-26  2:54   ` Stefano Curtarolo, Ph.D.

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).