Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521518 - dev-lang/gnat-gcc-4.8.3: ebuild and eclass to build newer gnat-gcc's
Summary: dev-lang/gnat-gcc-4.8.3: ebuild and eclass to build newer gnat-gcc's
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 547358
  Show dependency tree
 
Reported: 2014-08-29 18:34 UTC by Alex Orange
Modified: 2015-05-02 03:20 UTC (History)
1 user (show)

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


Attachments
ebuild for gnat-gcc-4.8.3 (gnat-gcc-4.8.3.ebuild,1.88 KB, text/plain)
2014-08-29 18:35 UTC, Alex Orange
Details
Patch for gnatbuild eclass (gnatbuild.eclass.patch,1013 bytes, patch)
2014-08-29 18:37 UTC, Alex Orange
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Orange 2014-08-29 18:34:26 UTC
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
Comment 1 Alex Orange 2014-08-29 18:35:18 UTC
Created attachment 383920 [details]
ebuild for gnat-gcc-4.8.3
Comment 2 Alex Orange 2014-08-29 18:37:56 UTC
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.
Comment 3 Alex Orange 2014-08-29 21:01:46 UTC
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.
Comment 4 Alex Orange 2014-09-01 03:06:48 UTC
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.
Comment 5 Olivier Diotte 2015-05-02 03:20:04 UTC
Hi,

I can't find the new bug report regarding doing this in sys-devel/gcc. What is the status on this?