Maybe aarch64-linux-gnu-gcc is not installed. Try
sudo apt-get install gcc-aarch64-linux-gnu
Answer from user7305360 on Stack OverflowToradex Community
community.toradex.com › technical support
Aarch64-none-linux-gnu-gcc: not found - Technical Support - Toradex Community
July 11, 2024 - Hi, i am using colibri-imx6ull SOM and trying to create the costume linux by using “Build U-Boot From Source Code | Toradex Developer Center” right now i am in the phase of host image creation in host device, while i am trying to follow the same i am facing the following issue lcl@lcl-Latitude-5430:~/workdir/u-boot$ make mrproper /bin/sh: 1: aarch64-none-linux-gnu-gcc: not found make: aarch64-none-linux-gnu-gcc: No such file or directory /bin/sh: 1: aarch64-none-linux-gnu-gcc: not found ...
GitHub
github.com › tensorchord › pgvecto.rs › issues › 190
aarch64 build error: linker `aarch64-linux-gnu-gcc` not found · Issue #190 · tensorchord/pgvecto.rs
December 17, 2023 - Using PgConfig("pg15") and `pg_config` from /usr/bin/pg_config Building extension with features pg15 Running command "/home/alarm/.rustup/toolchains/stable-aarch64-unknown-linux-gnu/bin/cargo" "build" "--release" "--features" "pg15" "--no-default-features" "--message-format=json-render-diagnostics" Compiling proc-macro2 v1.0.70 Compiling libc v0.2.151 Compiling serde v1.0.193 Compiling syn v1.0.109 error: linker `aarch64-linux-gnu-gcc` not found | = note: No such file or directory (os error 2) error: could not compile `serde` (build script) due to previous error warning: build failed, waiting for other jobs to finish...
Author ahpohl
Linux Man Pages
linux.die.net › man › 1 › aarch64-linux-gnu-gcc
aarch64-linux-gnu-gcc(1) - Linux man page
The option -fno-gnu89-inline explicitly tells GCC to use the C99 semantics for "inline" when in C99 or gnu99 mode (i.e., it specifies the default behavior). This option was first supported in GCC 4.3. This option is not supported in -std=c90 or -std=gnu90 mode.
Stack Overflow
stackoverflow.com › questions › 72183352 › bin-sh-aarch64-linux-gnu-gcc-ar-command-not-found-on-centos-7
centos7 - /bin/sh: aarch64-linux-gnu-gcc-ar: command not found on centos-7 - Stack Overflow
binutils-aarch64-linux-gnu → yum install binutils-aarch64-linux-gnu → provides /usr/bin/aarch64-linux-gnu-gcc-ar
Stack Overflow
stackoverflow.com › questions › 64920256 › aarch64-linux-gnu-g-cross-compiling-to-arm64-error
gcc - aarch64-linux-gnu-g++ cross compiling to arm64 error - Stack Overflow
Probably you need to install glibc-aarch64-linux-gnu-2.24-2.sdl7.2.noarch.rpm andglibc-aarch64-linux-gnu-devel-2.24-2.sdl7.2.noarch.rpm. sys/socket.h is present in the second package. As far as I know, there is no rpm package available directly with the headers of libstdc ++ for centos 7. One solution would be to cross compile libstd ++ directly from source. ... Sign up to request clarification or add additional context in comments. ... I tried to install glibc-headers-2.17-317.el7.aarch64.rpm but it failed as it is the wrong arch type on my development machine which is x86 running centos.
GitHub
github.com › flathub › org.freedesktop.Sdk.Extension.rust-stable › issues › 118
error: linker `aarch64-linux-gnu-gcc` not found · Issue #118 · flathub/org.freedesktop.Sdk.Extension.rust-stable
March 3, 2022 - Is there any specific configuration needed to build on aarch64? Looking at the manifest, I get the impression that a aarch64 linker is already in place. Full error log here: https://flathub.org/bui...
Author olof-nord
Arch Linux Forums
bbs.archlinux.org › viewtopic.php
I can't cross compile to aarch64-linux-gnu with clang / Programming & Scripting / Arch Linux Forums
July 28, 2021 - "/usr/bin/aarch64-linux-gnu-ld" ... /usr/bin/../lib64/gcc/aarch64-linux-gnu/11.1.0/../../../../lib64/Scrt1.o: error adding symbols: file in wrong format clang-12: error: linker command failed with exit code 1 (use -v to see invocation) ... Please edit your posts and use [ code ] tags (not quote tags) ...
Debian
packages.debian.org › sid › gcc-aarch64-linux-gnu
Debian -- Details of package gcc-aarch64-linux-gnu in sid
dep: gcc-15-aarch64-linux-gnu (>= 15.2.0-2~) GNU C compiler for the aarch64-linux-gnu architecture · rec: libc-dev [arm64] Package not available · rec: libc6-dev [arm64] GNU C Library: Development Libraries and Header Files also a virtual package provided by libc6.1-dev ·
Texas Instruments E2E
e2e.ti.com › support › processors-group › processors › f › processors-forum › 925224 › compiler-am6548-where-can-i-find-the-aarch64-none-linux-gnu-gcc-toolchain-to-download
Compiler/AM6548: Where can I find the aarch64-none-linux-gnu-gcc toolchain to download - Processors forum - Processors - TI E2E support forums
On TI SDK Download page for SDK 7.0 Independent toolchain is still old gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz (aarch64-linux-gnu-gcc), From where can I download independent toolchain for aarch64-none-linux-gnu-
Arch Linux
archlinux.org › packages › extra › x86_64 › aarch64-linux-gnu-gcc
Arch Linux - aarch64-linux-gnu-gcc 15.2.0-1 (x86_64)
View the file list for aarch64-linux-gnu-gcc · View the soname list for aarch64-linux-gnu-gcc
Raspberry Pi Forums
forums.raspberrypi.com › board index › programming › bare metal, assembly language
gcc-aarch64-linux-gnu on a RP4 - Raspberry Pi Forums
The following packages have unmet dependencies: crossbuild-essential-arm64 : Depends: gcc-aarch64-linux-gnu (>= 4:8.3) but it is not installable or gcc:arm64 but it is not installable Depends: g++-aarch64-linux-gnu (>= 4:8.3) but it is not installable or g++:arm64 but it is not installable ...
Arch Linux
bugs.archlinux.org › task › 70688
FS#70688 : [aarch64-linux-gnu-gcc] Can't link a simple C program using custom --sysroot
I found this bug after I filed · FS#76279 . gcc correctly find /usr/aarch64-linux-gnu/lib/libc.so. But the file is an ld script that points to /lib/libc.so.6. If you manually modify the script to point to /usr/aarch64-linux-gnu/lib/libc.so.6, it will work. For comparison, /usr/aarch64-linux-gnu/lib/libc.so points to /usr/aarch64-linux-gnu/lib/libc.so.6 on Debian. Comment by Chia-I Wu (olv) - Monday, 24 October 2022, 00:12 GMT · By the way, notice how "--with-sysroot" differs on Arch and Ubuntu.
Medium
medium.com › geekculture › error-command-usr-bin-aarch64-linux-gnu-gcc-failed-with-exit-code-1-36dfac6c72d6
error: command ‘/usr/bin/aarch64-linux-gnu-gcc’ failed with exit code 1 - Geek Culture - Medium
October 14, 2022 - error: command ‘/usr/bin/aarch64-linux-gnu-gcc’ failed with exit code 1 · ~ #include <Python.h> ^~~~~~~~~~ compilation terminated. ~ ~ legacy-install-failure ~ You need Python header files. You can solve the problem by installing pythonx.x-dev with apt-get. (replace x.x with the python version you are using) sudo apt-get install python3.8-dev · After that, it will be installed without issues. Note: If it is not Python3, python-dev seems to be the way to go.
Stack Overflow
stackoverflow.com › questions › 74721918 › error-linker-aarch64-unknown-linux-gnu-gcc-not-found-m1-mac
rust - error: linker `aarch64-unknown-linux-gnu-gcc` not found - M1 Mac - Stack Overflow
December 7, 2022 - [build] target = "aarch64-unknown-linux-gnu" [target.aarch64-unknown-linux-gnu] linker = "aarch64-unknown-linux-gnu-gcc"