bug-bison
[Top][All Lists]
Advanced

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

Re: Bison 3.5.93 on AIX 7.2


From: Bruno Haible
Subject: Re: Bison 3.5.93 on AIX 7.2
Date: Mon, 04 May 2020 10:30:52 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-177-generic; KDE/5.18.0; x86_64; ; )

Hi Akim,

> > 2) "gmake -k check" goes past 1) and starts to execute the ca. 600 
> > individual
> > tests, but it aborts like this:
> > 
> > 276: Several parsers                                 ok
> > ../tests/testsuite[25]: syntax error at line 3 : `)' unexpected
> > Makefile:11650: recipe for target 'check-local' failed
> > gmake[3]: *** [check-local] Error 2
> > 
> > The workaround is to change, in the Makefile,
> >  SHELL = /bin/sh
> > to
> >  SHELL = /bin/bash
> > 
> > Then "gmake -k check" executes the full test suite.
> > 
> > I added a 'set -x' at the top of tests/testsuite, ran "gmake -k check" with
> > and without the change, and compared the two outputs. But it gives no clue
> > why /bin/sh chokes in the middle. 
> 
> Bummer...
> 
> Where you running the test suite in sequential mode?  Was 276 really the last 
> successful test, and then it crashed?

I ran the test suite through "gmake check"; no parallel make.

Yes, 276 was the last successful test, then it crashed. It's reproducible.

> > 3) There are three test failures:
> > 137: Tabulations and multibyte characters            FAILED 
> > (diagnostics.at:280)
> > 527: GNU AWK 3.1.0 Grammar: IELR(1)                  FAILED 
> > (existing.at:801)
> > 533: GNU pic (Groff 1.18.1) Grammar: IELR(1)         FAILED 
> > (existing.at:3266)
> > 
> > Detailed configuration:
> > 
> > CC="gcc"; CXX="g++"; export CC CXX
> > unset AR NM
> > 
> > Detailed test results: attached.
> > 
> > The first test failure is like on Cygwin: because wchar_t is only 16 bits
> > wide, in 32-bit AIX.
> 
> Ok, so same "cure".  I don't know how to check if we are in 32-bit AIX, but I 
> don't care much about running this test everywhere (the "safe" part is still 
> run as test 136), so let's just skip on AIX.

That's good enough. There will be a solution for this problem in Gnulib,
through the ISO C type 'char32_t', but it's not ready yet.

Bruno




reply via email to

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