Thank you, Akim.
I confirmed failures of automake's make check disappeared with your patch,
except for original ones, suchi as
FAIL: t/lex-clean-cxx.sh
FAIL: t/lex-depend-cxx.sh
Tested with both of bison-3.8 & bison-3.8.1.
Failures of flex's make check also disappeared with bison-3.8.1.
Regard
Hello,
I don't know how to change the code, but it seems to be caused by difference
between Solaris lex & flex (flex 2.6.4).
make check passes if flex has priority over lex.
What I tried is:
$ sudo mv /usr/bin/lex /usr/bin/lex-
$ ./configure --prefix=/opt/local CC=gcc CXX=g++
$ make
$ make -k ch
> I think it's about gcc10, not Solaris
No.
The same errors are detected with gcc-9.3.0.
I do not have older versions such as gcc-[1-8].
Regards,
Hello,
Installed automake-1.16.3, but make check failed on Solaris 11.3 x86/x64.
$ uname -a
SunOS hidden 5.11 11.3 i86pc i386 i86pc Solaris
$ gcc --version
gcc (GCC) 10.2.0
$ ./configure --prefix=/opt/local CC=gcc CXX=g++
$ make
$ make -k check
:
FAIL: t/lex-clean-cxx.sh
FAIL: t/lex-depend-cx
Hello,
Trying to install automake-1.16 on Solaris 11.3 x86.
make check fails with
FAIL: t/lex-clean-cxx.sh
FAIL: t/lex-depend-cxx.sh
It seems to be caused by declaration of yylex ().
lex-clean-cxx.log & lex-depend-cxx.log are attached.
Tested with gcc 7.3.0,
% ./configure
% make
% make chec