Attached below are an ebuild and eclass to build newer gnat-gcc's (include gnat-gcc-4.8.3). This has been tested (i.e. gnat-gcc-4.8.3 was built successfully). Reproducible: Always
Created attachment 383920 [details] ebuild for gnat-gcc-4.8.3
Created attachment 383922 [details, diff] Patch for gnatbuild eclass Patch does two things: 1. Remove some unneeded files from the bootstrap compiler that are conflicting with header files provided by the new (being built) version. 2. Change the configuration for versions at least 4.7 to use the posix thread model because the gnat thread model has been removed.
Seems there's a problem with the output filenames (like gnatgnatmake instead of gnatmake). I'll update the files when I have a fix for this.
I'm going to suggest we do ada in sys-devel/gcc instead of here. I'll explain more in a new bug, but it's a fairly minor change to toolchain.eclass versus some rather major changes to gnat-gcc. Also, because of changes upstream it's a lot easier to do it this way.
Hi, I can't find the new bug report regarding doing this in sys-devel/gcc. What is the status on this?