Closed asyncbridge closed 4 months ago
My test pc is Nvidia Jetson and arch is aarch64. I think it's related to this issue.
Similar problem.
>>> toolchain-external-custom Extracting
mkdir -p /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host
mkdir -p /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/target
gzip -d -c /srv/develop/openipc-firmware/output/buildroot-2024.02.1/dl/toolchain-external-custom/cortex_a7_thumb2-gcc13-musl-4_9.tgz | tar --strip-components=1 -C /srv/develop/openipc-firmware/output/build/toolchain-external-custom --exclude='usr/lib/locale/*' -xf -
rm -rf /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host/opt/ext-toolchain
mkdir -p /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host/opt/ext-toolchain
mv /srv/develop/openipc-firmware/output/build/toolchain-external-custom/* /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host/opt/ext-toolchain/
>>> toolchain-external-custom Patching
>>> toolchain-external-custom Configuring
mkdir -p /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/host-ccache/host/ /srv/develop/openipc-firmware/output/per-package/host-ccache/host/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/host-skeleton/host/ /srv/develop/openipc-firmware/output/per-package/host-skeleton/host/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/skeleton/host/ /srv/develop/openipc-firmware/output/per-package/skeleton/host/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host
mkdir -p /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/target
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/host-ccache/target/ /srv/develop/openipc-firmware/output/per-package/host-ccache/target/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/target
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/host-skeleton/target/ /srv/develop/openipc-firmware/output/per-package/host-skeleton/target/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/target
rsync -a --hard-links --link-dest=/srv/develop/openipc-firmware/output/per-package/skeleton/target/ /srv/develop/openipc-firmware/output/per-package/skeleton/target/ /srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/target
Cannot execute cross-compiler '/srv/develop/openipc-firmware/output/per-package/toolchain-external-custom/host/opt/ext-toolchain/bin/arm-openipc-linux-musleabi-gcc.br_real'
make[2]: *** [package/pkg-generic.mk:273: /srv/develop/openipc-firmware/output/build/toolchain-external-custom/.stamp_configured] Error 1
make[1]: *** [Makefile:82: _all] Error 2
make[1]: Leaving directory '/srv/develop/openipc-firmware/output/buildroot-2024.02.1'
make: *** [Makefile:25: build] Error 2
Linux 5.15.0-112-generic #122~20.04.1-Ubuntu SMP x86_64 x86_64 x86_64 GNU/Linux
You should use Ubuntu 22.04 on top of x86_64 platform
Thanks for your answer. It worked well in Ubuntu 22.04 x86_64 platform.
Hello,
According to firmware build guide, I tried to build firmware for HiSilicon hi3516cv300_ultimate. I got below error and compilation was failed. The environment as follows. Is some configuration wrong? How to find the root cause of this issue?
This is the error log.
log.txt