Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502444 - dev-lang/gnat-gcc-? version bump
Summary: dev-lang/gnat-gcc-? version bump
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Blocks: 421739
  Show dependency tree
Reported: 2014-02-25 23:00 UTC by George Shapovalov (RETIRED)
Modified: 2017-08-30 18:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description George Shapovalov (RETIRED) gentoo-dev 2014-02-25 23:00:04 UTC
I was trying to add gnat-gcc-4.7 to the tree. As usual, new major versions bring new ("major") problems. 

1. The packaging: the upstream ceased providing separate sources for gcc-core, gcc-ada, etc. Now it is just one big archive only. Trivial to adapt.

2. It seems the thread model gnat is no longer available?
Solution: adapt gnatbuild.eclass to select --with-threads=gnat for the range of versions rather than >= :
if version_is_at_least 4.3 && ! version_is_at_least 4.7 ; then
einfo "setting gnat thread model"

3. now it fails well into the build on libitm/config/x86/
make[2]: Leaving directory '/var/tmp/portage/dev-lang/gnat-gcc-4.7.3/work/build/x86_64-pc-linux-gnu/libitm'
Makefile:15203: recipe for target 'all-target-libitm' failed
Will have to investigate (never saw this part in earlier versions)..
Comment 1 Fedja Beader 2014-09-05 20:40:35 UTC
Nothing you guys cannot majorly fix.

Also bump.
Comment 2 Erik 2014-12-30 21:47:26 UTC
I could create an ebuild of gnat-gcc-4.8.4 that sort-of works, see bug #520154.
Comment 3 Erik 2015-02-22 23:39:03 UTC
GCC 4.7 is now obsolete, and so is this bug report. It should be closed, or updated to refer to version 4.8.4 or later.
Comment 4 Anton Kochkov 2016-10-13 12:30:42 UTC
Those version should be added nowawadays, to match the main gcc versions:

     (5.1.0) (**)5.1.0^s
     (5.2.0) (**)5.2.0^s
     (5.3.0) (~)5.3.0^s
     (5.4.0) (~)5.4.0^s
     (6.2.0) (**)6.2.0-r1^s
Comment 5 Pacho Ramos gentoo-dev 2017-08-30 18:51:49 UTC