You are not logged in.

#1 2026-09-09 16:01:26

armoon
Member
Registered: 2018-11-14
Posts: 10

Request to Add arm-linux-gnueabihf-gcc Package

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

#2 2026-09-09 17:12:15

ua4000
Member
Registered: 2015-10-14
Posts: 564

Re: Request to Add arm-linux-gnueabihf-gcc Package

Offline

#3 2026-09-10 11:17:18

armoon
Member
Registered: 2018-11-14
Posts: 10

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

#4 2026-09-10 17:04:02

killertofus
Member
Registered: 2025-02-10
Posts: 235

Re: Request to Add arm-linux-gnueabihf-gcc Package

arch32 is not Arch and is not supported here.

https://bbs.archlinux.org/misc.php?action=rules


I Have Linux Perl Can i Download Gnome???

Offline

#5 2026-09-10 18:31:14

ua4000
Member
Registered: 2015-10-14
Posts: 564

Re: Request to Add arm-linux-gnueabihf-gcc Package

If he uses an x86_64 machine, to compile any AUR package, this is a valid post.

armoon wrote:

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

#6 Yesterday 07:29:17

armoon
Member
Registered: 2018-11-14
Posts: 10

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

#7 Yesterday 08:11:09

Whoracle
Member
Registered: 2010-11-02
Posts: 242

Re: Request to Add arm-linux-gnueabihf-gcc Package

Use code tags for terminal output please. Also, the output is not complete, obviously.

Offline

#8 Yesterday 19:06:21

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,401

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

#9 Yesterday 20:45:06

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

#10 Today 04:58:46

armoon
Member
Registered: 2018-11-14
Posts: 10

Re: Request to Add arm-linux-gnueabihf-gcc Package

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 --log

Here 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

#11 Today 07:16:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,762

Offline

#12 Today 08:00:34

armoon
Member
Registered: 2018-11-14
Posts: 10

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

#13 Today 08:03:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,762

Re: Request to Add arm-linux-gnueabihf-gcc Package

Have you also *installed* them?

pacman -Qs arm-linux-gnueabihf

Offline

#14 Today 08:09:11

armoon
Member
Registered: 2018-11-14
Posts: 10

Re: Request to Add arm-linux-gnueabihf-gcc Package

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 userspace

Offline

#15 Today 10:14:23

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,401

Re: Request to Add arm-linux-gnueabihf-gcc Package

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

Board footer

Powered by FluxBB