Re: [PATCH 00/14] glr2.cc: fix linking conflicts

Tom Shields via Bug fixes and other improvements to Bison <[email protected]> Mon, 13 Sep 2021 10:37:54 -0500
Newsgroups gmane.comp.parsers.bison.patches
Message-ID <[email protected]>
Hans,

I tried building the Ox 1.6 distributed release as follows:

./configure --enable-maintainer-mode BISON=3Dbison-3.8.1.21

        =20
Powered by Mailbutler =
<https://www.mailbutler.io/?utm_source=3Dwatermark&utm_medium=3Demail&utm_=
campaign=3Dwatermark-essential-email>, the email extension that does it =
all

Note: this uses the Apple Xcode C compiler.

I get fails on these Ox test cases: bison-3.x-calc, bison-3.x-calc-pure, =
bison-3.x-calc-push, bison-3.x-calc-pure-treeviz & =
bison-3.x-calc-push-treeviz.

A quick check of the test-suite.log file shows that the default =
=E2=80=98yyerror=E2=80=99 and =E2=80=98yylex=E2=80=99 signatures changed =
in the Bison default C skeleton at some point after the release of Ox =
1.6, which was built & tested with Bison 3.3.2.

I=E2=80=99m not sure it is worth upgrading Ox 1.6 (and possibly 1.7 & =
1.8), but I=E2=80=99ll see if some judiciously applied =E2=80=98#ifdef's =
can handle the skeleton changes.

On the other hand, I don=E2=80=99t get a fail on the oxpt test case.

Please send me the config.log and oxpt.log files from your failed test =
of Ox 1.6 when you get a chance.

Thanks,

Tom


> On Sep 13, 2021, at 9:21 AM, Thomas Shields =
<[email protected]> wrote:
>=20
> Thanks, Hans,
>=20
> I=E2=80=99ll look into these fails later today.
>=20
> Tom Shields
>=20
> Sent from Tom's iDevice
>=20
>> On Sep 13, 2021, at 8:10 AM, Hans =C3=85berg <[email protected]> =
wrote:
>>=20
>> =EF=BB=BF
>>> On 13 Sep 2021, at 07:29, Akim Demaille <[email protected]> =
wrote:
>>>=20
>>> Hi Tom,
>>>=20
>>>>> Le 12 sept. 2021 =C3=A0 20:50, Tom Shields a =C3=A9crit :
>>>>=20
>>>> Akim,
>>>>=20
>>>> The Ox attribute grammar evaluator generator compiles, links, and =
passes its regression tests under macOS Big Sur (v11.5.2) using this =
version of Bison with the following C++ compilers:
>>>> - Xcode (12.5.1): g++ reports its version as =E2=80=98Apple clang =
version 12.0.5 (clang-1205.0.22.11)
>>>> - GNU (Homebrew): g++ reports its version as =E2=80=98Homebrew GCC =
11.2.0) 11.1.0=E2=80=99
>>>> - LLVM (Homebrew): clang++ reports it version as =E2=80=98Homebrew =
clang version 12.0.1'
>>>=20
>>> Wonderful news, thanks a lot!
>>=20
>> With ox-1.6 and gcc (MacPorts gcc11 11.2.0_1) 11.2.0 on the same =
platform, there are some make check fails:
>> FAIL: bison-3.x-calc
>> FAIL: bison-3.x-calc-pure
>> FAIL: oxpt
>>=20
>=20