Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 502444

Summary: dev-lang/gnat-gcc-? version bump
Product: Gentoo Linux Reporter: George Shapovalov (RETIRED) <george>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal CC: anton.kochkov, esigra, reznikmm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 421739    

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/x86_avx.cc:27
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
removed