summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2024-08-16 23:37:56 -0300
committerDaniel Bermond2024-08-16 23:37:56 -0300
commit900e4b8f04a245c808bbfed726a7363f566388b6 (patch)
tree410f0c114c43958cb817c1f952d53b531d2aa1e3
parentd76f2056efcb69af29424aa2ea58cc105f370fc8 (diff)
downloadaur-900e4b8f04a245c808bbfed726a7363f566388b6.tar.gz
Update to version 14.2.0
-rw-r--r--.SRCINFO20
-rw-r--r--010-gcc-Wno-format-security.patch4
-rw-r--r--020-gcc-config-mips-multilib.patch13
-rw-r--r--030-gcc-gdc-phobos-path.patch11
-rw-r--r--PKGBUILD15
5 files changed, 23 insertions, 40 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32692f96f227..8cfa4fc8e06e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,11 @@
pkgbase = mips64-linux-gnu-gcc
pkgdesc = The GNU Compiler Collection - cross compiler for the MIPS64 target (for the toolchain with GNU C library and with multilib ABI)
- pkgver = 12.2.0
+ pkgver = 14.2.0
pkgrel = 1
url = https://gcc.gnu.org/
arch = x86_64
- license = GPL
- license = LGPL
- license = FDL
- license = custom
+ license = GPL-3.0-with-GCC-exception
+ license = GFDL-1.3-or-later
makedepends = mips64-linux-gnu-linux-api-headers
depends = gmp
depends = libmpc
@@ -30,17 +28,15 @@ pkgbase = mips64-linux-gnu-gcc
options = !strip
options = staticlibs
options = !lto
- 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://sourceware.org/pub/gcc/releases/gcc-14.2.0/gcc-14.2.0.tar.xz
+ source = https://sourceware.org/pub/gcc/releases/gcc-14.2.0/gcc-14.2.0.tar.xz.sig
source = 010-gcc-Wno-format-security.patch
source = 020-gcc-config-mips-multilib.patch
- source = 030-gcc-gdc-phobos-path.patch
validpgpkeys = 13975A70E63C361C73AE69EF6EEB81F8981C74C7
validpgpkeys = D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
- sha256sums = e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff
+ sha256sums = a7b39bc69cbf9e25826c5a60ab26477001f7c08d85cec04bc0e29cabed6f3cc9
sha256sums = SKIP
- sha256sums = 77e3976bb82a2e47e9334b9b865fd9b2f02e0b726f6489ef890a9b26696b1284
- sha256sums = 1e3184b9ddacf7ba6a1621f7e1f0aace76d76f791fca8fd3bdd855dc7a43356e
- sha256sums = d947bee1fa9325956aac7a0b41f6a6485bc5b6f65b9c2c61b276edfbba5f88f1
+ sha256sums = ae8f9bc913cef8d538003242d4661fddaf7cf261da17e978c7e7db995c7a1a97
+ sha256sums = cf51b274ea9a15f5618c7ec0c1b8fa981fe3bf1fa34005833c9de346af37628f
pkgname = mips64-linux-gnu-gcc
diff --git a/010-gcc-Wno-format-security.patch b/010-gcc-Wno-format-security.patch
index 9d6e190c565f..4422f4d4e398 100644
--- a/010-gcc-Wno-format-security.patch
+++ b/010-gcc-Wno-format-security.patch
@@ -1,6 +1,6 @@
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
-@@ -570,7 +570,7 @@ AC_ARG_ENABLE(build-format-warnings,
+@@ -593,7 +593,7 @@ AC_ARG_ENABLE(build-format-warnings,
AS_HELP_STRING([--disable-build-format-warnings],[don't use -Wformat while building GCC]),
[],[enable_build_format_warnings=yes])
AS_IF([test $enable_build_format_warnings = no],
@@ -11,7 +11,7 @@
[-Wcast-qual $wf_opt])),
--- a/gcc/configure
+++ b/gcc/configure
-@@ -7080,7 +7080,7 @@ else
+@@ -7160,7 +7160,7 @@ else
fi
if test $enable_build_format_warnings = no; then :
diff --git a/020-gcc-config-mips-multilib.patch b/020-gcc-config-mips-multilib.patch
index 22c727deadf7..41bcaf813ae7 100644
--- a/020-gcc-config-mips-multilib.patch
+++ b/020-gcc-config-mips-multilib.patch
@@ -11,12 +11,13 @@
+ %{mabi=64: /lib/glibc/abi-64/}"
--- a/gcc/config/mips/t-linux64
+++ b/gcc/config/mips/t-linux64
-@@ -20,7 +20,4 @@ MULTILIB_OPTIONS = mabi=n32/mabi=32/mabi
- MULTILIB_DIRNAMES = n32 32 64
- MIPS_EL = $(if $(filter %el, $(firstword $(subst -, ,$(target)))),el)
- MIPS_SOFT = $(if $(strip $(filter MASK_SOFT_FLOAT_ABI, $(target_cpu_default)) $(filter soft, $(with_float))),soft)
--MULTILIB_OSDIRNAMES = \
+@@ -38,8 +38,5 @@ ifeq (yes,$(enable_multiarch))
+ ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
+ endif
+ else
+- MULTILIB_OSDIRNAMES = \
- ../lib32$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabin32$(MIPS_SOFT)) \
- ../lib$(call if_multiarch,:mips$(MIPS_EL)-linux-gnu$(MIPS_SOFT)) \
- ../lib64$(call if_multiarch,:mips64$(MIPS_EL)-linux-gnuabi64$(MIPS_SOFT))
-+MULTILIB_OSDIRNAMES = n32=../lib/glibc/abi-n32 32=../lib/glibc/abi-32 64=../lib/glibc/abi-64
++ MULTILIB_OSDIRNAMES = MULTILIB_OSDIRNAMES = n32=../lib/glibc/abi-n32 32=../lib/glibc/abi-32 64=../lib/glibc/abi-64
+ endif
diff --git a/030-gcc-gdc-phobos-path.patch b/030-gcc-gdc-phobos-path.patch
deleted file mode 100644
index e762dce1c54b..000000000000
--- a/030-gcc-gdc-phobos-path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/gcc/d/d-incpath.cc
-+++ b/gcc/d/d-incpath.cc
-@@ -139,7 +139,7 @@ add_import_paths (const char *iprefix, c
- path = xstrdup (p->fname);
-
- /* Add D-specific suffix. */
-- path = concat (path, "/d", NULL);
-+ path = concat (path, "/dlang/gdc", NULL);
-
- /* Ignore duplicate entries. */
- bool found = false;
diff --git a/PKGBUILD b/PKGBUILD
index 6ac49659307b..c3215cf2f698 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,13 @@
_target=mips64-linux-gnu
pkgname="${_target}-gcc"
-pkgver=12.2.0
+pkgver=14.2.0
_majorver="${pkgver%%.*}"
pkgrel=1
pkgdesc='The GNU Compiler Collection - cross compiler for the MIPS64 target (for the toolchain with GNU C library and with multilib ABI)'
arch=('x86_64')
url='https://gcc.gnu.org/'
-license=('GPL' 'LGPL' 'FDL' 'custom')
+license=('GPL-3.0-with-GCC-exception' 'GFDL-1.3-or-later')
depends=('gmp' 'libmpc' "${_target}-binutils" "${_target}-glibc" 'libisl' 'mpfr' 'sh' 'zlib' 'zstd')
makedepends=("${_target}-linux-api-headers")
provides=('mips64-linux-gnuabi64-gcc' 'mips64-linux-gnuabi32-gcc'
@@ -19,13 +19,11 @@ conflicts=('mips64-linux-gnuabi64-gcc' 'mips64-linux-gnuabi32-gcc'
options=('!emptydirs' '!strip' 'staticlibs' '!lto')
source=("https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz"{,.sig}
'010-gcc-Wno-format-security.patch'
- '020-gcc-config-mips-multilib.patch'
- '030-gcc-gdc-phobos-path.patch')
-sha256sums=('e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff'
+ '020-gcc-config-mips-multilib.patch')
+sha256sums=('a7b39bc69cbf9e25826c5a60ab26477001f7c08d85cec04bc0e29cabed6f3cc9'
'SKIP'
- '77e3976bb82a2e47e9334b9b865fd9b2f02e0b726f6489ef890a9b26696b1284'
- '1e3184b9ddacf7ba6a1621f7e1f0aace76d76f791fca8fd3bdd855dc7a43356e'
- 'd947bee1fa9325956aac7a0b41f6a6485bc5b6f65b9c2c61b276edfbba5f88f1')
+ 'ae8f9bc913cef8d538003242d4661fddaf7cf261da17e978c7e7db995c7a1a97'
+ 'cf51b274ea9a15f5618c7ec0c1b8fa981fe3bf1fa34005833c9de346af37628f')
validpgpkeys=('13975A70E63C361C73AE69EF6EEB81F8981C74C7' # Richard Guenther <richard.guenther@gmail.com>
'D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62') # Jakub Jelinek <jakub@redhat.com>
@@ -36,7 +34,6 @@ prepare() {
mkdir -p build
patch -d "gcc-${pkgver}" -Np1 -i "${srcdir}/010-gcc-Wno-format-security.patch"
patch -d "gcc-${pkgver}" -Np1 -i "${srcdir}/020-gcc-config-mips-multilib.patch"
- patch -d "gcc-${pkgver}" -Np1 -i "${srcdir}/030-gcc-gdc-phobos-path.patch"
}
build() {