Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support
joel at rtems.org
Wed Dec 19 17:36:56 UTC 2018
I'm having trouble even getting a native Ada toolset built from gcc 7.4.0.
I can build gcc with
Ada from the gcc master but gcc 7.4.0 says I don't have proper tools and
Ada. Admittedly, I am on Cent)S 7 which has an ancient gcc 4.8 native
toolset but I
don't see why I can build one but not the other.
And the Ada in GCC's master is apparently stricter than gcc 7.4.0 was. I
have a patch
to fix a fair number of with/use warnings in gnat 7.4.0 so it will compile
with the gcc master.
Any hints on how any of you are getting a matching native Ada compiler to
make this work?
On Mon, Dec 3, 2018 at 12:19 AM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:
> On 02/12/2018 23:36, Chris Johns wrote:
> > On 30/11/2018 19:01, Sebastian Huber wrote:
> >> I regularly build the RTEMS 5 tools with Ada support using the RSB, e.g.
> >> cd $RSB/rtems
> >> ../source-builder/sb-set-builder --prefix=/opt/rtems/5 5/rtems-sparc
> > Great. Have you posted any of these builds to build at rtems.org?
> Yes, I always build and report --with-ada on arm, powerpc, and sparc.
> You see this in the report at a glance in the extra
> >> The host and target GCC versions must match to build Ada. So, building
> the 6.3.0
> >> RTEMS target GCC with a 7.1.0 host GCC will not work.
> > Should the RSB check the version of GCC's Gnat?
> I guess neither you nor I have the time to add this. Ada support has a
> very low priority for me.
> >> You must not have a previous installation in the prefix if you build
> new tools
> >> with Ada support.
> > Oh this complicated issue again . I suspect this one is not going to
> go away
> > in a hurry and the solution will need to be clearly thought out.
> > Could you please update the ticket with this detail so it is captured? I
> > not built Ada for RTEMS so I am not sure what the exe prefixes etc are.
> I think
> covers all major problems with an existing installation.
> >> The documentation
> >> should probably be updated to mention this.
> > I see a patch from you, thank you. I will review it today.
> >> I would use the latest RTEMS.
> > Sure and thanks.
> Building the tools with Ada support in RTEMS 4.11 and before is a lot
> more complicated. I also fixed a couple of Ada related issues during the
> RTEMS 5 development cycle. I run the Ada tests by default since a couple
> of months.
> > Chris
> >  https://devel.rtems.org/ticket/2540
> Sebastian Huber, embedded brains GmbH
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone : +49 89 189 47 41-16
> Fax : +49 89 189 47 41-09
> E-Mail : sebastian.huber at embedded-brains.de
> PGP : Public key available on request.
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> users mailing list
> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users