Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 1998 15:47:07 -0700 (PDT)
From:      dmm125@bellatlantic.net
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   gnu/6244: Lots of parse errors with gcc in 2.2.6-RELEASE
Message-ID:  <199804072247.PAA10125@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         6244
>Category:       gnu
>Synopsis:       Lots of parse errors with gcc in 2.2.6-RELEASE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  7 15:50:01 PDT 1998
>Last-Modified:
>Originator:     Donn M. Miller
>Organization:
>Release:        2.2.6-RELEASE
>Environment:
FreeBSD myname.my.domain 2.2.6-RELEASE FreeBSD 2.2.6-RELEASE #0: 
Sat Apr  4 00:42:22 GMT 1998     root@myname.my.domain:/usr/src/sys/compile/CUSTOM  i386

>Description:
gcc version 2.7.2.1

I've been getting ``parse errors'' a lot with 2.2.6-RELEASE, most lately when
building world.  Here is a sample of a recent make world:

In file included from /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/genextract.c:24:
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/rtl.h:756: 
parse error before `emit_jump_insn_before'
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/rtl.h:756: warning: data definition has no type or storage class
*** Error code 1
extern void emit_queue                  PROTO((void));
extern rtx emit_move_insn               PROTO((rtx, rtx));
extern rtx emit_insn_before             PROTO((rtx, rtx));
extern rtx emit_jump_insn_before        PROTO((rtx, rtx)); /* line 756 rtl.h */ 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Where the ``parse error'' is located.
extern rtx emit_call_insn_before        PROTO((rtx, rtx));

Also, I've gotten parse errors while building world of XFree86 3.3.2,
and also wine980330 (the last wine release in march) but in each case,
I checked the syntax and couldn't find any errors.
>How-To-Repeat:
Install 2.2.6-RELEASE.  cd /usr/src && make world and note if there
are any parse errors that are unwarranted.  Also try build the last wine
release in march (not the port, the full source code), or try building
XFree86 3.3.2 from source.  In each case, I've gotten parse errors in
places with OK syntax.
>Fix:
Tried: rm -rf /usr/include /usr/src/*.  Then installed full sources
and bin distribution, but the errors persisted.  Seems like a bug in
the includes somewhere or in gcc 2.7.2.1 or maybe a config problem.
Maybe a bug in 2.2.6-RELEASE.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804072247.PAA10125>