Closed eli0tc closed 6 years ago
This is a bug/missing feature in older binutils versions. Is it possible to upgrade the arm toolchain there? Could you post the version of the tools installed? Use the script in RIOT/dist/tools/ci/print_toolchain_versions.sh
I tried an apt-get install build-essential with no luck ; I don't have the right to do so. Here is the output of print_toolchain_versions.sh:
Installed toolchain versions
----------------------------
native gcc: gcc (Debian 4.9.2-10) 4.9.2
msp430-gcc: msp430-gcc (GCC) 3.2.3
avr-gcc: missing/error
arm-none-eabi-gcc: arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 4.9.3 20150303 (release) [ARM/embedded-4_9-branch revision 221220]
mips-mti-elf-gcc: missing/error
./print_toolchain_versions.sh: 92: ./print_toolchain_versions.sh: clang: not found
arm-none-eabi-newlib: "2.2.0"
mips-mti-elf-newlib: missing/error
avr-libc: missing/error (missing/error)
cppcheck: missing
coccinelle: missing
git: git version 2.1.4
The GCC ARM toolchains on the iot-lab frontends (this is a global issue there) are a bit outdated. I'm looking into this to see how we can update them.
In the mean time, you can try building against the latest stable version: 2017.10, instead of master, in step 2. use:
git clone -b 2017.10-branch https://github.com/RIOT-OS/RIOT.git parts/RIOT
Ok, I pushed the fix for the make setup-riot
used in step 2.
Regarding the update of the toolchain on iot-lab, this is under discussion in the maintenance team. Because IoT-LAB provides support for several OSes, including RIOT, Contiki and TinyOS, we have to think to a good solution and do some testing before.
Also, this problem is only IoT-Lab related, so next time please send an email to admin@iot-lab.info or open an issue on the IoT-LAB github project: https://github.com/iot-lab/iot-lab/issues.
Description
Wether I try to build the examples for the m3 node (following the tutorial https://www.iot-lab.info/tutorials/riot-compilation/) on the Strasbourg site or the Grenoble site, the build fails and I get an error message.
Steps to reproduce the issue
As stated in the tutorial:
<login>@<site>:~/iot-lab/parts/RIOT/examples/default$ BOARD=iotlab-m3 make all
Actual results
Versions
Build environment: Grenoble and Strasbourg Fit IOT Lab site ssh