[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfault with PHP and bison 1.875(a)

From: Martin Schlemmer
Subject: Re: Segfault with PHP and bison 1.875(a)
Date: Sun, 05 Oct 2003 12:25:31 +0200

On Sun, 2003-10-05 at 07:56, Paul Eggert wrote:
> Martin Schlemmer <address@hidden> writes:
> > NP.  I have not looked into the reason for bison <1.875 working, and
> > 1.875 not (is yy_create_buffer() a public interface ?
> It's a public interface for 'flex'.  Bison doesn't know about it.
> > did its calling method change ?
> Sorry, don't know.  It should be irrelevant to Bison; it's a flex thing.
> I can't reproduce the bug here.  But then I don't know what the bug is.

I will comment on this later - I have looked closer and it seems things
might have to be fixed another way.

> Can you send me simple instructions for reproducing the bug?
> The only instructions I saw for reproducing the bug were as follows:
> <http://mail.gnu.org/archive/html/bug-bison/2003-04/msg00011.html>
> and they didn't work for me: PHP worked fine.

1) checkout latest php5 cvs sources.
   (guess you could do 'touch Zend/*.[ly]' on an already checked
    out tree ...)
2) make sure you have bison-1.875[a] installed.
3) compile php
4) make sure you have a valid config file for it
   (configure over here with:

      ./configure --with-config-file-path=/etc/php/cli-php5

    and then have:


5) Just run ./sapi/cli/php from the source dir.



Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

[Prev in Thread] Current Thread [Next in Thread]