Bug 105034 - Bison 1.875 and gcc 3.3.1 incompatibility
Summary: Bison 1.875 and gcc 3.3.1 incompatibility
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux Beta
Classification: Retired
Component: bison
Version: beta1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Roland McGrath
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-09-24 20:13 UTC by Dan Williams
Modified: 2007-04-18 16:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-09-24 21:58:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Williams 2003-09-24 20:13:36 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703

Description of problem:
Bison 1.875 (upstream) has an incompatibility with gcc 3.3.1 (using
Cambridge/Fedora Core).

http://mail.gnu.org/archive/html/bison-patches/2003-01/msg00047.html
http://mail.gnu.org/archive/html/bug-bison/2003-01/msg00083.html

The fix is supposed to be in the next version of Bison, but no greater than
1.875 has been released yet.  The problem is the __attribute__ (__unusued__)
right before the goto yerrlab2 statement.

Mandrake also supplies a patch which applies cleanly and works just fine against
Red Hat bison-1.875-3:
http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/SPECS/bison/


Version-Release number of selected component (if applicable):
bison-1.875-3

How reproducible:
Always

Steps to Reproduce:
1.  Get Fedora with Bison 1.875-3 and gcc 3.3.1
2.  Try to compile something that uses yacc
3.  For example, try to build OpenOffice.org 1.1, and build dies in idlc,
compiling parser.cxx
    

Additional info:

Comment 1 Roland McGrath 2003-09-24 21:58:53 UTC
bison-1.875-5 includes that upstream patch

Comment 2 Han-Wen Nienhuys 2003-09-27 09:05:13 UTC
where are we supposed to get bison-1.875-5? It's not on Rawhide (sep 27,
11:04:32 CEST)


Note You need to log in before you can comment on or make changes to this bug.