AdaCore / gprbuild

GPRbuild is an advanced build system designed to help automate the construction of multi-language systems.
Other
65 stars 21 forks source link

On MSYS2, gprconfig fails for i686, but not x86_64 #92

Closed tom-kacvinsky closed 3 years ago

tom-kacvinsky commented 3 years ago

I am using the latest MSYS2 with the package mingw-w64-i686-gprbuild-bootstrap-git (and the similar package for x86_64). The 64-bit version of gprconfig does not fail, but the 32-bit version fails with this Ada exception

Unexpected exception while parsing knowledge base: raised PROGRAM_ERROR : EXCEPTION_ACCESS_VIOLATION
[C:\msys64\opt\gprbuild\bin\gprconfig.exe]
0x8fd698 schema__date_time__parse_year at ???

Invalid setup of the gprconfig knowledge base
GNAT-TEMP-000057.TMP:1:01: "project" expected
gprbuild: processing of configuration project "C:\msys64\tmp\GNAT-TEMP-000057.TMP" failed

I tried building the gprbuild project hosted on GitHub. Same problem. The interesting this is that when I uninstall the MSYS2 package and build gprbuild from source, bootstrapping gprbuild first, the bootstrap version works, but the installed (release) version fails with similar Ada exceptions.

Fabien-Chouteau commented 3 years ago

Thank you @tom-kacvinsky I will followup on the msys2 issue for now.