On 2023-10-05 12:42, Frank Kühndel wrote:
Hello Emanuel,

I cannot say anything about your specific issue. I can just provide this information:

Our CI/CD builds rtems-tools with ADA on Ubuntu 22.04 for RSB, Git commit 35c73203df1e0bc7f0935cfb37ebc6581d8f1103 for aarch64, arm, bfin, i386, m68k, mips, moxie, nios2, or1k, powerpc, riskv, sparc, x86_64. The other architectures seem to have problems. Moreover, ADA is only build but not tested.

The big issue between building with and without ADA comes down to have Ubuntu specially setup for the RTEMS Source Builder to being able to build ADA. I need these packages:

bzip2
gcc-12
g++-12
gnat-12

And I need the following links (all g** compiler tools must have the same version 12 and all must be available without the "-12" postfix):

ln -s gcc /usr/bin/cc

for exe in /usr/bin/gcc*12 /usr/bin/gcov*12 /usr/bin/g++*12; do
    ln -s $exe ${exe%-12}
done

This did the trick, at least I can get the tools to compile.
We probably should mention that somewhere in the ADA set ups.
One glitch I noticed, that as soon as ubuntu updates the compiler again, the links get removed, so the soft links has to be made again.

THANKS, emanuel

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to