Joel E. Denny | 2 Nov 23:43

Bison 2.4 released

Bison version 2.4 is now available.  Relative to 2.3, this version
contains many bug fixes and many exciting new features that need
more user feedback.  Some of the more notable features are:

  1. XML or Graphviz DOT format for the LALR(1) automaton.
  2. Push parsers.
  3. Java-based parsers.
  4. %code, a flexible alternative to traditional Yacc prologue blocks.
  5. Default %destructor and %printer directives.

See "NEWS" below for further details.

Here are the compressed sources:
  ftp://ftp.gnu.org/gnu/bison/bison-2.4.tar.gz   (1.9MB)
  ftp://ftp.gnu.org/gnu/bison/bison-2.4.tar.bz2   (1.5MB)

Here are the GPG detached signatures[*]:
  ftp://ftp.gnu.org/gnu/bison/bison-2.4.tar.gz.sig
  ftp://ftp.gnu.org/gnu/bison/bison-2.4.tar.bz2.sig

Here are the MD5 and SHA1 checksums:

2b9b088b46271c7fa902a7e85f503e1e  bison-2.4.tar.gz
f95cc7d7f5290157a23216391dec610d  bison-2.4.tar.bz2
ecd488f9fd2487c695c558443ec7b698ff9b4d64  bison-2.4.tar.gz
32c959200e630d3185f24d661c8f12de67b38684  bison-2.4.tar.bz2

[*] You can use either of the above signature files to verify that
the corresponding file (without the .sig suffix) is intact.  First,
be sure to download both the .sig file and the corresponding tarball.
(Continue reading)

Sergei Steshenko | 3 Nov 13:24
Picon
Favicon

bison-2.4 breaks gcc-4.3.2 build

Hello,

I've been routinely building various gcc version with bison-2.3 with no 
problems.

bison-2.4 breaks the build, the error messages are:

"
/home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/xgcc
-B/home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/
-B/home/sergei/AFSWD/install/gcc-4.3.2/i686-pc-linux-gnu/bin/ -c   -g -O2 -fomit-frame-pointer
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros                                  -Wno-overlength-strings  -Wno-error  -DHAVE_CONFIG_H -I. -Itreelang
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/treelang
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../include
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libcpp/include
-I/home/sergei/AFSWD/install/gmp-4.2.2/include
-I/home/sergei/AFSWD/install/mpfr-2.3.2/include
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libdecnumber
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libdecnumber/bid -I../libdecnumber
 -I/home/sergei/AFSWD/install/autoconf-2.63/include
-I/home/sergei/AFSWD/install/autogen-5.8.7/include
-I/home/sergei/AFSWD/install/bash-3.0/include
-I/home/sergei/AFSWD/install/bison-2.4/include
-I/home/sergei/AFSWD/install/dejagnu-1.4.4/include
-I/home/sergei/AFSWD/install/expect-5.44.1/include
-I/home/sergei/AFSWD/install/flex-2.5.35/include
-I/home/sergei/AFSWD/install/gmp-4.2.2/include
(Continue reading)

Joel E. Denny | 3 Nov 15:08

Re: bison-2.4 breaks gcc-4.3.2 build

On Mon, 3 Nov 2008, Sergei Steshenko wrote:

> I've been routinely building various gcc version with bison-2.3 with no 
> problems.

Thanks for doing that.  It would be helpful if you would do the same for 
Bison test releases, such as 2.3a and 2.3b, before formal releases come 
out.

> bison-2.4 breaks the build, the error messages are:
> 
> "
> /home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/xgcc
-B/home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/
-B/home/sergei/AFSWD/install/gcc-4.3.2/i686-pc-linux-gnu/bin/ -c   -g -O2 -fomit-frame-pointer
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros                                  -Wno-overlength-strings  -Wno-error  -DHAVE_CONFIG_H -I. -Itreelang
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/treelang
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../include
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libcpp/include
-I/home/sergei/AFSWD/install/gmp-4.2.2/include
-I/home/sergei/AFSWD/install/mpfr-2.3.2/include
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libdecnumber
-I/home/sergei/AFSWD/build/gcc-4.3.2.src/gcc/../libdecnumber/bid -I../libdecnumber
>  -I/home/sergei/AFSWD/install/autoconf-2.63/include
-I/home/sergei/AFSWD/install/autogen-5.8.7/include
-I/home/sergei/AFSWD/install/bash-3.0/include
-I/home/sergei/AFSWD/install/bison-2.4/include
(Continue reading)

Sergei Steshenko | 3 Nov 17:51
Picon
Favicon

Re: bison-2.4 breaks gcc-4.3.2 build


--- On Mon, 11/3/08, Joel E. Denny <jdenny <at> ces.clemson.edu> wrote:

> From: Joel E. Denny <jdenny <at> ces.clemson.edu>
> Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> To: "Sergei Steshenko" <sergstesh <at> yahoo.com>
> Cc: bug-bison <at> gnu.org
> Date: Monday, November 3, 2008, 6:08 AM
> On Mon, 3 Nov 2008, Sergei Steshenko wrote:
> 
> > I've been routinely building various gcc version
> with bison-2.3 with no 
> > problems.
> 
> Thanks for doing that.  It would be helpful if you would do
> the same for 
> Bison test releases, such as 2.3a and 2.3b, before formal
> releases come 
> out.
> 
> > bison-2.4 breaks the build, the error messages are:
> > 
> > "
> > /home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/xgcc
> -B/home/sergei/AFSWD/build/gcc-4.3.2/./prev-gcc/
> -B/home/sergei/AFSWD/install/gcc-4.3.2/i686-pc-linux-gnu/bin/
> -c   -g -O2 -fomit-frame-pointer -DIN_GCC   -W -Wall
> -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wold-style-definition -Wmissing-format-attribute -pedantic
> -Wno-long-long -Wno-variadic-macros                         
(Continue reading)

Joel E. Denny | 3 Nov 18:19

Re: bison-2.4 breaks gcc-4.3.2 build

On Mon, 3 Nov 2008, Sergei Steshenko wrote:

> The offending piece of it:
> 
>     686 expressions_with_commas_opt:
>     687 /* Nil.  */ {
>     688 $$ = 0
>     689 }
>     690 |expressions_with_commas { $$ = $1 }
>     691 ;

Oh, I see.  Bison is not fixing users' semantic actions anymore.  If I can 
find time, I'll try to track down why this changed.  Maybe someone else 
can figure it out first because I don't have time now.

> I can send you by tool - using it you can build everything yourself in

Not necessary.  The above is what we needed to know.

> Maybe I'll try the test releases - if I find them and if they use the
> standard
> 
> ./configure
> make
> make check
> make install

They do.  They are located at:

  http://alpha.gnu.org/gnu/bison/
(Continue reading)

Sergei Steshenko | 3 Nov 19:04
Picon
Favicon

Re: bison-2.4 breaks gcc-4.3.2 build


--- On Mon, 11/3/08, Joel E. Denny <jdenny <at> ces.clemson.edu> wrote:

> From: Joel E. Denny <jdenny <at> ces.clemson.edu>
> Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> To: "Sergei Steshenko" <sergstesh <at> yahoo.com>
> Cc: bug-bison <at> gnu.org
> Date: Monday, November 3, 2008, 9:19 AM
> On Mon, 3 Nov 2008, Sergei Steshenko wrote:
> 
> > The offending piece of it:
> > 
> >     686 expressions_with_commas_opt:
> >     687 /* Nil.  */ {
> >     688 $$ = 0
> >     689 }
> >     690 |expressions_with_commas { $$ = $1 }
> >     691 ;
> 
> Oh, I see.  Bison is not fixing users' semantic actions
> anymore.  If I can 
> find time, I'll try to track down why this changed. 
> Maybe someone else 
> can figure it out first because I don't have time now.
> 
> > I can send you by tool - using it you can build
> everything yourself in
> 
> Not necessary.  The above is what we needed to know.
> 
(Continue reading)

Sergei Steshenko | 3 Nov 19:29
Picon
Favicon

Re: bison-2.4 breaks gcc-4.3.2 build


--- On Mon, 11/3/08, Sergei Steshenko <sergstesh <at> yahoo.com> wrote:

> From: Sergei Steshenko <sergstesh <at> yahoo.com>
> Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> To: "Joel E. Denny" <jdenny <at> ces.clemson.edu>
> Cc: bug-bison <at> gnu.org
> Date: Monday, November 3, 2008, 10:04 AM
> --- On Mon, 11/3/08, Joel E. Denny
> <jdenny <at> ces.clemson.edu> wrote:
> 
> > From: Joel E. Denny <jdenny <at> ces.clemson.edu>
> > Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> > To: "Sergei Steshenko"
> <sergstesh <at> yahoo.com>
> > Cc: bug-bison <at> gnu.org
> > Date: Monday, November 3, 2008, 9:19 AM
> > On Mon, 3 Nov 2008, Sergei Steshenko wrote:
> > 
> > > The offending piece of it:
> > > 
> > >     686 expressions_with_commas_opt:
> > >     687 /* Nil.  */ {
> > >     688 $$ = 0
> > >     689 }
> > >     690 |expressions_with_commas { $$ = $1 }
> > >     691 ;
> > 
> > Oh, I see.  Bison is not fixing users' semantic
> actions
(Continue reading)

Sergei Steshenko | 3 Nov 20:34
Picon
Favicon

Re: bison-2.4 breaks gcc-4.3.2 build


--- On Mon, 11/3/08, Sergei Steshenko <sergstesh <at> yahoo.com> wrote:

> From: Sergei Steshenko <sergstesh <at> yahoo.com>
> Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> To: "Joel E. Denny" <jdenny <at> ces.clemson.edu>
> Cc: bug-bison <at> gnu.org
> Date: Monday, November 3, 2008, 10:04 AM

[snip]

> 
> FWIW, bison-2.3b fails exactly the same way.
> 
> Regards,
>   Sergei.

And bison-2.3a does _not_ break the build, i.e. the 'treelang' broken by
bison-2.4, bison-2.3b is not broken by bison-2.3a, but the build (other
languages) is still in progress.

Regards,
  Sergei.

Sergei Steshenko | 3 Nov 21:42
Picon
Favicon

Re: bison-2.4 breaks gcc-4.3.2 build


--- On Mon, 11/3/08, Sergei Steshenko <sergstesh <at> yahoo.com> wrote:

> From: Sergei Steshenko <sergstesh <at> yahoo.com>
> Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> To: "Joel E. Denny" <jdenny <at> ces.clemson.edu>
> Cc: bug-bison <at> gnu.org
> Date: Monday, November 3, 2008, 11:34 AM
> --- On Mon, 11/3/08, Sergei Steshenko
> <sergstesh <at> yahoo.com> wrote:
> 
> > From: Sergei Steshenko <sergstesh <at> yahoo.com>
> > Subject: Re: bison-2.4 breaks gcc-4.3.2 build
> > To: "Joel E. Denny"
> <jdenny <at> ces.clemson.edu>
> > Cc: bug-bison <at> gnu.org
> > Date: Monday, November 3, 2008, 10:04 AM
> 
> [snip]
> 
> > 
> > FWIW, bison-2.3b fails exactly the same way.
> > 
> > Regards,
> >   Sergei.
> 
> And bison-2.3a does _not_ break the build, i.e. the
> 'treelang' broken by
> bison-2.4, bison-2.3b is not broken by bison-2.3a, but the
> build (other
(Continue reading)

Juergen Daubert | 4 Nov 11:58
Picon

bison 2.4 breaks libIDL 0.8.11 build

Hello,

tried to build libIDL 0.8.11 [1] with bison 2.4 and got the following
error message, while building with 2.3 just works fine:

$> make
bison -y -d -v 2>/dev/null ./parser.y
make: *** [stamp-parser] Error 1

and after removing the redirect and calling the above manually:

$> bison -y -d -v ./parser.y
./parser.y:610.9-10: $$ for the midrule at $6 of `struct_type' has no declared type
./parser.y:627.9-10: $$ for the midrule at $10 of `union_type' has no declared type

regards
Juergen

[1] http://andrewtv.org/libIDL
    ftp://ftp.gnome.org/pub/GNOME/sources/libIDL/0.8/

--

-- 
Juergen Daubert  |  mailto:jue <at> jue.li  
Korb, Germany    |  http://jue.li/crux


Gmane