Where to get, or how to build toolchain "aarch64 for aarch64 linux"? ? Error trying to build as in "release notes"

Where to get, or how to build toolchain "aarch64 for aarch64 linux"?

I try to do as described in ABE release notes:

git clone https://git.linaro.org/toolchain/abe.git

run ../abe/abe.sh --manifest gcc-arm-aarch64-none-linux-gnu-abe-manifest.txt --build all

and

../abe/abe.sh --target aarch64-linux-gnu --build all

on aarch64 with debian buster, but got some errors.\\

../abe/abe.sh --manifest gcc-arm-aarch64-none-linux-gnu-abe-manifest.txt --build all

...

RUN: (hello_world)
RUN: aarch64-none-linux-gnu-g++  -o /tmp/hi /tmp/hello.cpp
In file included from /abe/d/builds/destdir/aarch64-unknown-linux-gnu/aarch64-none-linux-gnu/include/c++/9.2.1/aarch64-none-linux-gnu/bits/c++config.h:524,
                 from /abe/d/builds/destdir/aarch64-unknown-linux-gnu/aarch64-none-linux-gnu/include/c++/9.2.1/iostream:38,
                 from /tmp/hello.cpp:1:
/abe/d/builds/destdir/aarch64-unknown-linux-gnu/aarch64-none-linux-gnu/include/c++/9.2.1/aarch64-none-linux-gnu/bits/os_defines.h:39:10: fatal error: features.h: No such file or directory
   39 | #include <features.h>
      |          ^~~~~~~~~~~~
compilation terminated.
WARNING: Previous command failed
WARNING: Previous command failed
ERROR (#71): build_step_HELLO_WORLD (Hello World test failed)
ERROR (#118): perform_build_steps (Step HELLO_WORLD failed)
ERROR (#309): build_failure (Build process failed after 46 minutes)

system:

root@27efb3f59b5d:/abe/d# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 10 (buster)
Release:        10
Codename:       buster
root@27efb3f59b5d:/abe/d# uname -a
Linux 27efb3f59b5d 5.8.12-meson64 #trunk SMP PREEMPT Sun Sep 27 00:11:54 EEST 2020 aarch64 GNU/Linux

Dockerfiles:
Ubuntu
from ubuntu:18.04

ENV USERID=1000
ENV DEBIAN_FRONTEND=noninteractive
run apt-get update; \
    apt-get install -y autoconf automake libtool autogen wget gcc mc lsb-release sudo pkg-config \
    git flex bison dejagnu libncurses5-dev zlib1g-dev texinfo python libpython2.7-dev alien gawk g++ rsync

run wget raw.githubusercontent.com/.../git-new-workdir; \
    chmod +x git-new-workdir; cp git-new-workdir /usr/local/bin/
#run cp /usr/share/doc/git/contrib/workdir/git-new-workdir /usr/local/bin; chmod +x /usr/local/bin/git-new-workdir
workdir /abe
run useradd -u $USERID -m user; \
    echo "user     ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user
user user

CentOS:
from centos:8
ENV USERID=1000
run yum install --enablerepo PowerTools -y autoconf automake libtool autogen wget gcc-c++ \
    redhat-lsb-core git flex bison dejagnu which sudo mc \
    ncurses-devel zlib-devel texinfo python2-devel

#run wget raw.githubusercontent.com/.../git-new-workdir; \
#    chmod +x git-new-workdir; cp git-new-workdir /usr/local/bin/
run cp /usr/share/doc/git/contrib/workdir/git-new-workdir /usr/local/bin; chmod +x /usr/local/bin/git-new-workdir
run useradd -u $USERID -m user; \
    echo "user     ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/user

user user
workdir /abe







More questions in this forum