arm-linux-gnueabihf-gcc-bin

LOW
maintainer pineappletoad 0 votes scanned 2026-09-04 03:57:33.182648
View on AUR
Why flagged

Prebuilt binary toolchain downloaded directly from ARM's official developer portal (developer.arm.com) with a sha256 checksum; the source is ARM's own official release infrastructure, not a personal or swappable host, so the risk is low despite being a precompiled binary.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Low AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (anthropic/claude-sonnet-4.6) reviewed the full PKGBUILD and judged it LOW (confidence 80%): Prebuilt binary toolchain downloaded directly from ARM's official developer portal (developer.arm.com) with a sha256 checksum; the source is ARM's own official release infrastructure, not a personal or swappable host, so the risk is low despite being a precompiled binary.

1 higher static finding superseded - not the current verdict (shown for transparency)
Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:18 source=("https://developer.arm.com/-/media/Files/downloads/gnu/${_toolchain_ver}/binrel/${_tarball}.tar.xz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: pineappletoad
2
3pkgname=arm-linux-gnueabihf-gcc-bin
4_toolchain_ver=15.2.rel1
5_toolchain_date=20251217
6pkgver=${_toolchain_ver}.${_toolchain_date}
7pkgrel=1
8pkgdesc="Cross GCC for the arm-linux-gnueabihf target (precompiled, split from ARM's official GNU toolchain release)"
9arch=('x86_64')
10url="https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads"
11license=('GPL-3.0-or-later' 'LGPL-2.1-or-later' 'GCC-exception-3.1')
12options=('!debug' '!strip')
13provides=('arm-linux-gnueabihf-gcc')
14conflicts=('arm-linux-gnueabihf-gcc')
15depends=('arm-linux-gnueabihf-binutils' 'arm-linux-gnueabihf-glibc' 'arm-linux-gnueabihf-glibc-headers')
16
17_tarball="arm-gnu-toolchain-${_toolchain_ver}-x86_64-arm-none-linux-gnueabihf"
18source=("https://developer.arm.com/-/media/Files/downloads/gnu/${_toolchain_ver}/binrel/${_tarball}.tar.xz")
19sha256sums=('3c65d820a6b8f677f8f6fbfc749fe00a4f16dde12341436c9df5b7092a47c0fb')
20
21package() {
22 cd "${srcdir}/${_tarball}"
23
24 # Everything in bin/ that isn't one of arm-linux-gnueabihf-binutils-bin's
25 # tools belongs here (gcc, g++, cpp, gcov*, gdb, lto-dump, gfortran, ...) -
26 # exclude by name rather than an explicit include list so new tool names
27 # in future GCC releases are picked up automatically.
28 local _binutils_tools=(addr2line ar as c++filt dwp elfedit gprof ld ld.bfd ld.gold nm objcopy objdump ranlib readelf size strings)
29
30 install -d "${pkgdir}/usr/bin"
31 for f in bin/arm-none-linux-gnueabihf-*; do
32 local _tool="${f##*arm-none-linux-gnueabihf-}"
33 local _is_binutils=0
34 for _bt in "${_binutils_tools[@]}"; do
35 [ "${_tool}" = "${_bt}" ] && _is_binutils=1 && break
36 done
37 [ "${_is_binutils}" -eq 1 ] && continue
38 install -m755 "$f" "${pkgdir}/usr/bin/"
39 done
40
41 cd "${pkgdir}/usr/bin"
42 for f in arm-none-linux-gnueabihf-*; do
43 ln -s "$f" "${f/arm-none-linux-gnueabihf/arm-linux-gnueabihf}"
44 done
45 cd "${srcdir}/${_tarball}"
46
47 install -d "${pkgdir}/usr/lib"
48 cp -a lib/gcc "${pkgdir}/usr/lib/"
49
50 install -d "${pkgdir}/usr/libexec"
51 cp -a libexec/gcc "${pkgdir}/usr/libexec/"
52
53 install -Dm644 license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
54}
55

Scan history

Scanned at (UTC)SeverityRules
2026-09-04 03:57:33 Low 3
2026-09-04 03:56:15 Medium 2

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion