diff options
author | Wilken Gottwalt | 2023-08-05 05:57:25 +0200 |
---|---|---|
committer | Wilken Gottwalt | 2023-08-05 05:57:25 +0200 |
commit | dcaa3219acab58f82c5788c83f2e2c2a9e1e1ae1 (patch) | |
tree | 04607d867b784cc09a2c28a68dbef8cf494821a9 | |
parent | 690f14a5e28a94f9a41575657c5da816e6d819b4 (diff) | |
download | aur-dcaa3219acab58f82c5788c83f2e2c2a9e1e1ae1.tar.gz |
update to version 13.2.0
- PKGBUILD cleanup
- removed not required stuff
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 128 | ||||
-rw-r--r-- | gcc-ada-repro.patch | 15 |
4 files changed, 64 insertions, 111 deletions
@@ -1,31 +1,25 @@ pkgbase = arm-linux-gnueabihf-gcc-stage1 - pkgdesc = The GNU Compiler Collection. Stage 1 for toolchain building (arm-linux-gnueabihf) - pkgver = 12.2.0 + pkgdesc = The GNU Compiler Collection. Stage 1 for toolchain building + pkgver = 13.2.0 pkgrel = 1 url = https://gcc.gnu.org - arch = i686 arch = x86_64 license = GPL license = LGPL license = FDL license = custom - depends = arm-linux-gnueabihf-binutils>=2.38-1 - depends = libmpc - depends = zlib + makedepends = binutils + makedepends = gcc + makedepends = glibc + makedepends = zlib + depends = arm-linux-gnueabihf-binutils>=2.40 options = !emptydirs options = !distcc options = !strip - source = https://sourceware.org/pub/gcc/releases/gcc-12.2.0/gcc-12.2.0.tar.xz - source = https://sourceware.org/pub/gcc/releases/gcc-12.2.0/gcc-12.2.0.tar.xz.sig - source = https://libisl.sourceforge.io/isl-0.24.tar.xz - source = gcc-ada-repro.patch + source = https://sourceware.org/pub/gcc/releases/gcc-13.2.0/gcc-13.2.0.tar.xz + source = https://sourceware.org/pub/gcc/releases/gcc-13.2.0/gcc-13.2.0.tar.xz.sig validpgpkeys = F3691687D867B81B51CE07D9BBE43771487328A9 - validpgpkeys = 86CFFCA918CF3AF47147588051E8B148A9999C34 - validpgpkeys = 13975A70E63C361C73AE69EF6EEB81F8981C74C7 - validpgpkeys = D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 - sha256sums = e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff + sha256sums = e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da sha256sums = SKIP - sha256sums = 043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad - sha256sums = 1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f pkgname = arm-linux-gnueabihf-gcc-stage1 diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e81be44c7916..000000000000 --- a/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -*.pkg.* -src/ -pkg/ -*.tar.* -*.sig -*.part @@ -1,105 +1,86 @@ -# Maintainer: Vyacheslav Razykov <v.razykov@gmail.com> # Contributor: Alexander 'hatred' Drozdov <adrozdoff@gmail.com> # Contributor: toha257 <toha257@gmail.com> # Contributor: Allan McRae <allan@archlinux.org> # Contributor: Kevin Mihelich <kevin@archlinuxarm.org> # Contributor: Tavian Barnes <tavianator@tavianator.com> +# Contributor: Vyacheslav Razykov <v.razykov@gmail.com> +# Maintainer: Wilken Gottwalt <wilken dot gottwalt at posteo dot net> -_target="arm-linux-gnueabihf" +_target=arm-linux-gnueabihf pkgname=${_target}-gcc-stage1 -pkgver=12.2.0 +pkgver=13.2.0 _majorver=${pkgver%%.*} -_islver=0.24 pkgrel=1 -pkgdesc="The GNU Compiler Collection. Stage 1 for toolchain building (${_target})" -arch=(i686 x86_64) +pkgdesc="The GNU Compiler Collection. Stage 1 for toolchain building" +arch=(x86_64) license=(GPL LGPL FDL custom) url='https://gcc.gnu.org' -depends=("${_target}-binutils>=2.38-1" libmpc zlib) +depends=("${_target}-binutils>=2.40") +makedepends=(binutils gcc glibc zlib) options=(!emptydirs !distcc !strip) -source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig} - https://libisl.sourceforge.io/isl-${_islver}.tar.xz - gcc-ada-repro.patch) -validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org - 86CFFCA918CF3AF47147588051E8B148A9999C34 # evangelos@foutrelis.com - 13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com - D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com> -sha256sums=('e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff' - 'SKIP' - '043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad' - '1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f') +source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}) +validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9) # bpiotrowski@archlinux.org +sha256sums=('e275e76442a6067341a27f04c5c6b83d8613144004c0413528863dc6b5c743da' + 'SKIP') prepare() { - [[ ! -d gcc ]] && ln -s gcc-${pkgver/+/-} gcc - cd gcc + cd gcc-${pkgver/+/-} - # link isl for in-tree build - ln -s ../isl-${_islver} isl - - # Do not run fixincludes + # do not run fixincludes sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - # hack! - some configure tests for header files using "$CPP $CPPFLAGS" sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure - # Reproducible gcc-ada - patch -Np0 < "${srcdir}"/gcc-ada-repro.patch - mkdir -p "${srcdir}"/gcc-build } build() { cd gcc-build - # using -pipe causes spurious test-suite failures - # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565 - CFLAGS=${CFLAGS/-pipe/} - CXXFLAGS=${CXXFLAGS/-pipe/} - # using -Werror=format-security causes libcpp buildig failures # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100207 CFLAGS="${CFLAGS/ -Werror=format-security/}" CXXFLAGS="${CXXFLAGS/ -Werror=format-security/}" - "${srcdir}"/gcc/configure --prefix=/usr \ - --program-prefix=${_target}- \ - --with-local-prefix=/usr/${_target} \ - --with-sysroot=/usr/${_target} \ - --with-build-sysroot=/usr/${_target} \ - --with-as=/usr/bin/${_target}-as \ - --with-ld=/usr/bin/${_target}-ld \ - --libdir=/usr/lib \ - --libexecdir=/usr/lib \ - --disable-nls \ - --with-newlib \ - --enable-languages=c,c++ \ - --with-isl \ - --with-linker-hash-style=gnu \ - --with-system-zlib \ - --enable-__cxa_atexit \ - --enable-checking=release \ - --enable-clocale=gnu \ - --enable-default-pie \ - --enable-default-ssp \ - --enable-gnu-indirect-function \ - --enable-gnu-unique-object \ - --enable-install-libiberty \ - --enable-linker-build-id \ - --disable-lto \ - --disable-plugin \ - --disable-shared \ - --disable-threads \ - --disable-libssp \ - --disable-libstdcxx-pch \ - --disable-libunwind-exceptions \ - --disable-multilib \ - --disable-werror \ - --target=${_target} \ - --host=${CHOST} \ - --build=${CHOST} \ - --with-arch=armv6 \ - --with-float=hard \ - --with-fpu=vfp + ../gcc-${pkgver/+/-}/configure \ + --target=${_target} \ + --host=${CHOST} \ + --build=${CHOST} \ + --prefix=/usr \ + --program-prefix=${_target}- \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --with-local-prefix=/usr/${_target} \ + --with-sysroot=/usr/${_target} \ + --with-build-sysroot=/usr/${_target} \ + --with-as=/usr/bin/${_target}-as \ + --with-ld=/usr/bin/${_target}-ld \ + --with-linker-hash-style=gnu \ + --with-system-zlib \ + --with-newlib \ + --with-arch=armv6 \ + --with-float=hard \ + --with-fpu=vfp \ + --enable-languages=c,c++ \ + --enable-__cxa_atexit \ + --enable-checking=release \ + --enable-clocale=gnu \ + --enable-default-pie \ + --enable-default-ssp \ + --enable-gnu-indirect-function \ + --enable-gnu-unique-object \ + --enable-install-libiberty \ + --enable-linker-build-id \ + --disable-nls \ + --disable-plugin \ + --disable-shared \ + --disable-threads \ + --disable-libssp \ + --disable-libstdcxx-pch \ + --disable-libunwind-exceptions \ + --disable-multilib \ + --disable-lto \ + --disable-werror make all-gcc all-target-libgcc } @@ -113,6 +94,5 @@ package() { # strip it manually strip "${pkgdir}"/usr/bin/* 2>/dev/null || true - find "${pkgdir}"/usr/lib -type f -exec /usr/bin/${_target}-strip \ - --strip-unneeded {} \; 2>/dev/null || true + find "${pkgdir}"/usr/lib -type f -exec /usr/bin/"${_target}"-strip --strip-unneeded {} \; 2>/dev/null || true } diff --git a/gcc-ada-repro.patch b/gcc-ada-repro.patch deleted file mode 100644 index 66256369fac1..000000000000 --- a/gcc-ada-repro.patch +++ /dev/null @@ -1,15 +0,0 @@ -Avoid leaking current data on generated file for Ada. - -Index: gcc/ada/gcc-interface/Makefile.in -=================================================================== ---- gcc/ada/gcc-interface/Makefile.in (revision 268977) -+++ gcc/ada/gcc-interface/Makefile.in (working copy) -@@ -2407,6 +2407,7 @@ $(RTSDIR)/s-oscons.ads: ../stamp-gnatlib - $(OSCONS_CPP) ; \ - $(OSCONS_EXTRACT) ; \ - ../bldtools/oscons/xoscons s-oscons) -+ touch -r $(fsrcpfx)ada/gsocket.h $@ - - gnatlib: ../stamp-gnatlib1-$(RTSDIR) ../stamp-gnatlib2-$(RTSDIR) $(RTSDIR)/s-oscons.ads - test -f $(RTSDIR)/s-oscons.ads || exit 1 - |