You need a more recent version of the GNU ARM compiler, 7.x, and you only have 6.3. The recommended toolchain is the official one from ARM that can be downloaded at [1].
Just uncompress the archive somewhere in your filesystem (in /opt for example) and update your PATH variable. This is what I do and it works well.
Thanks, that did the trick. Wow, what happened with that compiler?
I now see that we have PR #10404 and a few issues about it. Hmm,
that PR could have given me a warning.
-- Kees
Hi,
I don't believe that we require GCC 7 anywhere, it should still work
fine to build with for example the ARM provided GCC 6 release, or the
older Ubuntu/Debian toolchains. It seemed more like there is a problem
with the Ubuntu packaged arm-none-eabi toolchain that produces broken
binaries.
For Ubuntu 18.04 there is a possibility to install the PPA. See [1].
What I did was to first remove (uninstall) all arm-none-eabi packages, and
I also had to uninstall the gcc-avr packages due to a conflict with /usr/lib/libcc1.so.0.0.0
Next, enable the PPA and install gcc-arm-embedded. That's it.
I was also trying to find a way to report the conflict between the packages gcc-avr
and gcc-arm-embedded. It will be a tough one to get it recognized by the right people.