Help request compiling GNAT 4.8.2

Didier Kryn kryn@in2p3.fr
Sat Apr 25 07:23:00 GMT 2015


     Hello Olivier.

     I also asked a question concerning gnat some weeks ago and didn't 
receive any answer. It seems that gnat developpers are not listening to 
this list. If you ever happen to find a way to contact them, I would be 
happy to know how. I tried with Adacore and they told me they were not 
in charge; I also asked the Debian maintainer but he didn't reply.

     Thanks.
                     Didier

Le 24/04/2015 21:53, Olivier Diotte a écrit :
> Bump
>
> On 4/22/15, Olivier Diotte <olivier@diotte.ca> wrote:
>> Hi,
>>
>> I'm trying to build GCC-4.8.2 (on Gentoo Linux x86_64) to (eventually)
>> build GHDL-0.31.
>>
>> Here's what I tried:
>> 1. Download gnat-gpl-2014-x86_64-linux-bin.tar.gz from
>> http://libre.adacore.com/download/
>> 2. Unpack the archive (into <gnat-gpl-bin>)
>> 3. Download gcc-4.8.2.tar.bz2 and unpack into <gcc-4.8.2>)
>> 4. mkdir <gcc-4.8.2>/build; cd <gcc-4.8.2>/build
>> 5. PATH="<gnat-gpl-bin>/bin:${PATH}" ../configure
>> --enable-languages=c,c++,ada && PATH="<gnat-gpl-bin>/bin:${PATH}" make
>>
>> The build inevitably fails with:
>> [snip]
>> mkdir -p ada/bldtools/snamest
>> rm -f ada/bldtools/snamest/snames.ads-tmpl
>> ada/bldtools/snamest/snames.adb-tmpl
>> ada/bldtools/snamest/snames.h-tmpl ada/bldtools/snamest/xsnamest.adb
>> ada/bldtools/snamest/xutil.ads ada/bldtools/snamest/xutil.adb
>> cp -p ../../gcc/ada/snames.ads-tmpl ../../gcc/ada/snames.adb-tmpl
>> ../../gcc/ada/snames.h-tmpl ../../gcc/ada/xsnamest.adb
>> ../../gcc/ada/xutil.ads ../../gcc/ada/xutil.adb ada/bldtools/snamest
>> (cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest )
>> a-stream.ads:69:04: run-time configuration error
>> a-stream.ads:69:04: entity "Ada.Tags.Prim_Ptr" not defined
>> gnatmake: "xsnamest.adb" compilation error
>> /bin/sh: ./xsnamest: No such file or directory
>> ../../gcc/ada/Make-generated.in:50: recipe for target 'ada/stamp-snames'
>> failed
>> make[3]: *** [ada/stamp-snames] Error 127
>> make[3]: Leaving directory '/home/dioo/Prog/gcc-4.8.2/build/gcc'
>> Makefile:4156: recipe for target 'all-stage1-gcc' failed
>> make[2]: *** [all-stage1-gcc] Error 2
>> make[2]: Leaving directory '/home/dioo/Prog/gcc-4.8.2/build'
>> Makefile:20118: recipe for target 'stage1-bubble' failed
>> make[1]: *** [stage1-bubble] Error 2
>> make[1]: Leaving directory '/home/dioo/Prog/gcc-4.8.2/build'
>> Makefile:885: recipe for target 'all' failed
>> make: *** [all] Error 2
>>
>> I don't understand this Ada.Tags.Prim_Ptr and the only thing I could
>> find related to it is
>> https://gcc.gnu.org/ml/gcc-patches/2012-07/msg00712.html (and this
>> change is already applied in 4.8.2)
>>
>> If anyone can help me bootstrap this, it would be much appreciated.
>>
>> Regards,
>> Olivier
>>




More information about the Gcc-help mailing list