Package Details: gcc13 13.4.1+r80+gd6ebfe4-1

Git Clone URL: https://aur.archlinux.org/gcc13.git (read-only, click to copy)
Package Base: gcc13
Description: The GNU Compiler Collection - C and C++ frontends (13.x.x)
Upstream URL: https://gcc.gnu.org
Licenses: GFDL-1.3-or-later, GPL-3.0-with-GCC-exception
Submitter: tpkessler
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 8
Popularity: 2.72
First Submitted: 2025-06-14 13:24 (UTC)
Last Updated: 2025-08-10 20:08 (UTC)

Pinned Comments

FabioLolix commented on 2025-06-30 21:14 (UTC)

If you encountering build issues build in a clean chroot See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

You can find prebuild packages here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/

Latest Comments

hrehfeld commented on 2025-08-19 09:48 (UTC)

I was confused why the git url is sourceware, and it's quite hard to google, everyone seems to use git://gcc.gnu.org/git/gcc.git. Can you put a comment above sources along the lines of:

# Sourceware provides the infrastructure for core toolchain, see: https://gcc.gnu.org/pipermail/gcc/2024-December/245270.html

ashs commented on 2025-08-10 14:52 (UTC)

@kgizdov Thanks! Your patch is working.

kgizdov commented on 2025-08-06 16:03 (UTC)

I have a patch for this:

diff --git a/PKGBUILD b/PKGBUILD
index 73b18bb..f35e464 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,10 +10,10 @@
 # NOTE: libtool requires rebuilt with each new gcc version

 pkgname=(gcc13 gcc13-libs gcc13-fortran)
-pkgver=13.3.1+r432+gfc8bd63119c0
+pkgver=13.4.1+r80.gd6ebfe4
 _majorver=${pkgver%%.*}
-_commit=fc8bd63119c00f4763ba337aab02db64beb25931
-pkgrel=3
+_commit=d6ebfe490b856673c31ab2be5b311f3df370eca0
+pkgrel=1
 pkgdesc='The GNU Compiler Collection'
 arch=(x86_64)
 license=(GPL-3.0-with-GCC-exception GFDL-1.3-or-later)
@@ -40,20 +40,19 @@ options=(!emptydirs !lto)
 _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
 source=(git+https://sourceware.org/git/gcc.git#commit=${_commit}
         c89 c99
-        fix-asan-allocator-aslr.patch
-)
+        fix-asan-allocator-aslr.patch)
 validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9  # bpiotrowski@archlinux.org
               86CFFCA918CF3AF47147588051E8B148A9999C34  # foutrelis@archlinux.org
               13975A70E63C361C73AE69EF6EEB81F8981C74C7  # richard.guenther@gmail.com
               D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com>
-sha256sums=('39e2229046659134cc33c5cfa2f6b9f4e2f597ac7810ae9ee9322d286d0950e9'
+sha256sums=('7b47ce30b7eb91793bd393d8ae639d526903860bda317bfa9e91442623d2aa2a'
             'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
             '2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
             '5ede1f5fec5b664428412a0849b28895be1c8d8982d3c0d246a4e95fd4730d65')

 pkgver() {
   cd gcc
-  echo "$(cat gcc/BASE-VER)+$(git describe --abbrev=12 --tags | sed 's/[^-]*-[^-]*-//;s/[^-]*-/r&/;s/-/+/g;s/_/./')"
+  echo "$(cat gcc/BASE-VER)+$(git describe --long --abbrev=7 | sed 's/^releases\/gcc.13.4.0.//;s/\([^-]*-g\)/r\1/;s/-/./g')"
 }

 prepare() {

filiplaurentiu commented on 2025-08-05 16:02 (UTC)

/home/filip/.cache/yay/gcc13/src/gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:471:31: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  471 |   unsigned struct_termio_sz = sizeof(struct termio);
      |                               ^~~~~~~~~~~~~~~~~~~~~
make[4]: *** [Makefile:614: sanitizer_platform_limits_posix.lo] Error 1
make[4]: Leaving directory '/home/filip/.cache/yay/gcc13/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer/sanitizer_common'
make[3]: *** [Makefile:532: all-recursive] Error 1
make[3]: Leaving directory '/home/filip/.cache/yay/gcc13/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[2]: *** [Makefile:419: all] Error 2
make[2]: Leaving directory '/home/filip/.cache/yay/gcc13/src/gcc-build/x86_64-pc-linux-gnu/libsanitizer'
make[1]: *** [Makefile:18203: all-target-libsanitizer] Error 2
make[1]: Leaving directory '/home/filip/.cache/yay/gcc13/src/gcc-build'
make: *** [Makefile:25606: bootstrap] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gcc13-exit status 4

I can't build this package

FabioLolix commented on 2025-06-30 21:14 (UTC)

If you encountering build issues build in a clean chroot See https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot

You can find prebuild packages here https://sourceforge.net/projects/fabiololix-os-archive/files/Packages/