Page MenuHomeSolus

Enable ada support in GCC
Closed, ResolvedPublic

Description

We already have GCC, but ada language support is not enabled.

Revisions and Commits

Event Timeline

T4350 probably requires gcc-ada as well

I managed to bootstrap it. I will provide a link to binary packages soon. For now I have the package.yml files that I used for the bootstrap.

  • gnat, puts a binary build of GNAT in /opt/bin/gnat
  • gcc with ada, bootstrapped using the gnat package above, by building the entire gcc package with the binary build of gcc above.
  • gcc-ada, The same package, but built using gcc-ada itself, not the binary GNAT.

I also added the binary packages.

DataDrake renamed this task from Request gcc-ada to Enable ada support in GCC.Jul 13 2018, 9:39 AM
DataDrake triaged this task as Normal priority.
DataDrake edited projects, added Software; removed Package Requests.
DataDrake moved this task from Backlog to Improvement on the Software board.
DataDrake updated the task description. (Show Details)

It appears that gcc-ada is required for Intel graphics to work on most boards when compiling CoreBoot.
So I had found when attempting to compile CoreBoot (for the first time) for my grandmother's old computer (apparently it is almost completely supported, with just a few things left which are merely untested), after building for her a new computer (AMD B450-based).

Having some trouble finding a link for a prebuilt gnat with a consistent URL. If anyone has a link I can bootstrap support for it.

joebonrichie changed the task status from Open to In Progress.Apr 19 2022, 1:44 PM

Thanks!

I'm still trying to get to the root of this, however it seems that there is an issue compiling the x86-64 crosschain for GCC 8 (no idea why this is what is needed for Coreboot, at least the Dasharo implementation for the Optiplex 7010/9010) that comes from the gcc-ada headers.