From patchwork Mon Aug 15 17:17:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5864 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FP2RH1z3wfK for ; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FL3xt6z5XF; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FL2kQmz2yyR; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FK6nTyz2xGX for ; Mon, 15 Aug 2022 17:17:57 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FK3Sr8z2Dj; Mon, 15 Aug 2022 17:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GIVeyUpms5bWty0rF3oDYnFqAIWDV1NSJcNg+p9rJzU=; b=bS42zAnKgS69tYr6SFPguFpnBy8JKBTFEJ6TQpLB51iDwXXtjRBt2uTL5+Pwc9URncuNsB hwSPeJu+16T/W5EbzzbX6EjVN9cWlLG09C8qu6bfkHFY4h3vLl/q4oWmgq7PXcYZgyEM8/ r/TfQXQWt8bjbrs1Mk8NNnf/Oy5WvDQAXXGQVwn3AQ+1BVsLoWlt3ovBLAQ/wm5SDOFW08 cQuedD/Ru28ZrjYHS2Mq66AByU3eBYPwWkASnWeYdy4zZMo7ohhqPyALDIB/GNCG8VoYLH aQPOrkY1SJ9JmK59yE8cm/mkvqGRnQsK6G+TySmvp9PEUExwDcaqEKz6NAjA0g== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=GIVeyUpms5bWty0rF3oDYnFqAIWDV1NSJcNg+p9rJzU=; b=mZyVZnGTRXs2YgvNu1D57nIQ5ZNfAwKZ9zf7Ytv34+/nJk/e1QAwLJpQ630sYIvUzR5oRL JbAKaQf9Rz9vcEDg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 01/15] sysvinit: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:39 +0000 Message-Id: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/sysvinit | 1 + src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch diff --git a/lfs/sysvinit b/lfs/sysvinit index 0126b283e..ec0a5c292 100644 --- a/lfs/sysvinit +++ b/lfs/sysvinit @@ -73,6 +73,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) # Newer C libraries omit this include from sys/types.h. # https://lists.gnu.org/archive/html/bug-gnulib/2016-03/msg00018.html cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/sysvinit-2.98_build_mountpoint.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch cd $(DIR_APP) && sed -i src/mountpoint.c src/bootlogd.c \ -e "/include.*sys\/stat.h/a#include \n" cd $(DIR_APP) && sed -e "s/libcrypt.a/libcrypt.so/g" -i src/Makefile diff --git a/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch b/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch new file mode 100644 index 000000000..ee6f621b5 --- /dev/null +++ b/src/patches/sysvinit-3.00-fix-glibc-2.36-headers.patch @@ -0,0 +1,10 @@ +--- sysvinit-3.00/src/sulogin.c~ 2022-08-09 09:43:41.993484098 +0000 ++++ sysvinit-3.00/src/sulogin.c 2022-08-09 09:45:04.897252500 +0000 +@@ -51,7 +51,6 @@ + #ifdef __linux__ + # include + # include +-# include + # include + # include + # ifndef TMPFS_MAGIC From patchwork Mon Aug 15 17:17:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5865 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FQ5mrGz3wfP for ; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FM3sL7z5XK; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FM3T18z2yyb; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FL1X1Yz2yK8 for ; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FK66mFz5TZ; Mon, 15 Aug 2022 17:17:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZtnUhSy5nnRYK/eXWkt5C9AbsmZYqpACtxWMyZCbbyM=; b=+V9YgRYMllwOUKo1xWSBuEwA4n7+MM5TeTSWYTZvrkChhTqUEefcPkMJm01PXW0JFRvi8w sVcpylUqMI8/5aBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZtnUhSy5nnRYK/eXWkt5C9AbsmZYqpACtxWMyZCbbyM=; b=d9eci8R8rTeiSzh5+I35gDzBrxJ4qz+rws51kGzln7DaC+4JYkF8IeDVxLe0rDwCEiBIBd urD9mM2uSottfSuelSfUgXCXpgcQ4fuwPnkTWGRmvrcGbFZH1rPJlJ1vjyAlbyY39hKnrt S0mvhkcaCGCyjS1l2YWXwZ6brDZ0UAMFNI8HSiHpdaRJMyVd2xksDXQYQDkfpBoUBrAk9P eWVKTW3DxEQQA4Xit2D8FcQB6vNczYZsKuRcEk8XkqAMqsxORl8XgZPgbMF9wXQ1miNfyy cPAFvlCD2jQX/ZBdO/pRBttwTEJO4YvqETgqDnUamUvBaNyE+ghsgFixQ3IlaQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 02/15] gcc: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:40 +0000 Message-Id: <20220815171753.1858688-2-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/gcc | 2 + .../gcc-11.3.0-glibc-2.36-headers-fix.patch | 44 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 src/patches/gcc/gcc-11.3.0-glibc-2.36-headers-fix.patch diff --git a/lfs/gcc b/lfs/gcc index d04063a91..f25548892 100644 --- a/lfs/gcc +++ b/lfs/gcc @@ -236,6 +236,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) $(DIR_SRC)/gcc-build && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) @mkdir $(DIR_SRC)/gcc-build + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/gcc/gcc-11.3.0-glibc-2.36-headers-fix.patch + cd $(DIR_APP) && sed -i 's/install_to_$$(INSTALL_DEST) //' libiberty/Makefile.in cd $(DIR_APP) && sed -i gcc/Makefile.in \ -e 's@\./fixinc\.sh@-c true@' \ diff --git a/src/patches/gcc/gcc-11.3.0-glibc-2.36-headers-fix.patch b/src/patches/gcc/gcc-11.3.0-glibc-2.36-headers-fix.patch new file mode 100644 index 000000000..b9143d462 --- /dev/null +++ b/src/patches/gcc/gcc-11.3.0-glibc-2.36-headers-fix.patch @@ -0,0 +1,44 @@ +From d2356ebb0084a0d80dbfe33040c9afe938c15d19 Mon Sep 17 00:00:00 2001 +From: Martin Liska +Date: Mon, 11 Jul 2022 22:03:14 +0200 +Subject: [PATCH] libsanitizer: cherry-pick 9cf13067cb5088626ba7 from upstream + +9cf13067cb5088626ba7ee1ec4c42ec59c7995a0 [sanitizer] Remove #include to resolve fsconfig_command/mount_attr conflict with glibc 2.36 + +(cherry picked from commit 2701442d0cf6292f6624443c15813d6d1a3562fe) +--- + .../sanitizer_platform_limits_posix.cpp | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +index 025e575b5bc..5743516c046 100644 +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp +@@ -72,7 +72,9 @@ + #include + #include + #include ++#if SANITIZER_ANDROID + #include ++#endif + #include + #include + #include +@@ -828,10 +830,10 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr); + unsigned IOCTL_EVIOCGPROP = IOCTL_NOT_PRESENT; + unsigned IOCTL_EVIOCSKEYCODE_V2 = IOCTL_NOT_PRESENT; + #endif +- unsigned IOCTL_FS_IOC_GETFLAGS = FS_IOC_GETFLAGS; +- unsigned IOCTL_FS_IOC_GETVERSION = FS_IOC_GETVERSION; +- unsigned IOCTL_FS_IOC_SETFLAGS = FS_IOC_SETFLAGS; +- unsigned IOCTL_FS_IOC_SETVERSION = FS_IOC_SETVERSION; ++ unsigned IOCTL_FS_IOC_GETFLAGS = _IOR('f', 1, long); ++ unsigned IOCTL_FS_IOC_GETVERSION = _IOR('v', 1, long); ++ unsigned IOCTL_FS_IOC_SETFLAGS = _IOW('f', 2, long); ++ unsigned IOCTL_FS_IOC_SETVERSION = _IOW('v', 2, long); + unsigned IOCTL_GIO_CMAP = GIO_CMAP; + unsigned IOCTL_GIO_FONT = GIO_FONT; + unsigned IOCTL_GIO_UNIMAP = GIO_UNIMAP; +-- +2.30.2 + From patchwork Mon Aug 15 17:17:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5866 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FR1RZsz3wfK for ; Mon, 15 Aug 2022 17:18:03 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FM5W2Tz5XL; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FM3qgzz303P; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FL2KSQz2yyB for ; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FL1NFsz2Dj; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yK66xoqR7PnQW1pbaWZFqtrV/XwjgNOL8Y7MgPJ/jmI=; b=8u5LTWOh1gmmTwgrpcCsiFe9hukCuo5R/oXN2wY6bNauX48inrnh0H5ONdYn5J/C4yHZ8m 0YWnxXPQ+XHd3qCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=yK66xoqR7PnQW1pbaWZFqtrV/XwjgNOL8Y7MgPJ/jmI=; b=eT6aVzDdRZ/ijRuDsgDzSLjDlO533nqMMpB9Eyhpcvdz01Z1QYPonqDuG88jLSstavC4bN FPuiJir3cs5picK0DoDKel7+ceWSXcJg1u9hsTayJZWg/90wQUA8smUlZp+nJuBlCovx7f XYLqm69aqGp6InQb/hY3z06a6su/rvTbiycCmS/PcJwwFuR7oQrwye67mRsw+b4cPAKbjo Rg0B1PQEtQtFutSjR1R7rjwBtCPCJY5qJ3ixIXbh7Glv4WWgKtQrozXe15McN5FuurkOvp 2cFOzo917ab3f/TexXT1uQgGyK8IgBeKX+Xq/+ozWObtl8xXkbbsQLip5Ty8WQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 03/15] binutils: Update to 2.39 Date: Mon, 15 Aug 2022 17:17:41 +0000 Message-Id: <20220815171753.1858688-3-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- config/rootfiles/common/aarch64/binutils | 35 ++++++++++- config/rootfiles/common/armv6l/binutils | 8 ++- config/rootfiles/common/x86_64/binutils | 79 ++++++++++-------------- lfs/binutils | 4 +- 4 files changed, 74 insertions(+), 52 deletions(-) diff --git a/config/rootfiles/common/aarch64/binutils b/config/rootfiles/common/aarch64/binutils index cae233bce..80d3aeb79 100644 --- a/config/rootfiles/common/aarch64/binutils +++ b/config/rootfiles/common/aarch64/binutils @@ -3,7 +3,13 @@ #usr/bin/as #usr/bin/c++filt #usr/bin/elfedit +#usr/bin/gp-archive +#usr/bin/gp-collect-app +#usr/bin/gp-display-html +#usr/bin/gp-display-src +#usr/bin/gp-display-text #usr/bin/gprof +#usr/bin/gprofng #usr/bin/ld #usr/bin/ld.bfd #usr/bin/nm @@ -14,18 +20,32 @@ usr/bin/readelf #usr/bin/size usr/bin/strings #usr/bin/strip +#usr/etc +#usr/etc/gprofng.rc #usr/include/ansidecl.h #usr/include/bfd.h #usr/include/bfdlink.h +#usr/include/collectorAPI.h #usr/include/ctf-api.h #usr/include/ctf.h #usr/include/diagnostics.h #usr/include/dis-asm.h +#usr/include/libcollector.h +#usr/include/libfcollector.h #usr/include/libiberty.h #usr/include/plugin-api.h #usr/include/symcat.h #usr/lib/bfd-plugins usr/lib/bfd-plugins/libdep.so +#usr/lib/gprofng +#usr/lib/gprofng/libgp-collector.so +#usr/lib/gprofng/libgp-collectorAPI.so +#usr/lib/gprofng/libgp-heap.so +#usr/lib/gprofng/libgp-iotrace.so +#usr/lib/gprofng/libgp-sync.so +#usr/lib/gprofng/libgprofng.so +#usr/lib/gprofng/libgprofng.so.0 +#usr/lib/gprofng/libgprofng.so.0.0.0 #usr/lib/ldscripts #usr/lib/ldscripts/aarch64elf.x #usr/lib/ldscripts/aarch64elf.xbn @@ -291,7 +311,7 @@ usr/lib/bfd-plugins/libdep.so #usr/lib/ldscripts/armelfb_linux_eabi.xu #usr/lib/ldscripts/armelfb_linux_eabi.xw #usr/lib/ldscripts/armelfb_linux_eabi.xwe -usr/lib/libbfd-2.37.so +usr/lib/libbfd-2.39.so #usr/lib/libbfd.a #usr/lib/libbfd.la #usr/lib/libbfd.so @@ -305,14 +325,16 @@ usr/lib/libctf-nobfd.so.0.0.0 #usr/lib/libctf.so usr/lib/libctf.so.0 usr/lib/libctf.so.0.0.0 -usr/lib/libopcodes-2.37.so +usr/lib/libopcodes-2.39.so #usr/lib/libopcodes.a #usr/lib/libopcodes.la #usr/lib/libopcodes.so #usr/share/info/as.info #usr/share/info/bfd.info #usr/share/info/binutils.info +#usr/share/info/ctf-spec.info #usr/share/info/gprof.info +#usr/share/info/gprofng.info #usr/share/info/ld.info #usr/share/locale/bg/LC_MESSAGES/binutils.mo #usr/share/locale/bg/LC_MESSAGES/gprof.mo @@ -368,6 +390,9 @@ usr/lib/libopcodes-2.37.so #usr/share/locale/ja/LC_MESSAGES/gas.mo #usr/share/locale/ja/LC_MESSAGES/gprof.mo #usr/share/locale/ja/LC_MESSAGES/ld.mo +#usr/share/locale/ka +#usr/share/locale/ka/LC_MESSAGES +#usr/share/locale/ka/LC_MESSAGES/gprof.mo #usr/share/locale/ms #usr/share/locale/ms/LC_MESSAGES #usr/share/locale/ms/LC_MESSAGES/gprof.mo @@ -435,7 +460,13 @@ usr/lib/libopcodes-2.37.so #usr/share/man/man1/c++filt.1 #usr/share/man/man1/dlltool.1 #usr/share/man/man1/elfedit.1 +#usr/share/man/man1/gp-archive.1 +#usr/share/man/man1/gp-collect-app.1 +#usr/share/man/man1/gp-display-html.1 +#usr/share/man/man1/gp-display-src.1 +#usr/share/man/man1/gp-display-text.1 #usr/share/man/man1/gprof.1 +#usr/share/man/man1/gprofng.1 #usr/share/man/man1/ld.1 #usr/share/man/man1/nm.1 #usr/share/man/man1/objcopy.1 diff --git a/config/rootfiles/common/armv6l/binutils b/config/rootfiles/common/armv6l/binutils index 773315212..6f38f5233 100644 --- a/config/rootfiles/common/armv6l/binutils +++ b/config/rootfiles/common/armv6l/binutils @@ -71,7 +71,7 @@ usr/lib/bfd-plugins/libdep.so #usr/lib/ldscripts/armelfb_linux_eabi.xu #usr/lib/ldscripts/armelfb_linux_eabi.xw #usr/lib/ldscripts/armelfb_linux_eabi.xwe -usr/lib/libbfd-2.37.so +usr/lib/libbfd-2.39.so #usr/lib/libbfd.a #usr/lib/libbfd.la #usr/lib/libbfd.so @@ -85,13 +85,14 @@ usr/lib/libctf-nobfd.so.0.0.0 #usr/lib/libctf.so usr/lib/libctf.so.0 usr/lib/libctf.so.0.0.0 -usr/lib/libopcodes-2.37.so +usr/lib/libopcodes-2.39.so #usr/lib/libopcodes.a #usr/lib/libopcodes.la #usr/lib/libopcodes.so #usr/share/info/as.info #usr/share/info/bfd.info #usr/share/info/binutils.info +#usr/share/info/ctf-spec.info #usr/share/info/gprof.info #usr/share/info/ld.info #usr/share/locale/bg/LC_MESSAGES/binutils.mo @@ -148,6 +149,9 @@ usr/lib/libopcodes-2.37.so #usr/share/locale/ja/LC_MESSAGES/gas.mo #usr/share/locale/ja/LC_MESSAGES/gprof.mo #usr/share/locale/ja/LC_MESSAGES/ld.mo +#usr/share/locale/ka +#usr/share/locale/ka/LC_MESSAGES +#usr/share/locale/ka/LC_MESSAGES/gprof.mo #usr/share/locale/ms #usr/share/locale/ms/LC_MESSAGES #usr/share/locale/ms/LC_MESSAGES/gprof.mo diff --git a/config/rootfiles/common/x86_64/binutils b/config/rootfiles/common/x86_64/binutils index 1b3427425..cbf681ce8 100644 --- a/config/rootfiles/common/x86_64/binutils +++ b/config/rootfiles/common/x86_64/binutils @@ -3,7 +3,13 @@ #usr/bin/as #usr/bin/c++filt #usr/bin/elfedit +#usr/bin/gp-archive +#usr/bin/gp-collect-app +#usr/bin/gp-display-html +#usr/bin/gp-display-src +#usr/bin/gp-display-text #usr/bin/gprof +#usr/bin/gprofng #usr/bin/ld #usr/bin/ld.bfd #usr/bin/nm @@ -14,18 +20,32 @@ usr/bin/readelf #usr/bin/size usr/bin/strings #usr/bin/strip +#usr/etc +#usr/etc/gprofng.rc #usr/include/ansidecl.h #usr/include/bfd.h #usr/include/bfdlink.h +#usr/include/collectorAPI.h #usr/include/ctf-api.h #usr/include/ctf.h #usr/include/diagnostics.h #usr/include/dis-asm.h +#usr/include/libcollector.h +#usr/include/libfcollector.h #usr/include/libiberty.h #usr/include/plugin-api.h #usr/include/symcat.h #usr/lib/bfd-plugins #usr/lib/bfd-plugins/libdep.so +#usr/lib/gprofng +#usr/lib/gprofng/libgp-collector.so +#usr/lib/gprofng/libgp-collectorAPI.so +#usr/lib/gprofng/libgp-heap.so +#usr/lib/gprofng/libgp-iotrace.so +#usr/lib/gprofng/libgp-sync.so +#usr/lib/gprofng/libgprofng.so +#usr/lib/gprofng/libgprofng.so.0 +#usr/lib/gprofng/libgprofng.so.0.0.0 #usr/lib/ldscripts #usr/lib/ldscripts/elf32_x86_64.x #usr/lib/ldscripts/elf32_x86_64.xbn @@ -93,50 +113,6 @@ usr/bin/strings #usr/lib/ldscripts/elf_iamcu.xu #usr/lib/ldscripts/elf_iamcu.xw #usr/lib/ldscripts/elf_iamcu.xwe -#usr/lib/ldscripts/elf_k1om.x -#usr/lib/ldscripts/elf_k1om.xbn -#usr/lib/ldscripts/elf_k1om.xc -#usr/lib/ldscripts/elf_k1om.xce -#usr/lib/ldscripts/elf_k1om.xd -#usr/lib/ldscripts/elf_k1om.xdc -#usr/lib/ldscripts/elf_k1om.xdce -#usr/lib/ldscripts/elf_k1om.xde -#usr/lib/ldscripts/elf_k1om.xdw -#usr/lib/ldscripts/elf_k1om.xdwe -#usr/lib/ldscripts/elf_k1om.xe -#usr/lib/ldscripts/elf_k1om.xn -#usr/lib/ldscripts/elf_k1om.xr -#usr/lib/ldscripts/elf_k1om.xs -#usr/lib/ldscripts/elf_k1om.xsc -#usr/lib/ldscripts/elf_k1om.xsce -#usr/lib/ldscripts/elf_k1om.xse -#usr/lib/ldscripts/elf_k1om.xsw -#usr/lib/ldscripts/elf_k1om.xswe -#usr/lib/ldscripts/elf_k1om.xu -#usr/lib/ldscripts/elf_k1om.xw -#usr/lib/ldscripts/elf_k1om.xwe -#usr/lib/ldscripts/elf_l1om.x -#usr/lib/ldscripts/elf_l1om.xbn -#usr/lib/ldscripts/elf_l1om.xc -#usr/lib/ldscripts/elf_l1om.xce -#usr/lib/ldscripts/elf_l1om.xd -#usr/lib/ldscripts/elf_l1om.xdc -#usr/lib/ldscripts/elf_l1om.xdce -#usr/lib/ldscripts/elf_l1om.xde -#usr/lib/ldscripts/elf_l1om.xdw -#usr/lib/ldscripts/elf_l1om.xdwe -#usr/lib/ldscripts/elf_l1om.xe -#usr/lib/ldscripts/elf_l1om.xn -#usr/lib/ldscripts/elf_l1om.xr -#usr/lib/ldscripts/elf_l1om.xs -#usr/lib/ldscripts/elf_l1om.xsc -#usr/lib/ldscripts/elf_l1om.xsce -#usr/lib/ldscripts/elf_l1om.xse -#usr/lib/ldscripts/elf_l1om.xsw -#usr/lib/ldscripts/elf_l1om.xswe -#usr/lib/ldscripts/elf_l1om.xu -#usr/lib/ldscripts/elf_l1om.xw -#usr/lib/ldscripts/elf_l1om.xwe #usr/lib/ldscripts/elf_x86_64.x #usr/lib/ldscripts/elf_x86_64.xbn #usr/lib/ldscripts/elf_x86_64.xc @@ -159,7 +135,7 @@ usr/bin/strings #usr/lib/ldscripts/elf_x86_64.xu #usr/lib/ldscripts/elf_x86_64.xw #usr/lib/ldscripts/elf_x86_64.xwe -usr/lib/libbfd-2.37.so +usr/lib/libbfd-2.39.so #usr/lib/libbfd.a #usr/lib/libbfd.la #usr/lib/libbfd.so @@ -173,14 +149,16 @@ usr/lib/libctf-nobfd.so.0.0.0 #usr/lib/libctf.so usr/lib/libctf.so.0 usr/lib/libctf.so.0.0.0 -usr/lib/libopcodes-2.37.so +usr/lib/libopcodes-2.39.so #usr/lib/libopcodes.a #usr/lib/libopcodes.la #usr/lib/libopcodes.so #usr/share/info/as.info #usr/share/info/bfd.info #usr/share/info/binutils.info +#usr/share/info/ctf-spec.info #usr/share/info/gprof.info +#usr/share/info/gprofng.info #usr/share/info/ld.info #usr/share/locale/bg/LC_MESSAGES/binutils.mo #usr/share/locale/bg/LC_MESSAGES/gprof.mo @@ -236,6 +214,9 @@ usr/lib/libopcodes-2.37.so #usr/share/locale/ja/LC_MESSAGES/gas.mo #usr/share/locale/ja/LC_MESSAGES/gprof.mo #usr/share/locale/ja/LC_MESSAGES/ld.mo +#usr/share/locale/ka +#usr/share/locale/ka/LC_MESSAGES +#usr/share/locale/ka/LC_MESSAGES/gprof.mo #usr/share/locale/ms #usr/share/locale/ms/LC_MESSAGES #usr/share/locale/ms/LC_MESSAGES/gprof.mo @@ -303,7 +284,13 @@ usr/lib/libopcodes-2.37.so #usr/share/man/man1/c++filt.1 #usr/share/man/man1/dlltool.1 #usr/share/man/man1/elfedit.1 +#usr/share/man/man1/gp-archive.1 +#usr/share/man/man1/gp-collect-app.1 +#usr/share/man/man1/gp-display-html.1 +#usr/share/man/man1/gp-display-src.1 +#usr/share/man/man1/gp-display-text.1 #usr/share/man/man1/gprof.1 +#usr/share/man/man1/gprofng.1 #usr/share/man/man1/ld.1 #usr/share/man/man1/nm.1 #usr/share/man/man1/objcopy.1 diff --git a/lfs/binutils b/lfs/binutils index 8d8506182..eed8643d8 100644 --- a/lfs/binutils +++ b/lfs/binutils @@ -24,7 +24,7 @@ include Config -VER = 2.37 +VER = 2.39 THISAPP = binutils-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -99,7 +99,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = f5a374fdf0300f7734d1e462333296b16c9d5ed6eba167e1742a4da7082f4388c929e286bf76c3933b3e434937380340732a31790723654b491ea0c8ab5b9ba5 +$(DL_FILE)_BLAKE2 = ac6a5296c6586d53eaadcbffc5c399a6d79edf72450b9bb8b3525ce525129cef3d2eb90c85ef3bb3270b5a03b0e1ffb8f0b705f028158726f9777ebb8685066f install : $(TARGET) From patchwork Mon Aug 15 17:17:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5867 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FS4WY4z3wfP for ; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FN0Mhkz5XC; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FM4JD2z303b; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FL3DwFz2yK8 for ; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FL2C1Mz5TZ; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3MnWC0ZTQ57fXBxG61M7ezrQ+3PIgo8Lg6OsxnGhDVY=; b=0EktH1G3GwnB8xkKKZAuic2dZxXib1eT1Ko1OE1O6zBUBfRi2EDltGPXRbydPqo6Zkvg8A 4IFCpuxy+7VcKUCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3MnWC0ZTQ57fXBxG61M7ezrQ+3PIgo8Lg6OsxnGhDVY=; b=iHGv4PXpXcDx1THCxXFc5Oi0/05XMjTv+ZGwFDNfaT1cGgZ0HEUoT6ubI7X+QSh1b2uVBG JIS36wqby3GI2g4mUHo0+m+kHKFCdpQtbwpM4Yw1YF7wgv0gL6H3Ko/4LhZQ+z2OP89ncF a8qEBhVVEh1DNu29xXWM3vQsC4UCks2RZtNwzvH/a1qtU3xfWNnTGIkwkbgcI15u0XT3fi zrZumP4ItBx7ZZzUsaKn4mjn0LMIpgzMbjGzJBXfzr95wQN2e7SsNRipoybsKR9WcjCtTQ nuzW448rsMXcNOfLOKIkUF3a24C8JRFqSxlj1IYdx6C+Q6/CqJC6jiTJ6SngNA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 04/15] glibc: Update to 2.36 Date: Mon, 15 Aug 2022 17:17:42 +0000 Message-Id: <20220815171753.1858688-4-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- config/rootfiles/common/aarch64/glibc | 34 +++++++++++++++++++++++++ config/rootfiles/common/armv6l/glibc | 34 +++++++++++++++++++++++++ config/rootfiles/common/x86_64/glibc | 36 ++++++++++++++++++++++++++- lfs/glibc | 4 +-- 4 files changed, 105 insertions(+), 3 deletions(-) diff --git a/config/rootfiles/common/aarch64/glibc b/config/rootfiles/common/aarch64/glibc index f98c94aab..2179e1d13 100644 --- a/config/rootfiles/common/aarch64/glibc +++ b/config/rootfiles/common/aarch64/glibc @@ -115,6 +115,7 @@ usr/bin/locale #usr/include/bits/mman-map-flags-generic.h #usr/include/bits/mman-shared.h #usr/include/bits/mman.h +#usr/include/bits/mman_ext.h #usr/include/bits/monetary-ldbl.h #usr/include/bits/mqueue.h #usr/include/bits/mqueue2.h @@ -176,6 +177,7 @@ usr/bin/locale #usr/include/bits/stdint-uintn.h #usr/include/bits/stdio-ldbl.h #usr/include/bits/stdio.h +#usr/include/bits/stdio2-decl.h #usr/include/bits/stdio2.h #usr/include/bits/stdio_lim.h #usr/include/bits/stdlib-bsearch.h @@ -223,6 +225,7 @@ usr/bin/locale #usr/include/bits/types/clockid_t.h #usr/include/bits/types/cookie_io_functions_t.h #usr/include/bits/types/error_t.h +#usr/include/bits/types/idtype_t.h #usr/include/bits/types/locale_t.h #usr/include/bits/types/mbstate_t.h #usr/include/bits/types/res_state.h @@ -445,6 +448,7 @@ usr/bin/locale #usr/include/sys/param.h #usr/include/sys/pci.h #usr/include/sys/personality.h +#usr/include/sys/pidfd.h #usr/include/sys/poll.h #usr/include/sys/prctl.h #usr/include/sys/procfs.h @@ -6090,6 +6094,20 @@ usr/lib/locale #usr/lib/locale/raj_IN/LC_PAPER #usr/lib/locale/raj_IN/LC_TELEPHONE #usr/lib/locale/raj_IN/LC_TIME +#usr/lib/locale/rif_MA +#usr/lib/locale/rif_MA/LC_ADDRESS +#usr/lib/locale/rif_MA/LC_COLLATE +#usr/lib/locale/rif_MA/LC_CTYPE +#usr/lib/locale/rif_MA/LC_IDENTIFICATION +#usr/lib/locale/rif_MA/LC_MEASUREMENT +#usr/lib/locale/rif_MA/LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MONETARY +#usr/lib/locale/rif_MA/LC_NAME +#usr/lib/locale/rif_MA/LC_NUMERIC +#usr/lib/locale/rif_MA/LC_PAPER +#usr/lib/locale/rif_MA/LC_TELEPHONE +#usr/lib/locale/rif_MA/LC_TIME #usr/lib/locale/ro_RO #usr/lib/locale/ro_RO.utf8 #usr/lib/locale/ro_RO.utf8/LC_ADDRESS @@ -6762,6 +6780,20 @@ usr/lib/locale #usr/lib/locale/sw_TZ/LC_PAPER #usr/lib/locale/sw_TZ/LC_TELEPHONE #usr/lib/locale/sw_TZ/LC_TIME +#usr/lib/locale/syr +#usr/lib/locale/syr/LC_ADDRESS +#usr/lib/locale/syr/LC_COLLATE +#usr/lib/locale/syr/LC_CTYPE +#usr/lib/locale/syr/LC_IDENTIFICATION +#usr/lib/locale/syr/LC_MEASUREMENT +#usr/lib/locale/syr/LC_MESSAGES +#usr/lib/locale/syr/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/syr/LC_MONETARY +#usr/lib/locale/syr/LC_NAME +#usr/lib/locale/syr/LC_NUMERIC +#usr/lib/locale/syr/LC_PAPER +#usr/lib/locale/syr/LC_TELEPHONE +#usr/lib/locale/syr/LC_TIME #usr/lib/locale/szl_PL #usr/lib/locale/szl_PL/LC_ADDRESS #usr/lib/locale/szl_PL/LC_COLLATE @@ -8163,6 +8195,7 @@ usr/lib/locale #usr/share/i18n/locales/pt_PT@euro #usr/share/i18n/locales/quz_PE #usr/share/i18n/locales/raj_IN +#usr/share/i18n/locales/rif_MA #usr/share/i18n/locales/ro_RO #usr/share/i18n/locales/ru_RU #usr/share/i18n/locales/ru_UA @@ -8198,6 +8231,7 @@ usr/lib/locale #usr/share/i18n/locales/sv_SE #usr/share/i18n/locales/sw_KE #usr/share/i18n/locales/sw_TZ +#usr/share/i18n/locales/syr #usr/share/i18n/locales/szl_PL #usr/share/i18n/locales/ta_IN #usr/share/i18n/locales/ta_LK diff --git a/config/rootfiles/common/armv6l/glibc b/config/rootfiles/common/armv6l/glibc index d6be0f39a..38d8b5e65 100644 --- a/config/rootfiles/common/armv6l/glibc +++ b/config/rootfiles/common/armv6l/glibc @@ -115,6 +115,7 @@ usr/bin/locale #usr/include/bits/mman-map-flags-generic.h #usr/include/bits/mman-shared.h #usr/include/bits/mman.h +#usr/include/bits/mman_ext.h #usr/include/bits/monetary-ldbl.h #usr/include/bits/mqueue.h #usr/include/bits/mqueue2.h @@ -176,6 +177,7 @@ usr/bin/locale #usr/include/bits/stdint-uintn.h #usr/include/bits/stdio-ldbl.h #usr/include/bits/stdio.h +#usr/include/bits/stdio2-decl.h #usr/include/bits/stdio2.h #usr/include/bits/stdio_lim.h #usr/include/bits/stdlib-bsearch.h @@ -223,6 +225,7 @@ usr/bin/locale #usr/include/bits/types/clockid_t.h #usr/include/bits/types/cookie_io_functions_t.h #usr/include/bits/types/error_t.h +#usr/include/bits/types/idtype_t.h #usr/include/bits/types/locale_t.h #usr/include/bits/types/mbstate_t.h #usr/include/bits/types/res_state.h @@ -444,6 +447,7 @@ usr/bin/locale #usr/include/sys/param.h #usr/include/sys/pci.h #usr/include/sys/personality.h +#usr/include/sys/pidfd.h #usr/include/sys/poll.h #usr/include/sys/prctl.h #usr/include/sys/procfs.h @@ -6091,6 +6095,20 @@ usr/lib/locale #usr/lib/locale/raj_IN/LC_PAPER #usr/lib/locale/raj_IN/LC_TELEPHONE #usr/lib/locale/raj_IN/LC_TIME +#usr/lib/locale/rif_MA +#usr/lib/locale/rif_MA/LC_ADDRESS +#usr/lib/locale/rif_MA/LC_COLLATE +#usr/lib/locale/rif_MA/LC_CTYPE +#usr/lib/locale/rif_MA/LC_IDENTIFICATION +#usr/lib/locale/rif_MA/LC_MEASUREMENT +#usr/lib/locale/rif_MA/LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MONETARY +#usr/lib/locale/rif_MA/LC_NAME +#usr/lib/locale/rif_MA/LC_NUMERIC +#usr/lib/locale/rif_MA/LC_PAPER +#usr/lib/locale/rif_MA/LC_TELEPHONE +#usr/lib/locale/rif_MA/LC_TIME #usr/lib/locale/ro_RO #usr/lib/locale/ro_RO.utf8 #usr/lib/locale/ro_RO.utf8/LC_ADDRESS @@ -6763,6 +6781,20 @@ usr/lib/locale #usr/lib/locale/sw_TZ/LC_PAPER #usr/lib/locale/sw_TZ/LC_TELEPHONE #usr/lib/locale/sw_TZ/LC_TIME +#usr/lib/locale/syr +#usr/lib/locale/syr/LC_ADDRESS +#usr/lib/locale/syr/LC_COLLATE +#usr/lib/locale/syr/LC_CTYPE +#usr/lib/locale/syr/LC_IDENTIFICATION +#usr/lib/locale/syr/LC_MEASUREMENT +#usr/lib/locale/syr/LC_MESSAGES +#usr/lib/locale/syr/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/syr/LC_MONETARY +#usr/lib/locale/syr/LC_NAME +#usr/lib/locale/syr/LC_NUMERIC +#usr/lib/locale/syr/LC_PAPER +#usr/lib/locale/syr/LC_TELEPHONE +#usr/lib/locale/syr/LC_TIME #usr/lib/locale/szl_PL #usr/lib/locale/szl_PL/LC_ADDRESS #usr/lib/locale/szl_PL/LC_COLLATE @@ -8163,6 +8195,7 @@ usr/lib/locale #usr/share/i18n/locales/pt_PT@euro #usr/share/i18n/locales/quz_PE #usr/share/i18n/locales/raj_IN +#usr/share/i18n/locales/rif_MA #usr/share/i18n/locales/ro_RO #usr/share/i18n/locales/ru_RU #usr/share/i18n/locales/ru_UA @@ -8198,6 +8231,7 @@ usr/lib/locale #usr/share/i18n/locales/sv_SE #usr/share/i18n/locales/sw_KE #usr/share/i18n/locales/sw_TZ +#usr/share/i18n/locales/syr #usr/share/i18n/locales/szl_PL #usr/share/i18n/locales/ta_IN #usr/share/i18n/locales/ta_LK diff --git a/config/rootfiles/common/x86_64/glibc b/config/rootfiles/common/x86_64/glibc index 5014f8a88..6dce1b886 100644 --- a/config/rootfiles/common/x86_64/glibc +++ b/config/rootfiles/common/x86_64/glibc @@ -116,6 +116,7 @@ usr/bin/locale #usr/include/bits/mman-map-flags-generic.h #usr/include/bits/mman-shared.h #usr/include/bits/mman.h +#usr/include/bits/mman_ext.h #usr/include/bits/monetary-ldbl.h #usr/include/bits/mqueue.h #usr/include/bits/mqueue2.h @@ -179,6 +180,7 @@ usr/bin/locale #usr/include/bits/stdint-uintn.h #usr/include/bits/stdio-ldbl.h #usr/include/bits/stdio.h +#usr/include/bits/stdio2-decl.h #usr/include/bits/stdio2.h #usr/include/bits/stdio_lim.h #usr/include/bits/stdlib-bsearch.h @@ -226,6 +228,7 @@ usr/bin/locale #usr/include/bits/types/clockid_t.h #usr/include/bits/types/cookie_io_functions_t.h #usr/include/bits/types/error_t.h +#usr/include/bits/types/idtype_t.h #usr/include/bits/types/locale_t.h #usr/include/bits/types/mbstate_t.h #usr/include/bits/types/res_state.h @@ -450,6 +453,7 @@ usr/bin/locale #usr/include/sys/pci.h #usr/include/sys/perm.h #usr/include/sys/personality.h +#usr/include/sys/pidfd.h #usr/include/sys/platform #usr/include/sys/platform/x86.h #usr/include/sys/poll.h @@ -808,7 +812,7 @@ usr/lib/gconv #usr/lib/libc_nonshared.a #usr/lib/libdl.a #usr/lib/libg.a -#usr/lib/libm-2.35.a +#usr/lib/libm-2.36.a #usr/lib/libm.a #usr/lib/libm.so #usr/lib/libmcheck.a @@ -6102,6 +6106,20 @@ usr/lib/locale #usr/lib/locale/raj_IN/LC_PAPER #usr/lib/locale/raj_IN/LC_TELEPHONE #usr/lib/locale/raj_IN/LC_TIME +#usr/lib/locale/rif_MA +#usr/lib/locale/rif_MA/LC_ADDRESS +#usr/lib/locale/rif_MA/LC_COLLATE +#usr/lib/locale/rif_MA/LC_CTYPE +#usr/lib/locale/rif_MA/LC_IDENTIFICATION +#usr/lib/locale/rif_MA/LC_MEASUREMENT +#usr/lib/locale/rif_MA/LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/rif_MA/LC_MONETARY +#usr/lib/locale/rif_MA/LC_NAME +#usr/lib/locale/rif_MA/LC_NUMERIC +#usr/lib/locale/rif_MA/LC_PAPER +#usr/lib/locale/rif_MA/LC_TELEPHONE +#usr/lib/locale/rif_MA/LC_TIME #usr/lib/locale/ro_RO #usr/lib/locale/ro_RO.utf8 #usr/lib/locale/ro_RO.utf8/LC_ADDRESS @@ -6774,6 +6792,20 @@ usr/lib/locale #usr/lib/locale/sw_TZ/LC_PAPER #usr/lib/locale/sw_TZ/LC_TELEPHONE #usr/lib/locale/sw_TZ/LC_TIME +#usr/lib/locale/syr +#usr/lib/locale/syr/LC_ADDRESS +#usr/lib/locale/syr/LC_COLLATE +#usr/lib/locale/syr/LC_CTYPE +#usr/lib/locale/syr/LC_IDENTIFICATION +#usr/lib/locale/syr/LC_MEASUREMENT +#usr/lib/locale/syr/LC_MESSAGES +#usr/lib/locale/syr/LC_MESSAGES/SYS_LC_MESSAGES +#usr/lib/locale/syr/LC_MONETARY +#usr/lib/locale/syr/LC_NAME +#usr/lib/locale/syr/LC_NUMERIC +#usr/lib/locale/syr/LC_PAPER +#usr/lib/locale/syr/LC_TELEPHONE +#usr/lib/locale/syr/LC_TIME #usr/lib/locale/szl_PL #usr/lib/locale/szl_PL/LC_ADDRESS #usr/lib/locale/szl_PL/LC_COLLATE @@ -8175,6 +8207,7 @@ usr/lib/locale #usr/share/i18n/locales/pt_PT@euro #usr/share/i18n/locales/quz_PE #usr/share/i18n/locales/raj_IN +#usr/share/i18n/locales/rif_MA #usr/share/i18n/locales/ro_RO #usr/share/i18n/locales/ru_RU #usr/share/i18n/locales/ru_UA @@ -8210,6 +8243,7 @@ usr/lib/locale #usr/share/i18n/locales/sv_SE #usr/share/i18n/locales/sw_KE #usr/share/i18n/locales/sw_TZ +#usr/share/i18n/locales/syr #usr/share/i18n/locales/szl_PL #usr/share/i18n/locales/ta_IN #usr/share/i18n/locales/ta_LK diff --git a/lfs/glibc b/lfs/glibc index d4b1eb0dd..798f3ed8a 100644 --- a/lfs/glibc +++ b/lfs/glibc @@ -24,7 +24,7 @@ include Config -VER = 2.35 +VER = 2.36 THISAPP = glibc-$(VER) DL_FILE = $(THISAPP).tar.xz @@ -79,7 +79,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c883e5d17d94417dbd1e91775de2e674314e4ff7424f9720026d6b7063 +$(DL_FILE)_BLAKE2 = f8375e084043f032609e66fd98c234249df57a595c59672acb1bb8c69aed64d339d526611553449492b097cda900ad1d9bae8873d7f5932b10a9a0d8c9210c55 install : $(TARGET) From patchwork Mon Aug 15 17:17:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5868 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FT2SBGz3wfS for ; Mon, 15 Aug 2022 17:18:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FN48Zcz5X6; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FM4w4Lz30M7; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FL5SFkz2xjj for ; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FL30vlz2Dj; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nStiR8FnAP5i86RX8y9EIcziKXBKuYXfDP4sunG8qeM=; b=8DGkAYhm3Rk7hdBn6iESBoTYxeGn6HR8K8dFAygC9tA8VxJXDs+v2SpPy/xnkZTIhYIZz9 49qW4zOxxt8BT+Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nStiR8FnAP5i86RX8y9EIcziKXBKuYXfDP4sunG8qeM=; b=qwGJFdBSPQw7Q7nItoQdZtgczVhQYYVWovaRpV3CdticqdedPbzbzvT7m6QtfcMZNfjfCF loxvwo/ojEN5fQL+E0O0fkzm4+2YRyWJq404jx0UciW0iyklcls/SPSmeV2VfTTA4vRt4w BGqdRbab4qvvZsJa3QMiBXly2435Pwm/46ZhpYaqiVHKPoGVzpUptPy322cp+QIGve6/KG wkFNQJaZiNxzWyo78YNOmz5Gt6IKoHDnS9Cck52cQGmE1Lzo2TDkOxRoOTWdzml8tL6RfP 4uKXJE7R9/8kEU2qcpIwiPpYJTnE08IfRU1Sb9x+qPLysO4ytiXjSXjhWKdS2g== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 05/15] make.sh: Bump toolchain version Date: Mon, 15 Aug 2022 17:17:43 +0000 Message-Id: <20220815171753.1858688-5-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index e5cb873b0..f5abb8a68 100755 --- a/make.sh +++ b/make.sh @@ -35,7 +35,7 @@ GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" # Git Branch GIT_TAG="$(git tag | tail -1)" # Git Tag GIT_LASTCOMMIT="$(git rev-parse --verify HEAD)" # Last commit -TOOLCHAINVER=20220508 +TOOLCHAINVER=20220808 # use multicore and max compression ZSTD_OPT="-T0 --ultra -22" From patchwork Mon Aug 15 17:17:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5869 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FV4bgNz3wfK for ; Mon, 15 Aug 2022 17:18:06 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FP71hHz5Y1; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FP5jW8z303P; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FM5xRcz3031 for ; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FL5L0jz5X1; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U5zMdUJbHr/Pbh7dyA33sNWh6dj68dQaWSaT7nZcThY=; b=Dmfh29sniZQ1B93SA7+9ccHaLDvm1oy1rEEkzryzGPKOZHE/USgpP2Llnod0ss7JgiBY7H bUwsA6DHd2pu+nBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583878; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=U5zMdUJbHr/Pbh7dyA33sNWh6dj68dQaWSaT7nZcThY=; b=LTfH7xHdxvbb0ZXEALkcIAimATRm1rZGjIOCDJAbr70IOwQ4vbmIB6j6b38I7APUFMT1wQ 1JpvQmWTfG/8uKjQVfIvlSUOv8cMIH8dmC34N4fZdsT2iOw+bIjIPTz9yTGYKDw4wb2o7g JgEqOVhSz661UmSQvbzvB2/tdIvLZTxU5fXptB0IN8SPyZvvWvRFeIh6lYttIiXfYJDGcS 6nvCuSu5qlDIT2aqRQbnpgM9asGat/hB3O84/RXvn9yBvCfeTq3GhZxlvpocMX7MAYtAtd Oc6WkJyC+7F7rnI02F2aPSB370WJ+s7foE2EswKoKLMY/fuBo8oB5jFhO2ENNA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 06/15] efivars: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:44 +0000 Message-Id: <20220815171753.1858688-6-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/efivar | 1 + src/patches/efivar-37-compile-fixes-3.patch | 55 +++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 src/patches/efivar-37-compile-fixes-3.patch diff --git a/lfs/efivar b/lfs/efivar index c5d2c8f44..8737c964a 100644 --- a/lfs/efivar +++ b/lfs/efivar @@ -74,6 +74,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-1.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-2.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/efivar-37-compile-fixes-3.patch # -Werror, not even once cd $(DIR_APP) && sed -e "s/-Werror//g" -i gcc.specs diff --git a/src/patches/efivar-37-compile-fixes-3.patch b/src/patches/efivar-37-compile-fixes-3.patch new file mode 100644 index 000000000..fcc83aef2 --- /dev/null +++ b/src/patches/efivar-37-compile-fixes-3.patch @@ -0,0 +1,55 @@ +From bc65d63ebf8fe6ac8a099ff15ca200986dba1565 Mon Sep 17 00:00:00 2001 +From: Robbie Harwood +Date: Thu, 28 Jul 2022 16:11:24 -0400 +Subject: [PATCH] Fix glibc 2.36 build (mount.h conflicts) + +glibc has decided that sys/mount.h and linux/mount.h are no longer +usable at the same time. This broke the build, since linux/fs.h itself +includes linux/mount.h. For now, fix the build by only including +sys/mount.h where we need it. + +See-also: https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E +Resolves: #227 +Signed-off-by: Robbie Harwood +--- + src/gpt.c | 1 + + src/linux.c | 1 + + src/util.h | 1 - + 3 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/gpt.c b/src/gpt.c +index 1eda0497..21413c3b 100644 +--- a/src/gpt.c ++++ b/src/gpt.c +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/linux.c b/src/linux.c +index 47e45ae4..1780816f 100644 +--- a/src/linux.c ++++ b/src/linux.c +@@ -20,6 +20,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff --git a/src/util.h b/src/util.h +index 3300666f..1e67e447 100644 +--- a/src/util.h ++++ b/src/util.h +@@ -23,7 +23,6 @@ + #include + #include + #include +-#include + #include + #include + #include From patchwork Mon Aug 15 17:17:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5872 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FY3dlmz3wfV for ; Mon, 15 Aug 2022 17:18:09 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FQ1ddQz5Xw; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FP6N2kz302W; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FN060Sz2yyb for ; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FL73Ssz5Wf; Mon, 15 Aug 2022 17:17:58 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8BgcZmjHhM8+46DoJR14G7lLu1UNHIRuUIn7wc+Yuuo=; b=ehHKI2ECtJd5f9pyJjba8zOXO6da5DMODzHvVyHiC1Yzcf42nwZJTwDfvnCG1HpA9OlhR8 YVkJV5Hfi2nV83DQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8BgcZmjHhM8+46DoJR14G7lLu1UNHIRuUIn7wc+Yuuo=; b=TWDY5fT9oiy+f9YCOI8DIkUM+vH4GF943VATjmMfMM0fTukY6BsAEwu3ZaYPMVgijmXYbp TbCJ78+xdHlotqQa3DhWD3Yuv+W5RsYPQNKs4FrK/ZCbzWtq8rpGGgQuOWh2QchcUcYYuy uout3K/RRHLdKyM73PHjuHtGB3WymfzJ24p1UT5oTehlNq2zpeZCU4thB53pTe/3JpX4Ux U1nez+N7AEJBJXz5Tp2UuHartOfk9QR58ZpTdr0xcmXgzCH6LJrsqH6AKgUaarHqq8rg6S FFb2Khbi9dpNhvYfUJzkElCKCbH2UfBYJvL8ou57iUa7VOt3VuqVu6Fh2VlSRA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 07/15] libarchive: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:45 +0000 Message-Id: <20220815171753.1858688-7-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/libarchive | 1 + ...ibarchive-3.6-fix-glibc-2.36-headers.patch | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 src/patches/libarchive-3.6-fix-glibc-2.36-headers.patch diff --git a/lfs/libarchive b/lfs/libarchive index 42040b6db..f22bbd481 100644 --- a/lfs/libarchive +++ b/lfs/libarchive @@ -74,6 +74,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libarchive-3.6-fix-glibc-2.36-headers.patch cd $(DIR_APP) && ./configure --prefix=/usr --disable-static cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install diff --git a/src/patches/libarchive-3.6-fix-glibc-2.36-headers.patch b/src/patches/libarchive-3.6-fix-glibc-2.36-headers.patch new file mode 100644 index 000000000..7c88ca1b1 --- /dev/null +++ b/src/patches/libarchive-3.6-fix-glibc-2.36-headers.patch @@ -0,0 +1,41 @@ +From a2f68263a1da5ad227bcb9cd8fa91b93c8b6c99f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 25 Jul 2022 10:56:53 -0700 +Subject: [PATCH] libarchive: Do not include sys/mount.h when linux/fs.h is + present + +These headers are in conflict and only one is needed by +archive_read_disk_posix.c therefore include linux/fs.h if it exists +otherwise include sys/mount.h + +It also helps compiling with glibc 2.36 +where sys/mount.h conflicts with linux/mount.h see [1] + +[1] https://sourceware.org/glibc/wiki/Release/2.36 +--- + libarchive/archive_read_disk_posix.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/libarchive/archive_read_disk_posix.c b/libarchive/archive_read_disk_posix.c +index 2b39e672b..a96008db7 100644 +--- a/libarchive/archive_read_disk_posix.c ++++ b/libarchive/archive_read_disk_posix.c +@@ -34,9 +34,6 @@ __FBSDID("$FreeBSD$"); + #ifdef HAVE_SYS_PARAM_H + #include + #endif +-#ifdef HAVE_SYS_MOUNT_H +-#include +-#endif + #ifdef HAVE_SYS_STAT_H + #include + #endif +@@ -54,6 +51,8 @@ __FBSDID("$FreeBSD$"); + #endif + #ifdef HAVE_LINUX_FS_H + #include ++#elif HAVE_SYS_MOUNT_H ++#include + #endif + /* + * Some Linux distributions have both linux/ext2_fs.h and ext2fs/ext2_fs.h. From patchwork Mon Aug 15 17:17:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5871 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FX6kNvz3wfS for ; Mon, 15 Aug 2022 17:18:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FQ1dg5z5Y2; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FP6mn4z30M7; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FN15tpz2yp1 for ; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FM1SFvz5X6; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+YnadzMCFl2qHCyymxl6DjY3mbrjrvO5dApIficXp90=; b=MDwwmSfpKmbCBxiGgD89qxZoK1/lLIzwymoPZZ55hK7bz2PvxfRmh28kEPfy9IUKYjpf4z EYIzGOveRIn92KjyOTBiIdktWBzGWJt5KzIWGCR5C5K08JN8Mu7UZg+wE2En7vdxFn1TVX JIfTx8JUYxizgSGWT1o5zed0JhsCfnoMNJVtqJZp57gyD8PoT45VY0KDW3GzA3Ob2Hkaoa ymggK6Sz6xsycq4yC4wrmdDkyeDRAPPiU4C3RzEqvdN20Z99JpB2lH1yBNMUqOwGh1WXld 8OJz4Gck5JL4h8RHjXVFKJrR3YZMK0HAKJMmur1hEPNbDM4Nr6fzyvccZq/nZw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+YnadzMCFl2qHCyymxl6DjY3mbrjrvO5dApIficXp90=; b=68OM7AWtvTp1WOuflVsuMo6UNOIRofNw61oJOQN44ZbRtmFc5UGXN7xG5moJCyKjdIRxfJ VGBmzktuU22k5cBw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 08/15] hdparm: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:46 +0000 Message-Id: <20220815171753.1858688-8-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/hdparm | 1 + src/patches/hdparm-9.64-fix-glibc-headers.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/patches/hdparm-9.64-fix-glibc-headers.patch diff --git a/lfs/hdparm b/lfs/hdparm index 704317a6a..8d3f6d1cf 100644 --- a/lfs/hdparm +++ b/lfs/hdparm @@ -70,6 +70,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/hdparm-9.64-fix-glibc-headers.patch cd $(DIR_APP) && make $(MAKETUNING) cd $(DIR_APP) && make install @rm -rf $(DIR_APP) diff --git a/src/patches/hdparm-9.64-fix-glibc-headers.patch b/src/patches/hdparm-9.64-fix-glibc-headers.patch new file mode 100644 index 000000000..7589c861e --- /dev/null +++ b/src/patches/hdparm-9.64-fix-glibc-headers.patch @@ -0,0 +1,11 @@ +--- hdparm-9.64/hdparm.c ++++ hdparm-9.64/hdparm.c +@@ -24,9 +24,6 @@ + #include + #include + #include +-#include +-#include +-#include + #include + #include From patchwork Mon Aug 15 17:17:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5870 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FX4q0mz3wfP for ; Mon, 15 Aug 2022 17:18:08 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FQ4tYbz5Xr; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FQ099Pz330Q; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FN4K07z2yyB for ; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FM2GQ3z5XD; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/z4GoRKri87P9R1KEv4+SSB6APZomZaTVOh14nEd5ps=; b=Uhfn57fniel4hn08lS5MQ9tzuQC59tqVZ0daChR0H3Dm4rrKGcpfErqCB2l3P0PjQzc65M OohlkPa5OR4yYoDQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/z4GoRKri87P9R1KEv4+SSB6APZomZaTVOh14nEd5ps=; b=RavkVxk/lTkKje/X7Zx71AAMIyvIWZP6NynGMlBWtpiFYbp2oeKjjPS8utKqkLCs+M85gj KGb17fSEdQxrepU7VfJBJBIBKjdXqrkrX6TK61t0SLh8oiTKReou5IsU9gqwFYKgoMk4mp X7RVMb+KaQeRIKbg0nAsiEfqtYsdtfe0eAAegtdM+8/af07EXIo5q2ls8HEa7/ufuIntpi lddDzSJNKF7oWqTEBbPtxGdIX/hCumJc5Q39Iy6pJCeng4kpZGfJ2Bpm3hwPPPmd5n4kP/ oygG9s4LJ9oIBVF3GwgZJ2Ymw8Z+3chtf4d1JZ+c4hQD0feEtRQ0273pj4T/Gg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 09/15] samba: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:47 +0000 Message-Id: <20220815171753.1858688-9-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/samba | 1 + src/patches/samba-4.16.4-glibc-headers.patch | 62 ++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 src/patches/samba-4.16.4-glibc-headers.patch diff --git a/lfs/samba b/lfs/samba index 87d192492..d64d0e2d4 100644 --- a/lfs/samba +++ b/lfs/samba @@ -80,6 +80,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/samba-4.16.4-glibc-headers.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --libdir=/usr/lib/ \ diff --git a/src/patches/samba-4.16.4-glibc-headers.patch b/src/patches/samba-4.16.4-glibc-headers.patch new file mode 100644 index 000000000..8c75a4172 --- /dev/null +++ b/src/patches/samba-4.16.4-glibc-headers.patch @@ -0,0 +1,62 @@ +From 766151bf5b7ef95ae4c8c98b8994e5c21c5bbec0 Mon Sep 17 00:00:00 2001 +From: Andreas Schneider +Date: Tue, 2 Aug 2022 07:55:46 +0200 +Subject: [PATCH] lib:replace: Only include on non-Linux systems +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf8 +Content-Transfer-Encoding: 8bit + +Details at: +https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + +BUG: https://bugzilla.samba.org/show_bug.cgi?id=15132 + +Signed-off-by: Andreas Schneider +Reviewed-by: Ralph Boehme + +Autobuild-User(master): Ralph Böhme +Autobuild-Date(master): Tue Aug 2 11:05:14 UTC 2022 on sn-devel-184 +--- + lib/replace/system/filesys.h | 4 +++- + lib/replace/wscript | 3 +++ + 2 files changed, 6 insertions(+), 1 deletion(-) + +diff --git a/lib/replace/system/filesys.h b/lib/replace/system/filesys.h +index 034e5d5886c..bb9482c69af 100644 +--- a/lib/replace/system/filesys.h ++++ b/lib/replace/system/filesys.h +@@ -36,7 +36,8 @@ + #include + #endif + +-#ifdef HAVE_SYS_MOUNT_H ++/* This include is required on UNIX (*BSD, AIX, ...) for statfs() */ ++#if !defined(LINUX) && defined(HAVE_SYS_MOUNT_H) + #include + #endif + +@@ -44,6 +45,7 @@ + #include + #endif + ++/* This include is required on Linux for statfs() */ + #ifdef HAVE_SYS_VFS_H + #include + #endif +diff --git a/lib/replace/wscript b/lib/replace/wscript +index 4c774d9f0c3..dd9b19219a1 100644 +--- a/lib/replace/wscript ++++ b/lib/replace/wscript +@@ -31,6 +31,9 @@ def configure(conf): + + conf.env.standalone_replace = conf.IN_LAUNCH_DIR() + ++ if sys.platform.rfind('linux') > -1: ++ conf.DEFINE('LINUX', '1') ++ + conf.DEFINE('BOOL_DEFINED', 1) + conf.DEFINE('HAVE_LIBREPLACE', 1) + conf.DEFINE('LIBREPLACE_NETWORK_CHECKS', 1) +-- +2.30.2 + From patchwork Mon Aug 15 17:17:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5873 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FZ1775z3wfK for ; Mon, 15 Aug 2022 17:18:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FS14vfz5Xy; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS0h3zz303M; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FP1lwcz2yK8 for ; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FM3jHdz5XJ; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cGlroUzO1ERyGuzX2jyBL6qXoIvdjwJmxarApcud5B4=; b=4rJhT9dCPS3pMZZT3L+T23GdhD9fgZq8cOM/nlnICGda0vGdj7NyuULKli86vg/FgXUo0D n89QZCiaK9t+GsDg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cGlroUzO1ERyGuzX2jyBL6qXoIvdjwJmxarApcud5B4=; b=IGzpGJiAJ5TDtnjfuxY4iWlEEzqATluA/hW5S3dzubaKhoFo9+kMakVRgvasHBIyqnMVLx MOJAAUoofOzQ88upjF8BMlyDgtJa/ZhnFsg3CzFynf4EDqPNz7BlGabVWgsc9O8i3J7PlD i+l2ONW59GmqNy6j9ueCCARbeDQqnOFAy1c/eu+Dtj3jUoZnNSt89X4cMR4Srm3qxKtoDp hU/6b9Q74+qlR42sB6R/34ex13pfdw42/KRI8TYcF7mLiL0M6a1hKx+wr8kyY/KzxtROF+ 3rjPTacMBvL63avKd43t2IQ1ifD7ZiNNU+okp+caUUszdJSUhfyTs8XssEMWTA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 10/15] qemu: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:48 +0000 Message-Id: <20220815171753.1858688-10-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/qemu | 1 + src/patches/qemu-7.0.0-fix-glibc-headers.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/patches/qemu-7.0.0-fix-glibc-headers.patch diff --git a/lfs/qemu b/lfs/qemu index 1edab05d1..fe637d93d 100644 --- a/lfs/qemu +++ b/lfs/qemu @@ -94,6 +94,7 @@ $(subst %,%_BLAKE2,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/qemu-7.0.0-fix-glibc-headers.patch cd $(DIR_APP) && ./configure \ --prefix=/usr \ --sysconfdir=/etc \ diff --git a/src/patches/qemu-7.0.0-fix-glibc-headers.patch b/src/patches/qemu-7.0.0-fix-glibc-headers.patch new file mode 100644 index 000000000..9332563bc --- /dev/null +++ b/src/patches/qemu-7.0.0-fix-glibc-headers.patch @@ -0,0 +1,11 @@ +--- qemu-7.0.0/linux-user/syscall.c~ 2022-08-10 14:03:50.721401251 +0000 ++++ qemu-7.0.0/linux-user/syscall.c 2022-08-10 14:00:22.569951783 +0000 +@@ -28,7 +28,7 @@ + #include + #include + #include +-#include ++#include + #include + #include + #include From patchwork Mon Aug 15 17:17:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5874 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61FZ2Zh5z3wfW for ; Mon, 15 Aug 2022 17:18:10 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FS2Rhmz5Y9; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS18DVz30HJ; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FP4hKyz302W for ; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FM62YFz5XV; Mon, 15 Aug 2022 17:17:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qbjH5iz9LOLxMpcsR9BTv6SvJCm4jle5EK1BEgSbthY=; b=jp3piFSY7fxvb19E97bHlQZXlw3WWy/YLDvV9BnpQkQZ8uDMyZZHylb5eMJGL8lvkHC35b QQxyD+IEdn0JoHOlzV51jtuq+4QQpIWgdzb0rjx+zYpxXJbSuX/9miBA0lZB9O3YEI4ITh 8dbVvjDhMnywE+QKnA0et+vHYCxamRz5iGASRp/az46wM7lo1bTFnC0BgUqZdOO60UlLm8 zF5V1Onvq2cQIMRWY4i/zfX7TB23+o5Re3y1KQdDUG9uUI9LXGr80wzHH6ObsOeQoqO7W1 WZwM5k+LoYTogUHKzgewOHSFo5S6wihcgC7TKuzMesz1DycNuVvfPrqQ+5fLQw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qbjH5iz9LOLxMpcsR9BTv6SvJCm4jle5EK1BEgSbthY=; b=w7kNRVKWrxpk3qyBQSzYQ7Gq3p749m2ZER5Poi2FkiTMwBErwFf5DQyOXECKELiV8B21G9 n41YHqLemoEfG3AQ== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 11/15] collected: Fix build with glibc 2.36 Date: Mon, 15 Aug 2022 17:17:49 +0000 Message-Id: <20220815171753.1858688-11-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/collectd | 1 + src/patches/collectd-4.10.9-fix-glibc-headers.patch | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/patches/collectd-4.10.9-fix-glibc-headers.patch diff --git a/lfs/collectd b/lfs/collectd index bc508cb4a..5c4236b3a 100644 --- a/lfs/collectd +++ b/lfs/collectd @@ -108,6 +108,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -p1 -i $(DIR_SRC)/src/patches/collectd-4.10-libiptc-build-fixes.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/collectd-4.10.9-remove-checks-for-SENSORS_API_VERSION-upper-limit.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/collectd-4.10-drop-linux-disk-module.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/collectd-4.10.9-fix-glibc-headers.patch cd $(DIR_APP) && autoupdate -v configure.in cd $(DIR_APP) && autoreconf -vfi cd $(DIR_APP)/libltdl && autoreconf -vfi diff --git a/src/patches/collectd-4.10.9-fix-glibc-headers.patch b/src/patches/collectd-4.10.9-fix-glibc-headers.patch new file mode 100644 index 000000000..fd05c4a59 --- /dev/null +++ b/src/patches/collectd-4.10.9-fix-glibc-headers.patch @@ -0,0 +1,10 @@ +--- collectd-4.10.9/src/utils_mount.c~ 2022-08-10 13:45:39.424289940 +0000 ++++ collectd-4.10.9/src/utils_mount.c 2022-08-10 13:45:58.224239495 +0000 +@@ -31,6 +31,7 @@ + #include "plugin.h" + #include "utils_mount.h" + ++#undef HAVE_XFS_XQM_H + #if HAVE_XFS_XQM_H + # include + #define XFS_SUPER_MAGIC_STR "XFSB" From patchwork Mon Aug 15 17:17:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5875 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61Fb4pyBz3wfP for ; Mon, 15 Aug 2022 17:18:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FS4lbYz5YH; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS1Z4Lz330P; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FQ2lfYz2ySx for ; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FN5t5Rz5XD; Mon, 15 Aug 2022 17:18:00 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y1zPRes56oyktlL5rNWhk0kOhwMd+WSWNbZU94dDyMU=; b=NAi5plLNl3nOPZURkMWVpWHC8Up54Fgoi1/DZhY0RnLlVEVBCIQ5l2YyK/1W4xBcUtrWSH y1c7BCHGi1M19FCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=y1zPRes56oyktlL5rNWhk0kOhwMd+WSWNbZU94dDyMU=; b=DXNEdwCMJNxmHuRjFnngCNvNug8e0DVbHHJw5vpgW7fKvv8Wlvs+Q1VL/wIfQg6/J+2F15 IT6UsYYrRL4hm+wXPbA5K6x0RBcbB74KO2vJ0EHtJL9tpGLj66Axr6+OmiqituBDTf1gsn T+FHU8i1RgUYqtbsuKtbukcDP1MKIZ+rems3WqOlqCKUFcZuJdsCrDqVQ/vBwf6paudCG4 zrMGtiMxr7k9o1b7by7E5Gs/Ck/EJuXegaI8GFohIYTvP9WeEP6INpJMZEh2WmEk4Ag6Ty RHFSXXGZR0QSRJVfhGWz9UR7DCukaD8a9233nz2SaEVAMKIwg/UUin+eLoZbNg== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 12/15] libvirt: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:50 +0000 Message-Id: <20220815171753.1858688-12-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/libvirt | 1 + .../libvirt-7.10.0-fix-glibc-headers.patch | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 src/patches/libvirt-7.10.0-fix-glibc-headers.patch diff --git a/lfs/libvirt b/lfs/libvirt index 77f75e1d3..d07f19b03 100644 --- a/lfs/libvirt +++ b/lfs/libvirt @@ -83,6 +83,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar Jxf $(DIR_DL)/$(DL_FILE) cd $(DIR_APP) && patch -Np1 -i $(DIR_SRC)/src/patches/libvirt/0001-Change-default-behavior-of-libvirt-guests.sh-for-IPF.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/libvirt-7.10.0-fix-glibc-headers.patch cd $(DIR_APP) && meson \ --prefix=/usr \ diff --git a/src/patches/libvirt-7.10.0-fix-glibc-headers.patch b/src/patches/libvirt-7.10.0-fix-glibc-headers.patch new file mode 100644 index 000000000..cfe71d4bd --- /dev/null +++ b/src/patches/libvirt-7.10.0-fix-glibc-headers.patch @@ -0,0 +1,42 @@ +From c0d9adf220dc0d223330a7bac37b174132d330ba Mon Sep 17 00:00:00 2001 +From: Cole Robinson +Date: Mon, 1 Aug 2022 15:24:01 -0400 +Subject: [PATCH] virfile: Fix build with glibc 2.36 + +With glibc 2.36, sys/mount.h and linux/mount.h conflict: +https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + +virfile.c imports sys/mount.h and linux/fs.h, which pulls in +linux/mount.h. + +Manually define the constants we need from linux/fs.h, like was +done in llvm: + +https://reviews.llvm.org/rGb379129c4beb3f26223288627a1291739f33af02 + +Reviewed-by: Erik Skultety +Signed-off-by: Cole Robinson +--- + src/util/virfile.c | 6 +++++- + 1 file changed, 5 insertions(+), 1 deletion(-) + +diff --git a/src/util/virfile.c b/src/util/virfile.c +index 99da058db3..ce541b8946 100644 +--- a/src/util/virfile.c ++++ b/src/util/virfile.c +@@ -71,7 +71,11 @@ + # endif + # include + # include +-# include ++/* These come from linux/fs.h, but that header conflicts with ++ * sys/mount.h on glibc 2.36+ */ ++# define FS_IOC_GETFLAGS _IOR('f', 1, long) ++# define FS_IOC_SETFLAGS _IOW('f', 2, long) ++# define FS_NOCOW_FL 0x00800000 + #endif + + #if WITH_LIBATTR +-- +GitLab + From patchwork Mon Aug 15 17:17:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5876 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61Fb6TvFz3wfX for ; Mon, 15 Aug 2022 17:18:11 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FS4zgmz5YL; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS23lbz2ySx; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FQ3mygz2xR4 for ; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FP0wv8z5Xd; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k5ByXCWPP+Op6chXn/ZAQ57/1kbYrwg4syyv8R3VrUA=; b=jlMoF2HnvvayoSPkE6z3yCdstPKYF8T+0ODF4xzV3k5Zd+4vfSl+ycaUv3hZgN0ChmvrYC MyswwsQuOej8hrAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=k5ByXCWPP+Op6chXn/ZAQ57/1kbYrwg4syyv8R3VrUA=; b=I4LGyuZN5Br3ZfktBt3xwX/liFD+fIcQTwx1cUb2rIPND9ahyeLnkRSLCn9Jwu91vc0/vt aZxO1waw1c75YUYbnXqzzRoUlqpdJjN4ZFkqWR2T+zsUU/oxcYd/J24Np/jmHSu82oFC0z gpsGfDkJJt4yTuSlD9psOTnaXkiqbBr4Zi7zQ+kecvNJ6AZAdjbhY+JN7TuxY2eBL4Fz/L HPa4ESAo2LDCLat1E/Ayt0+dsHte7XNbVnwxaY4VsH3v8o2IbjpX3huw5V/v1vIvggzP6M O+NHvaM1j4cixPe6fmRBvD4HjiHxrhrrzU+4BeTMtITVkZTC5osXnJw6i//8kw== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 13/15] syslinux: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:51 +0000 Message-Id: <20220815171753.1858688-13-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- lfs/syslinux | 1 + ...binstaller-Fix-build-with-glibc-2.36.patch | 56 +++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 src/patches/syslinux-6.04-libinstaller-Fix-build-with-glibc-2.36.patch diff --git a/lfs/syslinux b/lfs/syslinux index d90032cd9..150e4071e 100644 --- a/lfs/syslinux +++ b/lfs/syslinux @@ -79,6 +79,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/syslinux-6.03-sysmacros.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/syslinux-6.04_replace-builtin-strlen-that-appears-to-get-optimized.patch cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/syslinux-6.04_pre1-fcommon.patch + cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/syslinux-6.04-libinstaller-Fix-build-with-glibc-2.36.patch # Build cd $(DIR_APP) && make bios $(MAKETUNING) diff --git a/src/patches/syslinux-6.04-libinstaller-Fix-build-with-glibc-2.36.patch b/src/patches/syslinux-6.04-libinstaller-Fix-build-with-glibc-2.36.patch new file mode 100644 index 000000000..b16eec007 --- /dev/null +++ b/src/patches/syslinux-6.04-libinstaller-Fix-build-with-glibc-2.36.patch @@ -0,0 +1,56 @@ +From 0c4f97b2dd22365d32b865dd002282e454a7edf0 Mon Sep 17 00:00:00 2001 +From: Martin Jansa +Date: Sat, 6 Aug 2022 11:53:55 +0000 +Subject: [PATCH] libinstaller: Fix build with glibc-2.36 + +* add only necessary definitions from linux/fs.h, because including whole + causes conflicts with sys/mount.h: + http://errors.yoctoproject.org/Errors/Details/664535/ + +In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/fs.h:19, + from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/linuxioctl.h:19, + from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/syslxcom.c:34: +TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/mount.h:95:6: error: redeclaration of 'enum fsconfig_command' + 95 | enum fsconfig_command { + | ^~~~~~~~~~~~~~~~ +In file included from TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/syslinux-6.04-pre2/linux/../libinstaller/syslxcom.c:31: +TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/sys/mount.h:189:6: note: originally defined here + 189 | enum fsconfig_command + | ^~~~~~~~~~~~~~~~ +TOPDIR/tmp-glibc/work/core2-64-oe-linux/syslinux/6.04-pre2-r1/recipe-sysroot/usr/include/linux/mount.h:96:9: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' + 96 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ + | ^~~~~~~~~~~~~~~~~ +... + +Upstream-Status: Pending +Signed-off-by: Martin Jansa +--- + libinstaller/linuxioctl.h | 15 ++++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/libinstaller/linuxioctl.h b/libinstaller/linuxioctl.h +index e2731c7..f4a6703 100644 +--- a/libinstaller/linuxioctl.h ++++ b/libinstaller/linuxioctl.h +@@ -16,7 +16,20 @@ + #include /* Floppy geometry */ + #include /* Hard disk geometry */ + +-#include /* FIGETBSZ, FIBMAP, FS_IOC_* */ ++// #include /* FIGETBSZ, FIBMAP, FS_IOC_* */ ++// linux/fs.h unfortunately causes conflict with sys/mount.h since glibc-2.36 ++// https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E ++// add the necessary definitions ++ ++#define FS_IOC_GETFLAGS _IOR('f', 1, long) ++#define FS_IOC_SETFLAGS _IOW('f', 2, long) ++#define FIBMAP _IO(0x00,1) /* bmap access */ ++#define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */ ++#define FS_IMMUTABLE_FL 0x00000010 /* Immutable file */ ++#define BLKGETSIZE _IO(0x12,96) /* return device size /512 (long *arg) */ ++ ++// for musl we also need limits.h for PATH_MAX ++#include + + #undef SECTOR_SIZE /* Defined in msdos_fs.h for no good reason */ + #undef SECTOR_BITS From patchwork Mon Aug 15 17:17:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5877 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61Fd1RSkz3wfS for ; Mon, 15 Aug 2022 17:18:13 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FT1qmGz5XF; Mon, 15 Aug 2022 17:18:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS2ZsLz330X; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FQ4jztz2ySx for ; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FP2gYXz1Pd; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jEHsgOv/CYZsy+J9lkD+L97eQes2GEaRBfF6cZ87ec0=; b=d3NIImbIRoIBNpuQVVrwrCd6tDUOi46Kn5u6bp5JuSLB6W83aW+x+T15BYIb52lKAs97TP ljL43degEQsfnaBw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jEHsgOv/CYZsy+J9lkD+L97eQes2GEaRBfF6cZ87ec0=; b=apGklq5WFR41QT28c4kciVB4sdMxwbt19dEnLGExlLg+27UrIsMWHE0eMQkqP7cqT1Y+jc i4VlPzZrlwM6RiRYZ749J74aUywbAA2y1bluNdRzIC/YvCj+8XUeM5p52nw9Nmv90KILz2 LqpUZx4I/LXeAkE7fNWLpwfRFx59+XhaSx1W0HoSnP2Tq2/8IPe7QraQx5Ssmxqj2PPlPf +2rwiui2/gNl4CfWjHOJ1rIBl11etf/IQWbwVUhObsBbyQRlVXr1MSrE/W0qLb9XMVg0oS kzrMLWLVhwwdaBDliBq5sYln//+aRv4hZke0Itc+dF/9MS2qfFZPNMxnX2zb9Q== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 14/15] installer: Fix build against glibc 2.36 Date: Mon, 15 Aug 2022 17:17:52 +0000 Message-Id: <20220815171753.1858688-14-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" Signed-off-by: Michael Tremer --- src/installer/hw.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/installer/hw.c b/src/installer/hw.c index 236737c8e..9d11d85de 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -40,8 +40,6 @@ #include #include -#include - #include #include "hw.h" From patchwork Mon Aug 15 17:17:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 5878 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M61Ff0DScz3wfV for ; Mon, 15 Aug 2022 17:18:14 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M61FT47XXz5YC; Mon, 15 Aug 2022 17:18:05 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M61FS3Rg8z330j; Mon, 15 Aug 2022 17:18:04 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M61FQ67qRz2xR4 for ; Mon, 15 Aug 2022 17:18:02 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M61FP3X1tz5Xb; Mon, 15 Aug 2022 17:18:01 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pA964B+WyDqVb8IUqn50ksxiutiWSHqi54zTS1N5Q2Q=; b=/fl9WBDmo/XTzRpzrlpST/8Y6md8KO+1/jLJKLPhJfrFmYUiW7WpoSOMB9zTQs9zz5HfWk is1vbV9wbBAc8lDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1660583881; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pA964B+WyDqVb8IUqn50ksxiutiWSHqi54zTS1N5Q2Q=; b=bBLcxFZKT4pt5cG/B440y4gByWFmkWwzXb5g+ty7At9X8b77NYozXunyU5cywY/ZORhKzI EUNZQt9pi15sy+U4yvXLQmfAks8DAErNaUUPNr7MtVOOAjDp9cgSekXbnyrbIvWiITg9v6 QIilnfZh6K0shgTxDCQNkwfh974/vKzDzr0vHWnB3BTnEXVbYX2q7TthYeHUuhGXVON+t8 p8SVVF1hYilQgNpb3+ogbHUluq6KWj6QYwJKeT91LA1obnYCCg48U6y0DBX91Wl5Tf3zXg P4L3rLi+4IVPSW64qLXBRyAjaIPJ167P0sG9clf8gyRLuO6UwpXCfpEBs47XvA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 15/15] u-boot: Ignore LOAD segments with RWX permissions Date: Mon, 15 Aug 2022 17:17:53 +0000 Message-Id: <20220815171753.1858688-15-michael.tremer@ipfire.org> In-Reply-To: <20220815171753.1858688-1-michael.tremer@ipfire.org> References: <20220815171753.1858688-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This is a new check in binutils which has to be disabled for some legacy bootloaders. Signed-off-by: Michael Tremer --- lfs/u-boot | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lfs/u-boot b/lfs/u-boot index f7341675d..3488204ee 100644 --- a/lfs/u-boot +++ b/lfs/u-boot @@ -34,6 +34,7 @@ TARGET = $(DIR_INFO)/$(THISAPP)-$(MKIMAGE) SUP_ARCH = armv6l aarch64 CFLAGS := $(patsubst -fstack-protector-strong,,$(CFLAGS)) +LDFLAGS += --no-warn-rwx-segments ATF_VER = 2.6 @@ -189,7 +190,7 @@ else # OrangePi Zero Plus cd $(DIR_APP) && rm -rf arm-trusted-firmware-$(ATF_VER) cd $(DIR_APP) && tar axf $(DIR_DL)/arm-trusted-firmware-$(ATF_VER).tar.gz - cd $(DIR_APP)/arm-trusted-firmware-$(ATF_VER) && make PLAT=sun50i_a64 DEBUG=0 bl31 + cd $(DIR_APP)/arm-trusted-firmware-$(ATF_VER) && make PLAT=sun50i_a64 DEBUG=0 bl31 LDFLAGS="$(LDFLAGS)" cd $(DIR_APP) && cp arm-trusted-firmware-$(ATF_VER)/build/sun50i_a64/release/bl31.bin bl31.bin cd $(DIR_APP) && rm -rf arm-trusted-firmware-$(ATF_VER) -mkdir -pv /usr/share/u-boot/orangepi_zero_plus @@ -204,7 +205,7 @@ else # Nanopi R2S cd $(DIR_APP) && rm -rf arm-trusted-firmware-$(ATF_VER) cd $(DIR_APP) && tar axf $(DIR_DL)/arm-trusted-firmware-$(ATF_VER).tar.gz - cd $(DIR_APP)/arm-trusted-firmware-$(ATF_VER) && make PLAT=rk3328 ARCH=aarch64 DEBUG=0 bl31 + cd $(DIR_APP)/arm-trusted-firmware-$(ATF_VER) && make PLAT=rk3328 ARCH=aarch64 DEBUG=0 bl31 LDFLAGS="$(LDFLAGS)" cd $(DIR_APP) && cp arm-trusted-firmware-$(ATF_VER)/build/rk3328/release/bl31/bl31.elf bl31.elf cd $(DIR_APP) && rm -rf arm-trusted-firmware-$(ATF_VER) -mkdir -pv /usr/share/u-boot/nanopi_r2s