From: Peter Michael Green Date: Sat, 21 Oct 2023 00:35:23 +0000 (+0000) Subject: Manual merge of version 2.40-2+rpi2 and 2.41-6 to produce 2.41-6+rpi1 X-Git-Tag: archive/raspbian/2.41-6+rpi1^0 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=661e04eec3a94f60f9dedeb625f6ab119984ce87;p=binutils.git Manual merge of version 2.40-2+rpi2 and 2.41-6 to produce 2.41-6+rpi1 --- 661e04eec3a94f60f9dedeb625f6ab119984ce87 diff --cc debian/changelog index 832430fda,2ed40e273..893f66cff --- a/debian/changelog +++ b/debian/changelog @@@ -1,48 -1,187 +1,215 @@@ - binutils (2.40-2+rpi2) bookworm-staging; urgency=medium - - * Non-maintainer upload. - * Use sed to adjust help2man output for multiarch consistency. - - -- Peter Michael Green Tue, 23 May 2023 02:13:28 +0000 - - binutils (2.40-2+rpi1) bookworm-staging; urgency=medium ++binutils (2.41-6+rpi1) trixie-staging; urgency=medium + + [changes brought forward from 2.29-4+rpi1 by Peter Michael Green at Thu, 17 Aug 2017 15:41:49 +0000] + * Disable testsuite, it fails on our lxc based autobuilders. + + [changes brought forward from 2.31.1-16+rpi2 by Peter Michael Green at Thu, 06 Feb 2020 17:10:11 +0000] + * Allow dependency of binutils on binutils-triplet to be satisfied by + foreign architectures, to facilitate setting up environments where the + linker is 64-bit while everything else is 32-bit. + + [changes brought forward from 2.35-3+rpi2 by Peter Michael Green at Tue, 22 Sep 2020 18:10:17 +0000] + * Build sufficient cross binutils to support u-boot build. + + [changes brought forward from 2.35.1-3+rpi2 by Peter Michael Green at Tue, 01 Dec 2020 21:55:01 +0000] + * Build the same set of cross-binutils on arm64 as on armhf. + (avoids issues when control is generated on armhf and then package is + built on arm64) + * Remove build-depends as testsuite is disabled. + + [changes brought forward from 2.37.90.20220130-2+rpi2 by Peter Michael Green at Thu, 10 Feb 2022 12:05:47 +0000] + * Apply patch proposed upstream to fix glibc link issue. + - -- Raspbian forward porter Sun, 05 Feb 2023 02:50:50 +0000 ++ [changes brought forward from 2.40-2+rpi2 by Peter Michael Green at Tue, 23 May 2023 02:13:28 +0000] ++ * Non-maintainer upload. ++ * Use sed to adjust help2man output for multiarch consistency. ++ ++ -- Peter Michael Green Sat, 21 Oct 2023 00:34:16 +0000 ++ + binutils (2.41-6) unstable; urgency=medium + + * Update binutils from the 2.41 branch. + - Fix PR gas/30856, x86-64: suffix-less PUSH of symbol address. + - AArch64: Remove unused function. + - x86: restrict prefix use with .insn VEX/XOP/EVEX. + * Build packages for loong64. Closes: #1034633. + * Fix PR ld/30940, taken from the trunk. Closes: #1053578. + + -- Matthias Klose Wed, 11 Oct 2023 03:40:20 +0200 + + binutils (2.41-5) unstable; urgency=medium + + * Update binutils from the 2.41 branch. + - Fix PR gold/30794 (PPC): internal error in add_output_section_to_load. + - Fix PR bfd/30724, cygwin ld performance regression. + + -- Matthias Klose Tue, 05 Sep 2023 15:53:35 +0200 + + binutils (2.41-4) unstable; urgency=medium + + * Update binutils from the 2.41 branch. + - Fix PR ld/30697, ppc32 mix of local-dynamic and global-dynamic TLS. + * Don't create a dangling gold symlink on archs where it's not available. + + -- Matthias Klose Wed, 09 Aug 2023 16:36:52 +0200 + + binutils (2.41-3) unstable; urgency=medium + + * Apply proposed patch for PR gprofng/30700. + * Also ignore the gprofng.display/display.exp synprog test failure. + + -- Matthias Klose Thu, 03 Aug 2023 06:10:47 +0200 + + binutils (2.41-2) unstable; urgency=medium + + * Update binutils from the 2.41 branch. + - Fix PR gas/28989, rework timestamp preservation on doc/asconfig.texi. + - Update translations. + * Bump symbols files to final 2.41 version. + * Update VCS attributes. + * Ignore gprofng and bootstrap test regressions. + * gprofng: Fix build with 64bit file offset on 32bit machines, patch taken + from the trunk. + * Build alpha arc hppa m68k sh4 sparc64 cross packages on ppc64el. + + -- Matthias Klose Wed, 02 Aug 2023 09:49:46 +0200 + + binutils (2.41-1) unstable; urgency=medium + + * binutils 2.41 release. + * Update libgprofng0 symbols file for x32. + + -- Matthias Klose Sun, 30 Jul 2023 18:01:13 +0200 + + binutils (2.40.90.20230729-2) unstable; urgency=medium + + * Fix typo in libgprofng0 symbols file (Sven Joachim). Closes: #1042498. + + -- Matthias Klose Sat, 29 Jul 2023 12:47:21 +0200 + + binutils (2.40.90.20230729-1) unstable; urgency=medium + + * New upstream snapshot, taken from the binutils 2.41 release branch. + * Let objcopy honor the SOURCE_DATE_EPOCH env (Johannes Schauer). + Taken from the trunk, closes: #1040450. + * Fix some lintian warnings. + * Ignore bootstrap regressions on m68k. + * Add libgprofng0 symbols file. + + -- Matthias Klose Sat, 29 Jul 2023 04:14:55 +0200 + + binutils (2.40.90.20230720-1) unstable; urgency=medium + + * New upstream snapshot, taken from the binutils 2.41 release branch. + - Fix PR ld/30632 - ld segfaults if linker script includes a STARTUP line. + Closes: #1040913. + * Stop ignoring new regressions again. + * binutils: Suggest gprofng-gui. + + -- Matthias Klose Thu, 20 Jul 2023 15:27:46 +0200 + + binutils (2.40.90.20230714-2) unstable; urgency=medium + + * Ignore the dwarf.exp test failure, not reproducible locally. - binutils (2.40-2) unstable; urgency=high + -- Matthias Klose Sat, 15 Jul 2023 16:58:54 +0200 - * binutils 2.40 release. - - ARM: Fix ld bloat introduced between binutils-2.38 and 2.39. - - ld/testsuite: Adjust for ELF_MAXPAGESIZE 0x1000. - - PR libctf/29983: ctf-link outdated input check faulty. - - PR bfd/29988, Fix a potential illegal memory access in the BFD library - when parsing a corrupt DWARF file. - - PR gas/29940, gas/RISC-V: adjust assembler for opcode table re-ordering. - - IBM zSystems: Fix offset relative to static TLS. - * Remove the workaround for PR gas/29940. + binutils (2.40.90.20230714-1) unstable; urgency=medium + + * New upstream snapshot, taken from the binutils 2.41 release branch. + * Stop ignoring new regressions on mipsel and mips64el. + * Build alpha hppa m68k powerpc sh4 sparc64 cross packages on arm64. + Addresses: #969195. + * Fix PR gprofng/30602, taken from the trunk. + * Run the testsuite on i386 again. + + -- Matthias Klose Fri, 14 Jul 2023 12:42:55 +0200 + + binutils (2.40.90.20230705-1) unstable; urgency=medium + + * New upstream snapshot, taken from the binutils 2.41 release branch. + * Disable running tests on i386, testsuite hangs, see PR gprofng/30602. + * Ignore regressions on mipsel and mips64el. These were introduced by + the upstream mips maintainer by reverting some commits. His promise + is these "will be sorted in the coming weeks, resources permitting". + See PR 30607. Don't wait for this promise. + + -- Matthias Klose Wed, 05 Jul 2023 13:50:30 +0200 + + binutils (2.40.50.20230630-1) unstable; urgency=medium + + * New upstream snapshot, taken from the trunk. + * Split-out libsframe1 and libsframe1-dbg packages. + * Build hurd-amd64 cross packages. + + -- Matthias Klose Fri, 30 Jun 2023 10:42:05 +0200 + + binutils (2.40.50.20230625-1) unstable; urgency=medium + + * New upstream snapshot, taken from the trunk. + + -- Matthias Klose Sun, 25 Jun 2023 09:25:03 +0200 + + binutils (2.40.50.20230622-1) unstable; urgency=medium + + * New upstream snapshot, taken from the trunk. + + -- Matthias Klose Thu, 22 Jun 2023 14:46:17 +0200 + + binutils (2.40.50.20230618-1) unstable; urgency=medium + + * New upstream snapshot, taken from the trunk. + + -- Matthias Klose Sun, 18 Jun 2023 10:04:06 +0200 + + binutils (2.40.50.20230611-2) unstable; urgency=medium + + * Ignore the objdump test failures for now. + + -- Matthias Klose Sun, 11 Jun 2023 19:46:54 +0200 + + binutils (2.40.50.20230611-1) unstable; urgency=medium + + * New upstream snapshot, taken from the trunk. + + -- Matthias Klose Sun, 11 Jun 2023 13:30:31 +0200 + + binutils (2.40.50.20230602-1) experimental; urgency=medium + + * New upstream snapshot, taken from the trunk. + * debian/rules: Pass argument to tar to sort the files in the binutils + source tarball (Vagrant Cascadian). Closes: #1033958. + + -- Matthias Klose Fri, 02 Jun 2023 10:10:27 +0200 + + binutils (2.40.50.20230510-1) experimental; urgency=medium + + * New upstream snapshot, taken from the trunk. + * Pass -ffile-prefix-map to CFLAGS and CXXFLAGS (Vagrant Cascadian). + Closes: #1033959. + * Build a hurd-amd64 package (Samuel Thibault). Closes: #1035773. + + -- Matthias Klose Wed, 10 May 2023 14:35:01 +0200 + + binutils (2.40.50.20230501-1) experimental; urgency=medium + + * New upstream snapshot, taken from the trunk. * Refresh patches. + * Provide the gold binary name in cross packages. Closes: #1035342. + + -- Matthias Klose Mon, 01 May 2023 15:45:35 +0200 + + binutils (2.40.50.20230215-1) experimental; urgency=medium + + * New upstream snapshot, taken from the trunk. + + -- Matthias Klose Wed, 15 Feb 2023 05:46:01 +0100 + + binutils (2.40.50.20230111-1) experimental; urgency=medium + + * New upstream snapshot, taken from the trunk. - -- Matthias Klose Sat, 14 Jan 2023 18:24:22 +0100 + -- Matthias Klose Wed, 11 Jan 2023 07:47:52 +0100 binutils (2.39.90.20230110-1) unstable; urgency=medium diff --cc debian/control index 31d42f53f,db8babf11..6e770d8b3 --- a/debian/control +++ b/debian/control @@@ -419,7 -458,7 +442,7 @@@ Description: GNU binary utilities, for Package: binutils-alpha-linux-gnu Priority: optional - Architecture: alpha -Architecture: alpha amd64 i386 x32 arm64 ppc64el ++Architecture: alpha arm64 ppc64el Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -437,7 -476,7 +460,7 @@@ Description: GNU binary utilities, for Package: binutils-alpha-linux-gnu-dbg Section: debug Priority: optional - Architecture: alpha -Architecture: alpha amd64 i386 x32 arm64 ppc64el ++Architecture: alpha arm64 ppc64el Multi-Arch: foreign Depends: binutils-alpha-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for alpha-linux-gnu target (debug symbols) @@@ -471,7 -510,7 +494,7 @@@ Description: GNU binary utilities, for Package: binutils-hppa-linux-gnu Priority: optional - Architecture: hppa -Architecture: hppa amd64 i386 x32 arm64 ppc64el ++Architecture: hppa arm64 ppc64el Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -489,7 -528,7 +512,7 @@@ Description: GNU binary utilities, for Package: binutils-hppa-linux-gnu-dbg Section: debug Priority: optional - Architecture: hppa -Architecture: hppa amd64 i386 x32 arm64 ppc64el ++Architecture: hppa arm64 ppc64el Multi-Arch: foreign Depends: binutils-hppa-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for hppa-linux-gnu target (debug symbols) @@@ -521,9 -560,35 +544,35 @@@ Depends: binutils-ia64-linux-gnu (= ${b Description: GNU binary utilities, for ia64-linux-gnu target (debug symbols) This package provides debug symbols for binutils-ia64-linux-gnu. + Package: binutils-loongarch64-linux-gnu + Priority: optional + Architecture: loong64 amd64 i386 x32 arm64 ppc64el + Multi-Arch: allowed + Depends: binutils-common (= ${binary:Version}), + ${shlibs:Depends}, ${extraDepends} + Suggests: binutils-doc (= ${source:Version}) + Provides: + Breaks: binutils (<< 2.29-6), binutils-dev (<< 2.38.50.20220609-2) + Replaces: binutils (<< 2.29-6), binutils-dev (<< 2.38.50.20220609-2) + Description: GNU binary utilities, for loongarch64-linux-gnu target + This package provides GNU assembler, linker and binary utilities + for the loongarch64-linux-gnu target. + . + You don't need this package unless you plan to cross-compile programs + for loongarch64-linux-gnu and loongarch64-linux-gnu is not your native platform. + + Package: binutils-loongarch64-linux-gnu-dbg + Section: debug + Priority: optional + Architecture: loong64 amd64 i386 x32 arm64 ppc64el + Multi-Arch: foreign + Depends: binutils-loongarch64-linux-gnu (= ${binary:Version}) + Description: GNU binary utilities, for loongarch64-linux-gnu target (debug symbols) + This package provides debug symbols for binutils-loongarch64-linux-gnu. + Package: binutils-m68k-linux-gnu Priority: optional - Architecture: m68k -Architecture: m68k amd64 i386 x32 arm64 ppc64el ++Architecture: m68k arm64 ppc64el Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -541,7 -606,7 +590,7 @@@ Description: GNU binary utilities, for Package: binutils-m68k-linux-gnu-dbg Section: debug Priority: optional - Architecture: m68k -Architecture: m68k amd64 i386 x32 arm64 ppc64el ++Architecture: m68k arm64 ppc64el Multi-Arch: foreign Depends: binutils-m68k-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for m68k-linux-gnu target (debug symbols) @@@ -549,7 -614,7 +598,7 @@@ Package: binutils-powerpc-linux-gnu Priority: optional - Architecture: powerpc -Architecture: powerpc amd64 i386 x32 arm64 ppc64el ++Architecture: powerpc arm64 Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -567,7 -632,7 +616,7 @@@ Description: GNU binary utilities, for Package: binutils-powerpc-linux-gnu-dbg Section: debug Priority: optional - Architecture: powerpc -Architecture: powerpc amd64 i386 x32 arm64 ppc64el ++Architecture: powerpc arm64 Multi-Arch: foreign Depends: binutils-powerpc-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for powerpc-linux-gnu target (debug symbols) @@@ -627,7 -692,7 +676,7 @@@ Description: GNU binary utilities, for Package: binutils-sh4-linux-gnu Priority: optional - Architecture: sh4 -Architecture: sh4 amd64 i386 x32 arm64 ppc64el ++Architecture: sh4 arm64 ppc64el Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -645,7 -710,7 +694,7 @@@ Description: GNU binary utilities, for Package: binutils-sh4-linux-gnu-dbg Section: debug Priority: optional - Architecture: sh4 -Architecture: sh4 amd64 i386 x32 arm64 ppc64el ++Architecture: sh4 arm64 ppc64el Multi-Arch: foreign Depends: binutils-sh4-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for sh4-linux-gnu target (debug symbols) @@@ -653,7 -718,7 +702,7 @@@ Package: binutils-sparc64-linux-gnu Priority: optional - Architecture: sparc64 -Architecture: sparc64 amd64 i386 x32 arm64 ppc64el ++Architecture: sparc64 arm64 ppc64el Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} @@@ -671,7 -736,7 +720,7 @@@ Description: GNU binary utilities, for Package: binutils-sparc64-linux-gnu-dbg Section: debug Priority: optional - Architecture: sparc64 -Architecture: sparc64 amd64 i386 x32 arm64 ppc64el ++Architecture: sparc64 arm64 ppc64el Multi-Arch: foreign Depends: binutils-sparc64-linux-gnu (= ${binary:Version}) Description: GNU binary utilities, for sparc64-linux-gnu target (debug symbols) @@@ -703,9 -768,35 +752,35 @@@ Depends: binutils-x86-64-linux-gnux32 ( Description: GNU binary utilities, for x86-64-linux-gnux32 target (debug symbols) This package provides debug symbols for binutils-x86-64-linux-gnux32. + Package: binutils-x86-64-gnu + Priority: optional + Architecture: hurd-amd64 amd64 i386 x32 + Multi-Arch: allowed + Depends: binutils-common (= ${binary:Version}), + ${shlibs:Depends}, ${extraDepends} + Suggests: binutils-doc (= ${source:Version}) + Provides: + Breaks: binutils (<< 2.29-6), binutils-dev (<< 2.38.50.20220609-2) + Replaces: binutils (<< 2.29-6), binutils-dev (<< 2.38.50.20220609-2) + Description: GNU binary utilities, for x86-64-gnu target + This package provides GNU assembler, linker and binary utilities + for the x86-64-gnu target. + . + You don't need this package unless you plan to cross-compile programs + for x86-64-gnu and x86-64-gnu is not your native platform. + + Package: binutils-x86-64-gnu-dbg + Section: debug + Priority: optional + Architecture: hurd-amd64 amd64 i386 x32 + Multi-Arch: foreign + Depends: binutils-x86-64-gnu (= ${binary:Version}) + Description: GNU binary utilities, for x86-64-gnu target (debug symbols) + This package provides debug symbols for binutils-x86-64-gnu. + Package: binutils-i686-gnu Priority: optional -Architecture: hurd-i386 amd64 i386 x32 +Architecture: hurd-i386 Multi-Arch: allowed Depends: binutils-common (= ${binary:Version}), ${shlibs:Depends}, ${extraDepends} diff --cc debian/patches/series index e8c99d9fb,4200b6b63..4e32de911 --- a/debian/patches/series +++ b/debian/patches/series @@@ -12,17 -13,30 +12,20 @@@ branch-updates.dif 135_bfd_soversion.patch 136_bfd_pic.patch 157_ar_scripts_with_tilde.patch -#158_ld_system_root.patch 161_gold_dummy_zoption.diff - -# only applied for GFDL builds 164_ld_doc_remove_xref.diff - gprof-build.diff aarch64-libpath.diff - mips64-default-n64.diff -#pr-ld-16428.diff gold-mips.diff gold-no-keep-files-mapped.diff + -# trunk backports + objcopy-timestamps.diff + gprofng-large-files.diff - -# experimental ... -#infinity-notes.diff libctf-soname.diff - mips-hack.diff - perl-shebang.diff -- link-jansson.diff + pr30700.diff + pr30940.diff +fix-glibc-link-assertion.patch +auto-2.38.50.20220707-1+rpi1-84d864a8c2aeed15bfe172bf90b18895b65054fa-1657735965 diff --cc debian/rules index 563d26fa1,920cf9c52..85c530838 --- a/debian/rules +++ b/debian/rules @@@ -139,14 -141,13 +141,14 @@@ ifeq ($(DEB_SOURCE),binutils # DEB_HOST_ARCH is filtered-out later anyway, do not test here. CROSS_ARCHS ?= amd64 i386 x32 \ s390x ppc64el arm64 armhf armel \ - alpha arc hppa m68k \ + alpha arc hppa loong64 m68k \ powerpc ppc64 sh4 sparc64 \ ia64 riscv64 \ - kfreebsd-amd64 kfreebsd-i386 hurd-i386 + kfreebsd-amd64 kfreebsd-i386 hurd-amd64 hurd-i386 else ifeq ($(DEB_HOST_ARCH),arm64) - CROSS_ARCHS ?= amd64 armel armhf i386 powerpc ppc64el riscv64 s390x \ - alpha arc hppa m68k sh4 sparc64 x32 + CROSS_ARCHS ?= amd64 armel armhf i386 riscv64 + else ifeq ($(DEB_HOST_ARCH),armhf) + CROSS_ARCHS ?= amd64 armel arm64 i386 riscv64 else ifeq ($(DEB_HOST_ARCH),ppc64) CROSS_ARCHS ?= ppc64el else ifeq ($(DEB_HOST_ARCH),ppc64el) @@@ -191,29 -193,29 +194,29 @@@ ifneq (,$(filter $(DEB_HOST_ARCH),amd6 CONF_GPROFNG = --enable-gprofng endif - HOST_ARCHS_arc = amd64 i386 x32 arm64 HOST_ARCHS_armhf = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_armel = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el -HOST_ARCHS_powerpc = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_ppc64el = amd64 i386 x32 ppc64 arm64 +HOST_ARCHS_armel = amd64 i386 x32 arm64 ppc64el armhf +HOST_ARCHS_arm64 = amd64 i386 x32 ppc64el armhf +HOST_ARCHS_powerpc = amd64 i386 x32 ppc64el +HOST_ARCHS_ppc64el = amd64 i386 x32 ppc64 HOST_ARCHS_s390x = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_amd64 = arm64 i386 ppc64el x32 -HOST_ARCHS_i386 = amd64 arm64 ppc64el x32 +HOST_ARCHS_amd64 = arm64 i386 ppc64el x32 armhf +HOST_ARCHS_i386 = amd64 arm64 ppc64el x32 armhf HOST_ARCHS_ia64 = amd64 i386 x32 -HOST_ARCHS_riscv64 = amd64 i386 x32 arm64 ppc64el +HOST_ARCHS_riscv64 = amd64 i386 x32 arm64 ppc64el armhf - HOST_ARCHS_alpha = amd64 i386 x32 - #HOST_ARCHS_arc = amd64 i386 x32 - HOST_ARCHS_hppa = amd64 i386 x32 - HOST_ARCHS_m68k = amd64 i386 x32 + HOST_ARCHS_alpha = amd64 i386 x32 arm64 ppc64el + HOST_ARCHS_arc = amd64 i386 x32 arm64 ppc64el + HOST_ARCHS_hppa = amd64 i386 x32 arm64 ppc64el + HOST_ARCHS_loong64 = amd64 i386 x32 arm64 ppc64el + HOST_ARCHS_m68k = amd64 i386 x32 arm64 ppc64el HOST_ARCHS_ppc64 = amd64 i386 x32 ppc64el -HOST_ARCHS_sh4 = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_sparc64 = amd64 i386 x32 arm64 ppc64el -HOST_ARCHS_x32 = amd64 arm64 i386 ppc64el +HOST_ARCHS_sh4 = amd64 i386 x32 +HOST_ARCHS_sparc64 = amd64 i386 x32 +HOST_ARCHS_x32 = amd64 i386 ppc64el HOST_ARCHS_mips = amd64 i386 x32 -HOST_ARCHS_mipsel = amd64 i386 x32 arm64 ppc64el +HOST_ARCHS_mipsel = amd64 i386 x32 ppc64el HOST_ARCHS_mipsn32 = amd64 i386 x32 HOST_ARCHS_mipsn32el = amd64 i386 x32 HOST_ARCHS_mips64 = amd64 i386 x32