summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-04-06 00:23:31 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-04-06 00:27:13 +0200
commitd2e45d5a85f81ca540cec55e3cf10f7ca059da29 (patch)
tree12366b14c27791ae23f9eb964241fe91e5d81a47
parent25e9a718c4811dfac493cdd393665d6f362e20d5 (diff)
[WIP] libre: update x86_64-pc-linux-gnu-binutils to 2.38 by syncing with communityGNUtoo/x86_64-cross-toolchain-update-wip
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--libre/x86_64-pc-linux-gnu-binutils/PKGBUILD40
1 files changed, 27 insertions, 13 deletions
diff --git a/libre/x86_64-pc-linux-gnu-binutils/PKGBUILD b/libre/x86_64-pc-linux-gnu-binutils/PKGBUILD
index d3fa9a527..94a4b8a14 100644
--- a/libre/x86_64-pc-linux-gnu-binutils/PKGBUILD
+++ b/libre/x86_64-pc-linux-gnu-binutils/PKGBUILD
@@ -1,19 +1,33 @@
+# Maintainer (Arch): Giancarlo Razzolini <grazzolini@archlinux.org>
+# Maintainer (Arch): Frederik Schwan <freswa at archlinux dot org>
+# Contributor (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
+# Contributor (Arch): Allan McRae <allan@archlinux.org>
# Maintainers: Parabola hackers <dev@lists.parabola.nu>
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
+
_target=x86_64-pc-linux-gnu
pkgname=$_target-binutils
-pkgver=2.32
-pkgrel=1
+pkgver=2.38
+pkgrel=3
pkgdesc='A set of programs to assemble and manipulate binary and object files for the x86_64 target'
arch=('i686' 'armv7h')
-url='http://www.gnu.org/software/binutils/'
-license=(GPL)
-depends=(zlib)
-source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.bz2{,.sig})
-sha512sums=('99ec7ed2b5ebfd3ac16cecb1567ec4a72f81ac30717002d601708f7547b2f8122ffcce076c986f22894aede33c54c73012210a4e973ba9b6e2d87a242a2bee12'
- 'SKIP')
-validpgpkeys=('EAF1C276A747E9ED86210CBAC3126D3B4AE55E93' # Tristan Gingold <gingold@adacore.com>
- '3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F') # Nick Clifton (Chief Binutils Maintainer) <nickc@redhat.com>
+url='https://www.gnu.org/software/binutils/'
+license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
+depends=(glibc zlib libelf)
+checkdepends=(dejagnu debuginfod bc)
+optdepends=('debuginfod: for debuginfod server/client functionality')
+options=(staticlibs !distcc !ccache debug)
+#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
+#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
+source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
+ gold-warn-unsupported.patch
+ fix-incorrect-undefined-symbol.patch)
+sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
+ 'SKIP'
+ '2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4'
+ 'fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6')
+validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
prepare() {
cd binutils-$pkgver
@@ -21,7 +35,7 @@ prepare() {
}
build() {
- cd binutils-$pkgver
+ cd binutils-build
if [ "${CARCH}" != "i686" ]; then
# enabling gold linker at i686 makes the install fail
@@ -44,7 +58,7 @@ build() {
}
check() {
- cd binutils-$pkgver
+ cd binutils-build
# unset LDFLAGS as testsuite makes assumptions about which ones are active
# do not abort on errors - manually check log files
@@ -52,7 +66,7 @@ check() {
}
package() {
- cd binutils-$pkgver
+ cd binutils-build
make DESTDIR="$pkgdir" install