Workaround for Ubuntu 18.04/18.10 problem with ARM toolchain to compile Calliope-Programs

37 views
Skip to first unread message

Ralph Maas

unread,
Mar 9, 2019, 3:00:19 PM3/9/19
to Open Roberta

We use openroberta on several (old) laptops with lubuntu.

After the upgrade to 18.10 (cosmic) we could no longer compile programs for Calliope.

The server log reported a missing "cstddef" library.


After long research we found the following post:

https://unix.stackexchange.com/questions/453032/how-to-install-a-functional-arm-cross-gcc-toolchain-on-ubuntu-18-04


With this information the following workaround helped for us:

----

sudo apt remove binutils-arm-none-eabi gcc-arm-none-eabi libnewlib-arm-none-eabi

download

https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2?revision=d830f9dd-cd4f-406d-8672-cca9210dd220?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,8-2018-q4-major


cp /home/roberta/Downloads/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2 /home/roberta

cd
/home/roberta

tar
-xjvf gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz2


We then start the server with this script:

---

#!/bin/bash
export PATH=$PATH:/home/roberta/gcc-arm-none-eabi-8-2018-q4-major/bin
cd
/home/roberta/robertalab
./ora.sh --start-from-git

---


Hope this post helps others with the same problem.


Best regards

Ralph

Beate Jost

unread,
Mar 15, 2019, 1:51:50 PM3/15/19
to Open Roberta
Wow, thank you very much!
I remember that we have had a couple of similar problems. Most of them disappeared after a some weeks for 18.04. But still on ubuntus, updated from 16.04 to 18.04 they still exist. Also it may help for the machines that have problems with running calliope and arduino compilers.  I will try your workaround asap.

Bests 
Beate
Reply all
Reply to author
Forward
0 new messages