https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116119
--- Comment #5 from maths soso <h.sousou97 at gmail dot com> --- I did install both gcc and binutils for $TARGET in $PREFIX export WORKSPACE_ROOT=~/rpi0/toolchain export PREFIX=${WORKSPACE_ROOT}/toolchain export TARGET=arm-linux-gnueabihf export SYSROOT=${WORKSPACE_ROOT}/../sysroot export PATH=${PREFIX}/bin:$PATH commands : ../../src/binutils-2.31/configure --target=${TARGET} --prefix=${PREFIX} --with-arch=armv8-a --with-fpu=vfp --with-float=hard --disable-multilib make make install ../../src/gcc-8.3.0/configure --prefix=${PREFIX} --target=${TARGET} --with-sysroot=${SYSROOT} --enable-languages=c,c++ --disable-multilib --enable-multiarch --with-arch=armv8-a --with-fpu=vfp --with-float=hard make make install I guess I need to build it with crosstool-ng.