From 4bc356f58584d346275e97a43ac88c19490d0fd0 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 14 Jan 2023 17:03:36 +0000 Subject: [PATCH 1/7] binutils: update to 2.40 ann: - https://sourceware.org/pipermail/binutils/2023-January/125671.html --- packages/devel/binutils/package.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/devel/binutils/package.mk b/packages/devel/binutils/package.mk index 40fc3a3759..6d413be766 100644 --- a/packages/devel/binutils/package.mk +++ b/packages/devel/binutils/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="binutils" -PKG_VERSION="2.39" -PKG_SHA256="645c25f563b8adc0a81dbd6a41cffbf4d37083a382e02d5d3df4f65c09516d00" +PKG_VERSION="2.40" +PKG_SHA256="0f8a4c272d7f17f369ded10a4aca28b8e304828e95526da482b0ccc4dfc9d8e1" PKG_LICENSE="GPL" PKG_SITE="https://www.gnu.org/software/binutils/" PKG_URL="https://ftp.gnu.org/gnu/binutils/${PKG_NAME}-${PKG_VERSION}.tar.xz" @@ -62,6 +62,7 @@ make_host() { makeinstall_host() { cp -v ../include/libiberty.h ${SYSROOT_PREFIX}/usr/include + make -C libsframe install # bfd is reliant on libsframe make -C bfd install # fix parallel build with libctf requiring bfd # override the makeinfo binary with true - this does not build the documentation make HELP2MAN=true MAKEINFO=true install From d95f73e03ad2c0b5a80f028b10e56fc6ed92d6e8 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 14 Jan 2023 21:29:05 +0000 Subject: [PATCH 2/7] binutils-bpf: bfd is reliant on libsframe --- packages/devel/binutils-bpf/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devel/binutils-bpf/package.mk b/packages/devel/binutils-bpf/package.mk index ae1034732d..9b970370ea 100644 --- a/packages/devel/binutils-bpf/package.mk +++ b/packages/devel/binutils-bpf/package.mk @@ -48,6 +48,7 @@ make_host() { makeinstall_host() { cp -v ../include/libiberty.h ${SYSROOT_PREFIX}/usr/include + make -C libsframe install # bfd is reliant on libsframe make -C bfd install # fix parallel build with libctf requiring bfd # override the makeinfo binary with true - this does not build the documentation make MAKEINFO=true install From 71470bfaf72adbfe819449a208e56f2f9b91cf9e Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 14 Jan 2023 21:29:43 +0000 Subject: [PATCH 3/7] binutils-arm-none-eabi: bfd is reliant on libsframe --- packages/devel/binutils-arm-none-eabi/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devel/binutils-arm-none-eabi/package.mk b/packages/devel/binutils-arm-none-eabi/package.mk index 67649111e5..e2d7af56d8 100644 --- a/packages/devel/binutils-arm-none-eabi/package.mk +++ b/packages/devel/binutils-arm-none-eabi/package.mk @@ -48,6 +48,7 @@ make_host() { makeinstall_host() { cp -v ../include/libiberty.h ${SYSROOT_PREFIX}/usr/include + make -C libsframe install # bfd is reliant on libsframe make -C bfd install # fix parallel build with libctf requiring bfd # override the makeinfo binary with true - this does not build the documentation make MAKEINFO=true install From ca97b96f26f99dc0035b69de5c18eca5944351cf Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Sat, 14 Jan 2023 21:30:19 +0000 Subject: [PATCH 4/7] binutils-aarch64: bfd is reliant on libsframe --- packages/devel/binutils-aarch64/package.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/devel/binutils-aarch64/package.mk b/packages/devel/binutils-aarch64/package.mk index b5bd868482..6dc677e0dd 100644 --- a/packages/devel/binutils-aarch64/package.mk +++ b/packages/devel/binutils-aarch64/package.mk @@ -48,6 +48,7 @@ make_host() { makeinstall_host() { cp -v ../include/libiberty.h ${SYSROOT_PREFIX}/usr/include + make -C libsframe install # bfd is reliant on libsframe make -C bfd install # fix parallel build with libctf requiring bfd # override the makeinfo binary with true - this does not build the documentation make MAKEINFO=true install From f2269b4ff4b717cb9b500d64b791d74a4f981488 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Wed, 25 Jan 2023 10:03:56 +0000 Subject: [PATCH 5/7] glibc: update to 2.37 --- packages/devel/glibc/package.mk | 4 +- ...ix-MAKEFLAGS-assignment-for-make-4-4.patch | 111 ------------------ 2 files changed, 2 insertions(+), 113 deletions(-) delete mode 100644 packages/devel/glibc/patches/glibc-Makerules-fix-MAKEFLAGS-assignment-for-make-4-4.patch diff --git a/packages/devel/glibc/package.mk b/packages/devel/glibc/package.mk index 35e25f2bc2..8afdb98aee 100644 --- a/packages/devel/glibc/package.mk +++ b/packages/devel/glibc/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv) PKG_NAME="glibc" -PKG_VERSION="2.36" -PKG_SHA256="1c959fea240906226062cb4b1e7ebce71a9f0e3c0836c09e7e3423d434fcfe75" +PKG_VERSION="2.37" +PKG_SHA256="2257eff111a1815d74f46856daaf40b019c1e553156c69d48ba0cbfc1bb91a43" PKG_LICENSE="GPL" PKG_SITE="https://www.gnu.org/software/libc/" PKG_URL="https://ftp.gnu.org/pub/gnu/glibc/${PKG_NAME}-${PKG_VERSION}.tar.xz" diff --git a/packages/devel/glibc/patches/glibc-Makerules-fix-MAKEFLAGS-assignment-for-make-4-4.patch b/packages/devel/glibc/patches/glibc-Makerules-fix-MAKEFLAGS-assignment-for-make-4-4.patch deleted file mode 100644 index 844a5bb6f9..0000000000 --- a/packages/devel/glibc/patches/glibc-Makerules-fix-MAKEFLAGS-assignment-for-make-4-4.patch +++ /dev/null @@ -1,111 +0,0 @@ -From 2d7ed98add14f75041499ac189696c9bd3d757fe Mon Sep 17 00:00:00 2001 -From: Sergei Trofimovich -Date: Tue, 13 Sep 2022 13:39:13 -0400 -Subject: [PATCH] Makerules: fix MAKEFLAGS assignment for upcoming make-4.4 - [BZ# 29564] - -make-4.4 will add long flags to MAKEFLAGS variable: - - * WARNING: Backward-incompatibility! - Previously only simple (one-letter) options were added to the MAKEFLAGS - variable that was visible while parsing makefiles. Now, all options - are available in MAKEFLAGS. - -This causes locale builds to fail when long options are used: - - $ make --shuffle - ... - make -C localedata install-locales - make: invalid shuffle mode: '1662724426r' - -The change fixes it by passing eash option via whitespace and dashes. -That way option is appended to both single-word form and whitespace -separated form. - -While at it fixed --silent mode detection in $(MAKEFLAGS) by filtering -out --long-options. Otherwise options like --shuffle flag enable silent -mode unintentionally. $(silent-make) variable consolidates the checks. - -Resolves: BZ# 29564 - -CC: Paul Smith -CC: Siddhesh Poyarekar -Signed-off-by: Sergei Trofimovich -Reviewed-by: Siddhesh Poyarekar ---- - Makeconfig | 18 +++++++++++++++++- - Makerules | 4 ++-- - elf/rtld-Rules | 2 +- - 3 files changed, 20 insertions(+), 4 deletions(-) - -diff --git a/Makeconfig b/Makeconfig -index f8164a0025..842f49eb58 100644 ---- a/Makeconfig -+++ b/Makeconfig -@@ -43,6 +43,22 @@ else - $(error objdir must be defined by the build-directory Makefile) - endif - -+# Did we request 'make -s' run? "yes" or "no". -+# Starting from make-4.4 MAKEFLAGS now contains long -+# options like '--shuffle'. To detect presence of 's' -+# we pick first word with short options. Long options -+# are guaranteed to come after whitespace. We use '-' -+# prefix to always have a word before long options -+# even if no short options were passed. -+# Typical MAKEFLAGS values to watch for: -+# "rs --shuffle=42" (silent) -+# " --shuffle" (not silent) -+ifeq ($(findstring s, $(firstword -$(MAKEFLAGS))),) -+silent-make := no -+else -+silent-make := yes -+endif -+ - # Root of the sysdeps tree. - sysdep_dir := $(..)sysdeps - export sysdep_dir := $(sysdep_dir) -@@ -917,7 +933,7 @@ endif - # umpteen zillion filenames along with it (we use `...' instead) - # but we don't want this echoing done when the user has said - # he doesn't want to see commands echoed by using -s. --ifneq "$(findstring s,$(MAKEFLAGS))" "" # if -s -+ifeq ($(silent-make),yes) # if -s - +cmdecho := echo >/dev/null - else # not -s - +cmdecho := echo -diff --git a/Makerules b/Makerules -index d1e139d03c..09c0cf8357 100644 ---- a/Makerules -+++ b/Makerules -@@ -794,7 +794,7 @@ endif - # Maximize efficiency by minimizing the number of rules. - .SUFFIXES: # Clear the suffix list. We don't use suffix rules. - # Don't define any builtin rules. --MAKEFLAGS := $(MAKEFLAGS)r -+MAKEFLAGS := $(MAKEFLAGS) -r - - # Generic rule for making directories. - %/: -@@ -811,7 +811,7 @@ MAKEFLAGS := $(MAKEFLAGS)r - .PRECIOUS: $(foreach l,$(libtypes),$(patsubst %,$(common-objpfx)$l,c)) - - # Use the verbose option of ar and tar when not running silently. --ifeq "$(findstring s,$(MAKEFLAGS))" "" # if not -s -+ifeq ($(silent-make),no) # if not -s - verbose := v - else # -s - verbose := -diff --git a/elf/rtld-Rules b/elf/rtld-Rules -index ca00dd1fe2..3c5e273f2b 100644 ---- a/elf/rtld-Rules -+++ b/elf/rtld-Rules -@@ -52,7 +52,7 @@ $(objpfx)rtld-libc.a: $(foreach dir,$(rtld-subdirs),\ - mv -f $@T $@ - - # Use the verbose option of ar and tar when not running silently. --ifeq "$(findstring s,$(MAKEFLAGS))" "" # if not -s -+ifeq ($(silent-make),no) # if not -s - verbose := v - else # -s - verbose := From 1d37a1825269da297d87e5757de6f87bf8972dc8 Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Tue, 21 Feb 2023 13:19:46 +0000 Subject: [PATCH 6/7] autoconf-archive: update to 2023.02.20 --- packages/devel/autoconf-archive/package.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/devel/autoconf-archive/package.mk b/packages/devel/autoconf-archive/package.mk index 34a9df8837..02212115c5 100644 --- a/packages/devel/autoconf-archive/package.mk +++ b/packages/devel/autoconf-archive/package.mk @@ -3,8 +3,8 @@ # Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv) PKG_NAME="autoconf-archive" -PKG_VERSION="2022.09.03" -PKG_SHA256="e07454f00d8cae7907bed42d0747798927809947684d94c37207a4d63a32f423" +PKG_VERSION="2023.02.20" +PKG_SHA256="71d4048479ae28f1f5794619c3d72df9c01df49b1c628ef85fde37596dc31a33" PKG_LICENSE="GPL" PKG_SITE="https://www.gnu.org/software/autoconf-archive/" PKG_URL="http://ftpmirror.gnu.org/autoconf-archive/${PKG_NAME}-${PKG_VERSION}.tar.xz" From eeaef3228cdb33df9ced60a2be193c63219f2b1b Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Thu, 17 Mar 2022 10:09:44 +0000 Subject: [PATCH 7/7] libtool: update to 2.4.7 --- packages/devel/libtool/package.mk | 9 ++++++--- .../patches/libtool-02-aclocal-m4.patch | 20 +++++++++++++++++++ .../libtool/patches/libtool-02-use_ld.patch | 13 ------------ 3 files changed, 26 insertions(+), 16 deletions(-) create mode 100644 packages/devel/libtool/patches/libtool-02-aclocal-m4.patch delete mode 100644 packages/devel/libtool/patches/libtool-02-use_ld.patch diff --git a/packages/devel/libtool/package.mk b/packages/devel/libtool/package.mk index 29a69cc689..9ea61cbffc 100644 --- a/packages/devel/libtool/package.mk +++ b/packages/devel/libtool/package.mk @@ -3,18 +3,21 @@ # Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) PKG_NAME="libtool" -PKG_VERSION="2.4.6" -PKG_SHA256="e3bd4d5d3d025a36c21dd6af7ea818a2afcd4dfc1ea5a17b39d7854bcd0c06e3" +PKG_VERSION="2.4.7" +PKG_SHA256="04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8" PKG_LICENSE="GPL" PKG_SITE="http://www.gnu.org/software/libtool/" PKG_URL="http://ftpmirror.gnu.org/libtool/${PKG_NAME}-${PKG_VERSION}.tar.gz" PKG_DEPENDS_HOST="ccache:host autoconf:host automake:host intltool:host" PKG_DEPENDS_TARGET="toolchain" PKG_LONGDESC="A generic library support script." -PKG_TOOLCHAIN="autotools" PKG_CONFIGURE_OPTS_HOST="--enable-static --disable-shared" +post_unpack() { + chmod u+w ${PKG_BUILD}/build-aux/ltmain.sh +} + post_makeinstall_target() { rm -rf ${INSTALL}/usr/bin rm -rf ${INSTALL}/usr/share diff --git a/packages/devel/libtool/patches/libtool-02-aclocal-m4.patch b/packages/devel/libtool/patches/libtool-02-aclocal-m4.patch new file mode 100644 index 0000000000..4117f06fde --- /dev/null +++ b/packages/devel/libtool/patches/libtool-02-aclocal-m4.patch @@ -0,0 +1,20 @@ +--- a/aclocal.m4 2022-03-17 02:45:15.000000000 +0000 ++++ b/aclocal.m4 2022-03-18 08:15:31.544666740 +0000 +@@ -35,7 +35,7 @@ + [am__api_version='1.16' + dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to + dnl require some minimum version. Point them to the right macro. +-m4_if([$1], [1.16.3], [], ++m4_if([$1], [1.16.5], [], + [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl + ]) + +@@ -51,7 +51,7 @@ + # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. + # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. + AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], +-[AM_AUTOMAKE_VERSION([1.16.3])dnl ++[AM_AUTOMAKE_VERSION([1.16.5])dnl + m4_ifndef([AC_AUTOCONF_VERSION], + [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl + _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) diff --git a/packages/devel/libtool/patches/libtool-02-use_ld.patch b/packages/devel/libtool/patches/libtool-02-use_ld.patch deleted file mode 100644 index e98c856e8e..0000000000 --- a/packages/devel/libtool/patches/libtool-02-use_ld.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/build-aux/ltmain.sh b/build-aux/ltmain.sh -index 23901ff..df26ab5 100644 ---- a/build-aux/ltmain.sh -+++ b/build-aux/ltmain.sh -@@ -7250,7 +7250,7 @@ func_mode_link () - # -stdlib=* select c++ std lib with clang - -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -- -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) -+ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*|-fuse-ld=*) - func_quote_for_eval "$arg" - arg=$func_quote_for_eval_result - func_append compile_command " $arg"