This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to compile arm toolchain on ubuntu 22.04

Hi,

Trying to compile gcc-arm-arm-none-eabi-abe manifest with the instructions provided in the releases notes of 11.2.

I created a folder 'arm-toolchain' which contains two subfolders, abe, and a 'build' folder.

Following the steps, I configure abe. Installed all dependencies I am able to. The following ones I can't seem to resolve

checking for autoconf... autoconf
checking for automake... automake
checking for libtool... no
configure: WARNING: You should install autoconf, automake, and libtool

sudo apt-get install libtool succeeded, yet this warning remains.

When I continue to build the toolchain with

../abe/abe.sh --manifest gcc-arm-arm-none-eabi-abe-manifest.txt --build all

I get the following compile error:

In file included from /usr/include/signal.h:328,
from ../../gnulib/import/signal.h:52,
from targ-map.c:7:
targ-map.c:412:17: error: initializer element is not constant
412 | { "SIGSTKSZ", SIGSTKSZ, TARGET_SIGSTKSZ },
| ^~~~~~~~
targ-map.c:412:17: note: (near initialization for ‘cb_init_signal_map[18].host_val’)

Who can help me further?

Many thanks!

gcc-arm-arm-none-eabi-abe-manifest