Re: Bison 3.5.93 on AIX 7.2

Bruno Haible <[email protected]>
Newsgroups gmane.comp.parsers.bison.bugs
Message-ID <3046279.kmEWqBWUdN@omega>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.