[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gstreamer-1.2.0 fails to compile with bison 2.7.1 but bison 2.7 work
From: |
Akim Demaille |
Subject: |
Re: gstreamer-1.2.0 fails to compile with bison 2.7.1 but bison 2.7 works fine. Possible regression? |
Date: |
Mon, 18 Nov 2013 09:34:22 +0100 |
Hi,
Please, keep the CC to remain public.
Le 15 nov. 2013 à 17:56, Patrick McMunn <address@hidden> a écrit :
> After downloading
> http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.2.0.tar.xz, you
> will find "./gstreamer-1.2.0/gst/parse/grammar.y" after extracting the
> archive. I have not yet tried bison 3.0 or 3.0.1.
I don't observe your problem.
This is 2.7:
$ /opt/local/bin/bison --version
bison (GNU Bison) 2.7.12-4996
Écrit par Robert Corbett et Richard Stallman.
Copyright © 2013 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de
reproduction. AUCUNE garantie n'est donnée; tant pour des raisons
COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.
$ /opt/local/bin/bison gst/parse/grammar.y
gst/parse/grammar.y: conflits: 37 décalage/réduction, 5 réduction/réduction
And this is 3.0.1:
$ bison --version
bison (GNU Bison) 3.0.1
Écrit par Robert Corbett et Richard Stallman.
Copyright © 2013 Free Software Foundation, Inc.
Ce logiciel est libre; voir les sources pour les conditions de
reproduction. AUCUNE garantie n'est donnée; tant pour des raisons
COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.
$ bison gst/parse/grammar.y
gst/parse/grammar.y: avertissement: 37 conflits par décalage/réduction
[-Wconflicts-sr]
gst/parse/grammar.y: avertissement: 5 conflits par réduction/réduction
[-Wconflicts-rr]
Is your machine special in any way? Is it a regular desktop/laptop computer?
> The most recent version in the Funtoo portage tree is 2.7.1, so until now I
> was not aware that there were newer versions of bison available. I may be
> able to try a newer version later today, although it looks like there is a
> Gentoo bug very similar to this one which involves bison 3.0 and
> gstreamer-0.10.36:
Your problem is
bison: lalr.c:145: map_goto: Assertion `low <= high' failed.
/bin/sh: line 7: 27601 Aborted /usr/bin/bison -d -v
and theirs is:
grammar.tab.c:1809:7: error: too few arguments to function
'priv_gst_parse_yylex'
They are really different. The warnings around are irrelevant.
> https://bugs.gentoo.org/show_bug.cgi?id=478676 It may or may not be related
> to my issue.
Could you please to run by hand:
bison --version
bison gst/parse/grammar.y
Thanks in advance.