Help request compiling GNAT 4.8.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux