Problems with RTEMS toolchain build 4.12 & 5 incl. Ada support

chris at kluge-rocks.de chris at kluge-rocks.de
Mon Dec 3 18:39:29 UTC 2018


Hi,

FYI, I've added the scripts and stuff I used for the build to github.

scripts used for the toolchain build:
  https://github.com/CTrocks/rtems-build-scripts

Dockerfile for the build (uses the above scripts):
  https://github.com/CTrocks/rtems-build-toolchain-docker

I'll drop a message here once I can provide something which might be of interest. 

Thanks again!
Chris



December 3, 2018 1:18 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 --with-ada
>> 
>> 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
> 
> languages="$languages,ada"
> 
> line.
> 
>>> 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 [1]. 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 have
>> not built Ada for RTEMS so I am not sure what the exe prefixes etc are.
> 
> I think
> 
> https://devel.rtems.org/ticket/2540#comment:16
> 
> covers all major problems with an existing installation.
> 
>>> The documentation
>>> 
>>> https://docs.rtems.org/branches/master/rsb/building-tools-and-rtems.html#controlling-the-build
>>> 
>>> 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
>> 
>> [1] 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.



More information about the users mailing list