yacc/bison build errors on current CVS
Andreas Jaeger
aj@suse.de
Mon Sep 15 13:34:00 GMT 2003
Robert Millan <zeratul2@wanadoo.es> writes:
> 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.
But then it won't work with the old flex anymore. The changes have to
be done in a way that we can support both old and new flex - or we
have to test for the flex version and make the new flex version
mandatory,
Andreas
> 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
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20030915/367fe583/attachment.sig>
More information about the Gcc
mailing list