xtensa-elf-gcc

maintainer mak1 · 2 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source URL for isl is from sourceforge.io, a legitimate and widely used open-source hosting platform; the 'non-standard host' flag is a false positive, and the package builds from verifiable upstream sources with proper PGP verification for GCC.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source URL for isl is from sourceforge.io, a legitimate and widely used open-source hosting platform; the 'non-standard host' flag is a false positive, and the package builds from verifiable upstream sources with proper PGP verification for GCC.

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 https://libisl.sourceforge.io/isl-$_islver.tar.bz2

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: whiteman808 <whiteman808 at paraboletancza dot org>
2# Contributor: David P. <megver83@parabola.nu>
3
4_target=xtensa-elf
5pkgname=$_target-gcc
6_pkgver=15.2.0
7pkgver=$_pkgver
8_islver=0.27
9pkgrel=1
10pkgdesc='The GNU Compiler Collection - cross compiler for Xtensa (bare-metal) target'
11arch=(x86_64 i686 armv7h)
12url='http://gcc.gnu.org/'
13license=(GPL LGPL FDL)
14depends=($_target-binutils libmpc zlib)
15makedepends=(gmp mpfr)
16options=(!emptydirs !strip)
17source=(https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgver/gcc-$_pkgver.tar.xz{,.sig}
18 https://libisl.sourceforge.io/isl-$_islver.tar.bz2
19 gcc.patch)
20sha512sums=('89047a2e07bd9da265b507b516ed3635adb17491c7f4f67cf090f0bd5b3fc7f2ee6e4cc4008beef7ca884b6b71dffe2bb652b21f01a702e17b468cca2d10b2de'
21 'SKIP'
22 'e14ab1a622d3f6219b264b8e2512487aecd6725b7b88f40bc8f31651bfe7d89db4649aae12eaa0052dd904bac21607f63c83fbab73251767425d91989a969f7e'
23 '7637408259cef4b14a2f41690bbc769ad0dc6cf4d1c782405526aeb58f68193269af6882b23fb57c3521174e45709ed2d54f0af1f835646e70a3bfd9f626aad9')
24validpgpkeys=(33C235A34C46AA3FFB293709A328C3A2C3C45C06 # Jakub Jelinek <jakub@redhat.com>
25 13975A70E63C361C73AE69EF6EEB81F8981C74C7) # Richard Guenther <richard.guenther@gmail.com>
26if [ -n "$_snapshot" ]; then
27 _basedir=gcc-$_snapshot
28else
29 _basedir=gcc-$_pkgver
30fi
31
32prepare() {
33 cd $_basedir
34
35 patch -Np1 -i ../gcc.patch
36
37 # link isl for in-tree builds
38 ln -sf ../isl-$_islver isl
39
40 echo $_pkgver >gcc/BASE-VER
41
42 # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
43 sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" "$srcdir"/$_basedir/{libiberty,gcc}/configure
44
45 mkdir $srcdir/gcc-build
46}
47
48build() {
49 cd gcc-build
50
51 # using -pipe causes spurious test-suite failures
52 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
53 CFLAGS=${CFLAGS/-pipe/}
54 CXXFLAGS=${CXXFLAGS/-pipe/}
55
56 CFLAGS+=" -Wno-error=format-security"
57 CXXFLAGS+=" -Wno-error=format-security"
58
59 $srcdir/$_basedir/configure \
60 --target=$_target \
61 --prefix=/usr \
62 --libexecdir=/usr/lib \
63 --enable-languages=c,c++ \
64 --enable-plugins \
65 --enable-shared \
66 --disable-decimal-float \
67 --disable-libffi \
68 --disable-libgomp \
69 --disable-libmudflap \
70 --disable-libquadmath \
71 --disable-libssp \
72 --disable-libstdcxx-pch \
73 --disable-nls \
74 --disable-threads \
75 --disable-tls \
76 --disable-multilib \
77 --with-gnu-as \
78 --with-gnu-ld \
79 --with-system-zlib \
80 --with-gmp \
81 --with-mpfr \
82 --with-mpc \
83 --with-isl \
84 --with-libelf \
85 --enable-gnu-indirect-function
86
87 make all-gcc
88}
89
90package() {
91 make -C gcc-build DESTDIR="$pkgdir" install-gcc
92
93 # strip target binaries
94 find "$pkgdir"/usr/lib/gcc/$_target/ \
95 -type f -and \( -name \*.a -or -name \*.o \) \
96 -exec $_target-objcopy -R .comment -R .note -R .debug_info -R .debug_aranges \
97 -R .debug_pubnames -R .debug_pubtypes -R .debug_abbrev -R .debug_line \
98 -R .debug_str -R .debug_ranges -R .debug_loc '{}' \;
99
100 # strip host binaries
101 find "$pkgdir/usr/bin/" "$pkgdir/usr/lib/gcc/$_target/" -type f \
102 -and \( -executable \) -exec strip '{}' \;
103
104 # Remove files that conflict with host gcc package
105 rm -r "$pkgdir/usr/share/"{man/man7,info}
106}
107

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion