AdaCore / gnat-llvm

LLVM based GNAT compiler
179 stars 18 forks source link

Compilation fails on macOS. #10

Closed rperrot closed 4 years ago

rperrot commented 4 years ago

Hi,

I wanted to test the code but it fails to compile with the following error :

gnatllvm-arrays.ads:226:27: "Is_Single_Aggregate" is undefined

   compilation of gnatllvm-compile.adb failed

gprbuild: *** compilation phase failed

I followed the instruction on the main page. (note: macOS 10.14.6, GNAT Community 2019, clang-10 (from macports) )

ArnaudCharlet commented 4 years ago

Right, this recent change requires a corresponding change in gnat_src, which will be done a bit later. In the mean time, you can revert to revision 5db6ab8f60e which doesn't need this gnat change.

rperrot commented 4 years ago

Ok thanks for your quick answer !

ArnaudCharlet commented 4 years ago

By the way, the needed GNAT change has now been merged in gcc.gnu.org.