|
From: | Paul Eggert |
Subject: | Re: Error compiling bison 3.4.2 on Solaris |
Date: | Thu, 17 Oct 2019 12:49:20 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 10/16/19 6:36 AM, Dagobert Michelsen wrote:
I would think these are all compiler bugs and probably wouldn’t worry too much.
Thanks for mentioning the problems.I built and and ran the Bison tests with Bison HEAD on Solaris 10 sparc with Studio 12.3 (which supports C89 and C++03 by default, if I'm not mistaken) and found one failure that was definitely a C++ compiler bug, another one where I wasn't sure (I don't use C++ much) but a simple workaround is available, two failures due to Solaris 10 /usr/bin programs not quite conforming to POSIX, three integer overflow bugs (ouch!), and two portability bugs where Bison was incorrectly assuming partial support by Studio for C99 and for GCC __attribute__ syntax. I installed the attached patches into Bison HEAD to fix everything but the C++ compiler bug, which I just now reported separately <https://lists.gnu.org/r/bug-bison/2019-10/msg00058.html>.
If you build Bison HEAD (which requires special tools) I suspect that almost all the problems are now fixed on Solaris x86 as well, but I haven't checked this.
0001-autoconf-update.patch
Description: Text Data
0002-gnulib-update.patch
Description: Text Data
0003-c-improve-port-of-stdint.h-usage-to-pre-C99.patch
Description: Text Data
0004-c-port-YY_ATTRIBUTE_UNUSED-to-Sun-C-5.12.patch
Description: Text Data
0005-bison-check-version-numbers-more-carefully.patch
Description: Text Data
0006-bison-check-for-int-overflow-when-scanning.patch
Description: Text Data
0007-bison-check-for-int-overflow-in-token-numbers.patch
Description: Text Data
0008-tests-port-to-Solaris-10-sed.patch
Description: Text Data
0009-tests-port-to-Solaris-10-grep.patch
Description: Text Data
0010-regen.patch
Description: Text Data
0011-c-port-to-Sun-C-5.12.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |