You are not logged in.
Hi All,
Could we please have arm-linux-gnueabihf-gcc available as an installable package? This toolchain is essential for supporting ARMv7 devices running Linux, such as Raspberry Pi 2/3 in 32‑bit mode, BeagleBone boards, and other embedded Linux platforms.
-Thanks,
Anand
Offline
I found this in AUR:
https://aur.archlinux.org/packages?O=0& … eabihf-gcc
Offline
Yes, I attempted to build on an x86 CPU, but the process failed. I also tried the suggested solution, yet it still isn’t working
# 1. Headers
git clone https://aur.archlinux.org/arm-linux-gnu … eaders.git
cd arm-linux-gnueabihf-linux-api-headers && makepkg -si
# 2. Binutils
git clone https://aur.archlinux.org/arm-linux-gnu … nutils.git
cd arm-linux-gnueabihf-binutils && makepkg -si
# 3. GCC Stage1
git clone https://aur.archlinux.org/arm-linux-gnu … stage1.git
cd arm-linux-gnueabihf-gcc-stage1 && makepkg -si
# 4. Glibc
git clone https://aur.archlinux.org/arm-linux-gnueabihf-glibc.git
cd arm-linux-gnueabihf-glibc && makepkg -si
# 5. GCC Stage2
git clone https://aur.archlinux.org/arm-linux-gnu … stage2.git
cd arm-linux-gnueabihf-gcc-stage2 && makepkg -si
# 6. Final GCC
git clone https://aur.archlinux.org/arm-linux-gnueabihf-gcc.git
cd arm-linux-gnueabihf-gcc && makepkg -si
Offline
arch32 is not Arch and is not supported here.
I Have Linux Perl Can i Download Gnome???
Offline
If he uses an x86_64 machine, to compile any AUR package, this is a valid post.
Yes, I attempted to build on an x86 CPU, but the process failed.
Please post the entire thing for the 1st package, incl. command line and complete output.
Offline
Yes, this is for ARM32-bit cross-compilation on X86
Here is the command to build the arm-linux-gnueabihf-linux
https://gist.github.com/moonlinux/0e72e90252ca3ee2fc9f5c6c3bf8e8f3 $ git clone https://aur.archlinux.org/arm-linux-gnueabihf-linux-api-headers.git
cd arm-linux-gnueabihf-linux-api-headers && makepkg -si
Cloning into 'arm-linux-gnueabihf-linux-api-headers'...
remote: Enumerating objects: 176, done.
remote: Counting objects: 100% (176/176), done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 176 (delta 43), reused 175 (delta 43), pack-reused 0 (from 0)
Receiving objects: 100% (176/176), done.
Resolving deltas: 100% (43/43), done.
==> Making package: arm-linux-gnueabihf-linux-api-headers 6.15.1-1 (Fri 11 Sep 2026 12:50:06 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading linux-6.15.1.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 144.1M 100 144.1M 0 0 1.13M 0 02:07 02:07 2.55M
-> Downloading linux-6.15.1.tar.sign...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 989 100 989 0 0 1330 0 0
==> Validating source files with sha256sums...
linux-6.15.1.tar.xz ... Passed
linux-6.15.1.tar.sign ... Skipped
==> Verifying source file signatures with gpg...
linux-6.15.1.tar ... Passed
==> Extracting sources...
-> Extracting linux-6.15.1.tar.xz with bsdtar
==> Starting build()...Last edited by armoon (Today 08:03:15)
Offline
Use code tags for terminal output please. Also, the output is not complete, obviously.
Offline
Please add --log to the makepkg invocation and post the files it creates somewhere on a public pastebin site.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Nothing failed in that arm-linux-gnueabihf-linux-api-headers build in the github gist. The package built, and was installed.
(1/1) reinstalling arm-linux-gnueabihf-linux-api-headers [####################################################] 100%
If you need help with a failing build, we'll need to see that.
FTR, it's unlikely that this toolchain will be added tot the official repos, as the hardware is EOL.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Thanks, there is a dependency on the order of the packages to build and install
$ git clone [url]https://aur.archlinux.org/arm-linux-gnueabihf-gcc-stage1.git[/url]
$ arm-linux-gnueabihf-gcc-stage1
$ makepkg -si --logHere is the build failure log. I could not figure out the reason for the abort
[url]https://gist.github.com/moonlinux/c5a57491876f0e4bf2b1540eda29b17b[/url]
mkdir -p -- go/.deps
mkdir -p -- jit/.deps
mkdir -p -- lto/.deps
mkdir -p -- m2/.deps
mkdir -p -- objc/.deps
mkdir -p -- objcp/.deps
mkdir -p -- rust/.deps
mkdir -p -- c-family/.deps
mkdir -p -- common/.deps
mkdir -p -- analyzer/.deps
mkdir -p -- text-art/.deps
mkdir -p -- rtl-ssa/.deps
mkdir -p -- sym-exec/.deps
config.status: executing default-1 commands
config.status: executing default commands
==> ERROR: A failure occurred in build().
Aborting...Here is the list of the dependency order of the packages
amoon@tcm90q:~/mainline/study/linaro/archpakage/arm-linux-gnueabihf/arm-linux-gnueabihf-gcc-stage2$ makepkg -si --log
==> Making package: arm-linux-gnueabihf-gcc-stage2 15.2.1+r19+g76aeacb436df-1 (Sat 12 Sep 2026 11:12:47 AM IST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for amoon:
error: target not found: arm-linux-gnueabihf-glibc-headers>=2.40
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> arm-linux-gnueabihf-glibc-headers>=2.40
==> ERROR: Could not resolve all dependencies.
amoon@tcm90q:~/mainline/study/linaro/archpakage/arm-linux-gnueabihf/arm-linux-gnueabihf-gcc-stage2$ cd ../arm-linux-gnueabihf-glibc-headers
amoon@tcm90q:~/mainline/study/linaro/archpakage/arm-linux-gnueabihf/arm-linux-gnueabihf-glibc-headers$ makepkg -si --log
==> Making package: arm-linux-gnueabihf-glibc-headers 2.42+r3+gbc13db739377-1 (Sat 12 Sep 2026 11:13:02 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
[sudo] password for amoon:
error: target not found: arm-linux-gnueabihf-gcc-stage1>=15.2.0
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> arm-linux-gnueabihf-gcc-stage1>=15.2.0
==> ERROR: Could not resolve all dependencies.Last edited by armoon (Today 07:54:02)
Offline
So you lack https://aur.archlinux.org/packages/arm- … gcc-stage1 to build https://aur.archlinux.org/packages/arm- … bc-headers which is required for https://aur.archlinux.org/packages/arm- … gcc-stage2
You do have https://aur.archlinux.org/packages/arm- … f-binutils?
And please use [code][/code] tags. Edit your post in this regard.
Offline
Yes, I have built the packages
amoon@tcm90q:~/mainline/study/linaro/archpakage/arm-linux-gnueabihf/arm-linux-gnueabihf-binutils$ ls
arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64-build.log arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64-prepare.log
arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64-check.log binutils-gdb
arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64-package.log pkg
arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64.pkg.tar.zst PKGBUILD
arm-linux-gnueabihf-binutils-2.45+r8+g09be88bfb653-1-x86_64-pkgver.log src
amoon@tcm90q:~/mainline/study/linaro/archpakage/arm-linux-gnueabihf/arm-linux-gnueabihf-binutils$ Thanks, I will follow the protocol in future posts.
Offline
Have you also *installed* them?
pacman -Qs arm-linux-gnueabihfOffline
Thanks, let me check what's missing on my side
sudo pacman -Qs arm-linux-gnueabihf
local/arm-linux-gnueabihf-binutils 2.45+r8+g09be88bfb653-1
A set of programs to assemble and manipulate binary and object files
local/arm-linux-gnueabihf-linux-api-headers 6.15.1-1
Kernel headers sanitized for use in userspaceOffline
Please building/installing arm-linux-gnueabihf-gcc-stage1 .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline