summaryrefslogtreecommitdiffstats
path: root/source/d/binutils/patches/binutils-gold-warn-unsupported.patch
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2021-08-29 18:23:50 +0000
committer Eric Hameleers <alien@slackware.com>2021-08-30 08:59:55 +0200
commit34ba4d05d9d2b7f5d72aded4eb35aa617cb8629d (patch)
treefd24e6dc296552ed8ce520e595a71eea78e88e9c /source/d/binutils/patches/binutils-gold-warn-unsupported.patch
parenta685863802fc9764aefd5b07106f3e3e54b210a3 (diff)
downloadcurrent-72a4f78ac758ea1463e45375612501954f185e75.tar.gz
current-72a4f78ac758ea1463e45375612501954f185e75.tar.xz
Sun Aug 29 18:23:50 UTC 202120210829182350
ap/man-pages-5.13-noarch-1.txz: Upgraded. d/binutils-2.37-x86_64-1.txz: Upgraded. With a few upstream patches to fix some regressions in the release, we no longer get any new FTBFS with this, so we'll take it. d/oprofile-1.4.0-x86_64-8.txz: Rebuilt. Recompiled against binutils-2.37. kde/sddm-0.19.0-x86_64-8.txz: Rebuilt. Patched to fix build. l/libcap-2.54-x86_64-1.txz: Upgraded. l/libssh-0.9.6-x86_64-1.txz: Upgraded. Fix possible heap-buffer overflow when rekeying with different key exchange mechanism. For more information, see: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3634 (* Security fix *) l/qt5-5.15.3_20210826_21ea9c12-x86_64-1.txz: Upgraded. Switched to the patched qt5 from https://invent.kde.org/qt/qt/qt5.git. Huge thanks to Heinz Wiesinger for the script to create a release tarball. Likely this fixes many security issues. (* Security fix *) x/libglvnd-1.3.3-x86_64-1.txz: Upgraded. Reverted to this version because changes to the header files won't allow the EGL portions of Qt to properly compile.
Diffstat (limited to 'source/d/binutils/patches/binutils-gold-warn-unsupported.patch')
-rw-r--r--source/d/binutils/patches/binutils-gold-warn-unsupported.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/source/d/binutils/patches/binutils-gold-warn-unsupported.patch b/source/d/binutils/patches/binutils-gold-warn-unsupported.patch
new file mode 100644
index 000000000..8e00aa3de
--- /dev/null
+++ b/source/d/binutils/patches/binutils-gold-warn-unsupported.patch
@@ -0,0 +1,66 @@
+Only in binutils-2.34/gold: autom4te.cache
+diff -rup binutils.orig/gold/configure binutils-2.34/gold/configure
+--- binutils.orig/gold/configure 2020-04-20 12:35:13.048297305 +0100
++++ binutils-2.34/gold/configure 2020-04-20 14:02:06.743725696 +0100
+@@ -5180,7 +5180,8 @@ for targ in $target $canon_targets; do
+ . ${srcdir}/configure.tgt
+
+ if test "$targ_obj" = "UNKNOWN"; then
+- as_fn_error $? "\"unsupported target $targ\"" "$LINENO" 5
++ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"unsupported target $targ\"" >&5
++$as_echo "$as_me: WARNING: \"unsupported target $targ\"" >&2;}
+ else
+ targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
+ if test "$targ_extra_obj" != ""; then
+diff -rup binutils.orig/gold/configure.ac binutils-2.34/gold/configure.ac
+--- binutils.orig/gold/configure.ac 2020-04-20 12:35:13.050297291 +0100
++++ binutils-2.34/gold/configure.ac 2020-04-20 14:01:46.435868770 +0100
+@@ -181,7 +181,7 @@ for targ in $target $canon_targets; do
+ . ${srcdir}/configure.tgt
+
+ if test "$targ_obj" = "UNKNOWN"; then
+- AC_MSG_ERROR("unsupported target $targ")
++ AC_MSG_WARN("unsupported target $targ")
+ else
+ targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
+ if test "$targ_extra_obj" != ""; then
+--- binutils.orig/ld/configure.tgt 2020-04-20 12:35:12.465301359 +0100
++++ binutils-2.34/ld/configure.tgt 2020-04-20 14:17:52.123066333 +0100
+@@ -220,7 +220,7 @@ bfin-*-linux-uclibc*) targ_emul=elf32bfi
+ targ_extra_emuls="elf32bfin"
+ targ_extra_libpath=$targ_extra_emuls
+ ;;
+-bpf-*-*) targ_emul=elf64bpf
++bpf-* | bpf-*-*) targ_emul=elf64bpf
+ ;;
+ cr16-*-elf*) targ_emul=elf32cr16
+ ;;
+@@ -1026,7 +1026,7 @@ z8k-*-coff) targ_emul=z8002
+ targ_extra_ofiles=
+ ;;
+ *)
+- echo 2>&1 "*** ld does not support target ${targ}"
++ echo 2>&1 "*** ld does not support target '${targ}' NO REALLY"
+ echo 2>&1 "*** see ld/configure.tgt for supported targets"
+ exit 1
+
+--- binutils.orig/bfd/config.bfd 2020-04-20 12:35:13.038297375 +0100
++++ binutils-2.34/bfd/config.bfd 2020-04-20 14:25:26.452869193 +0100
+@@ -473,7 +473,7 @@ case "${targ}" in
+ ;;
+
+ #ifdef BFD64
+- bpf-*-none)
++ bpf-*-none | bpf-*)
+ targ_defvec=bpf_elf64_le_vec
+ targ_selvecs=bpf_elf64_be_vec
+ targ_underscore=yes
+@@ -1427,7 +1427,7 @@ case "${targ}" in
+ ;;
+
+ *)
+- echo 1>&2 "*** BFD does not support target ${targ}."
++ echo 1>&2 "*** BFD does not support target '${targ}'. Honest."
+ echo 1>&2 "*** Look in bfd/config.bfd for supported targets."
+ exit 1
+ ;;