This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: yacc/bison build errors on current CVS
- From: Robert Millan <zeratul2 at wanadoo dot es>
- To: Manoj Srivastava <srivasta at debian dot org>
- Cc: Andreas Jaeger <aj at suse dot de>, gcc at gcc dot gnu dot org
- Date: Mon, 15 Sep 2003 13:54:05 +0000
- Subject: Re: yacc/bison build errors on current CVS
- Organisation: free as in freedom
- References: <20030914155304.GA25926@aragorn> <u8ekyjcvgg.fsf@gromit.moeb> <20030914161947.GA11086@aragorn> <874qze4o6t.fsf@glaurung.green-gryphon.com>
Uhm.. I see. I'll forward your quote to the GCC mailing list, perhaps they
want to consider updating the input files for new interfaces.
On Mon, Sep 15, 2003 at 12:26:34AM -0500, Manoj Srivastava wrote:
> On Sun, 14 Sep 2003 16:19:47 +0000, Robert Millan <zeratul2@wanadoo.es> said:
>
> > Thanks Andreas!
>
> > Manoj: I recall our flex broke some packages in Debian (tetex-bin
> > iirc) a while ago. Maybe this is related?
>
> Since the material quoted below does not give any details on
> the error messages encountered, it is hard to say for sure. But Flex
> changed its interface from 2.5.4a -> 2.5.27, and then changed it
> again between 2.5.27 and 2.5.31.
>
> These changes require source changes in lex input files. The
> new direction flex is taking is to incorporate new functionality at
> the expense of POSIX or backward compatibility. The new scanners are
> reentrant, and do not polllute the global name space, and thus macros
> that used to be available to user code are no longer present. You can
> use the package flex-old if you do not wish to change your code.
>
> I don't think this would be considered a bug -- it is merely
> an incompatible change required to implement desired functionality --
> going by the comments and the documentation.
>
> manoj
>
> > On Sun, Sep 14, 2003 at 04:10:07PM +0200, Andreas Jaeger wrote:
> >> Robert Millan <zeratul2@wanadoo.es> writes:
> >>
> >> > Hi!
> >> >
> >> > I got a build error when trying to build from today's CVS sources
> >> > on i386-linux-gnu. The problem seems to be related to:
> >> >
> >> > http://gcc.gnu.org/ml/gcc/2003-01/msg01582.html (I tried "cd
> >> > gcc/gcc && cat .cvsignore | xargs rm" as suggested by the
> >> > response message but that didn't help.)
> >> >
> >> > I'm using debian sid with:
> >> >
> >> > (host) gcc (GCC) 3.3.2 20030831 (Debian prerelease) flex 2.5.31
> >>
> >> I tried flex 2.5.27 and that broke a lot of code. I do think this
> >> is a bug of flex and not of GCC. Please report to the flex
> >> developers.
> >>
> >> > bison (GNU Bison) 1.875a
> >>
> >> This bison version should be fine.
> >>
> >> Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SuSE
> >> Linux AG, Deutschherrnstr. 15-19, 90429 N?rnberg, Germany GPG
> >> fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
>
> --
> I can't seem to bring myself to say, "Well, I guess I'll be toddling
> along." It isn't that I can't toddle. It's that I can't guess I'll
> toddle. Robert Benchley
> Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
> 1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
> 1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
Robert Millan
"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."
-- J.R.R.T, Ainulindale (Silmarillion)