From patchwork Wed Dec 29 17:40:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 1573999 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=yb3k59LX; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hauke-m.de header.i=@hauke-m.de header.a=rsa-sha256 header.s=MBO0001 header.b=twu/TVug; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JPJhG58h2z9sPC for ; Thu, 30 Dec 2021 04:45:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=rxbYq/r+LY/MKt4g1Zd05Mv4M9em17ZqYSLHQriOlIM=; b=yb3k59LXkmHyAb 03DPKJ0dUYhsbqIzM9BRuNSp3G49MIvDF9Qa86VsadUrRW+6SQVWTIY6OCn3BvYO/eEN5cFHF5dS5 35zmuZ33CpDhN4wpijDuh0G+TTK2Lq6qCJZ1Yk7OAARK4xZAxc7QXHeksGZQ84dHO+cmZbj61WZIi 5HRi2p6U3+HgkSARf3kuNJvwNfO1fRa/N/wiKYxh7pqESUI2z5qgvxrQgfuHizTjvQeugL7PccS+t qV6t2TDeUNfo5aGX/P2UDYZjtms4yoYLSYef8sgxrJzpd/RRTmnCk+M5c1lo8qgv5M1iSKW6msrDc 31ec900ShnswJVoPDOig==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cws-003Do6-9A; Wed, 29 Dec 2021 17:41:14 +0000 Received: from mout-p-202.mailbox.org ([2001:67c:2050::465:202]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cwl-003DmY-LY for openwrt-devel@lists.openwrt.org; Wed, 29 Dec 2021 17:41:09 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4JPJbf2QnFzQk8f; Wed, 29 Dec 2021 18:41:02 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hauke-m.de; s=MBO0001; t=1640799660; 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=vUtWbWZ8fA8xOnN9//Igw62jh1wa+5QWlppx5NcMVyw=; b=twu/TVugmwRfVBUWk+cIGptgNXWNr5VpXk9kIigv0+VvBt1nkHwRMSfySst/nQ7XGNc+r+ LzDgEAlid1hl/M2DcKmCUmG7bNlk1Iqkv6LrMiFPmQbpW2IOWwhPu5bpJUj6rdEk8qrDdG ifMkHIqwLEyRnEiWNQCUR6JTetfslV4RBpqhhPAjpCWzFCwvY0BH/M3U2yuDD1u8F/uLNV srGxJk9xT/+lL/xmw5h2hALQ2DsA3Zcv32CshENZpe/PN5VldqmSNKgZWkLTl1MF78vKau SDC9/KSfgi1D7OsY+RfPZ1sOdLjT9QlqZprwjeih/U4QENcVWy+xXM1nRGAx4Q== From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Cc: dedeckeh@gmail.com, Hauke Mehrtens Subject: [PATCH 1/3] toolchain: glibc: Update to version 2.34 Date: Wed, 29 Dec 2021 18:40:35 +0100 Message-Id: <20211229174037.1244686-1-hauke@hauke-m.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_094107_909532_C7A63CF2 X-CRM114-Status: UNSURE ( 9.21 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: glibc version 2.34 does not provide versioned shared libraries any more, it only provides shared libraries using the ABI version. Do not try to copy them any more. The functions from libpthread and librt were integrated into the main binary, the libpthread.so and librt.so are only used for backwards compatibility any more. Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2001:67c:2050:0:0:0:465:202 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org glibc version 2.34 does not provide versioned shared libraries any more, it only provides shared libraries using the ABI version. Do not try to copy them any more. The functions from libpthread and librt were integrated into the main binary, the libpthread.so and librt.so are only used for backwards compatibility any more. Signed-off-by: Hauke Mehrtens --- package/libs/toolchain/Makefile | 5 +---- toolchain/glibc/common.mk | 8 ++++---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/package/libs/toolchain/Makefile b/package/libs/toolchain/Makefile index dea99060f954..682efd1970ff 100644 --- a/package/libs/toolchain/Makefile +++ b/package/libs/toolchain/Makefile @@ -519,10 +519,9 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) $(INSTALL_DIR) $(1)/lib $(CP) \ $(TOOLCHAIN_DIR)/lib/ld*.so.* \ - $(TOOLCHAIN_DIR)/lib/ld-$(LIBC_SO_VERSION).so \ $(1)/lib/ for file in libanl libc libcidn libcrypt libdl libm libnsl libnss_dns libnss_files libresolv libutil; do \ - for file in $(TOOLCHAIN_DIR)/lib/$$$$file.so.* $(TOOLCHAIN_DIR)/lib/$$$$file-$(LIBC_SO_VERSION).so; do \ + for file in $(TOOLCHAIN_DIR)/lib/$$$$file.so.*; do \ if [ -e "$$$$file" ]; then \ $(CP) $$$$file $(1)/lib/; \ fi; \ @@ -561,7 +560,6 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) ifneq ($(CONFIG_USE_MUSL),y) $(CP) \ $(TOOLCHAIN_DIR)/lib/libpthread.so.* \ - $(TOOLCHAIN_DIR)/lib/libpthread-$(LIBC_SO_VERSION).so \ $(1)/lib/ endif endef @@ -581,7 +579,6 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) ifneq ($(CONFIG_USE_MUSL),y) $(CP) \ $(TOOLCHAIN_DIR)/lib/librt.so.* \ - $(TOOLCHAIN_DIR)/lib/librt-$(LIBC_SO_VERSION).so \ $(1)/lib/ endif endef diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index b5f2a513b1d3..03694b34c7d1 100644 --- a/toolchain/glibc/common.mk +++ b/toolchain/glibc/common.mk @@ -7,13 +7,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=glibc -PKG_VERSION:=2.33 -PKG_RELEASE:=2 +PKG_VERSION:=2.34 +PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) -PKG_SOURCE_VERSION:=9b01145592fdbffbcbb949d680c152ed2bf2375d -PKG_MIRROR_HASH:=a1bf0858828ee0f68c7847ce9504bb10ce943d0c8fe801d7ba307add2a238c5b +PKG_SOURCE_VERSION:=41fddc064ded5c9a36d8ffaad59a85407a22a535 +PKG_MIRROR_HASH:=d9df058a4ae371da2fdca53acbae8512e3560e46667ffae3495a8a1cc3f05235 PKG_SOURCE_URL:=https://sourceware.org/git/glibc.git PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz From patchwork Wed Dec 29 17:40:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 1574000 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=jt6jtF1F; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hauke-m.de header.i=@hauke-m.de header.a=rsa-sha256 header.s=MBO0001 header.b=Vtkf2yhP; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JPJjN0z9Xz9s1l for ; Thu, 30 Dec 2021 04:46:00 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=WtPCWDXqKxtoQhTJ0TpqjwVXluXnEk7i4BXOXfrDEOY=; b=jt6jtF1Ftx/PGu DsGCCOUGeLgAX4oUbq3f1m5SGYNIP5z2eZS7dJRURCA3rt5CKMYle7zHhIJNXEY9FKlZ4n8JAZ0nv ifuqtYPuo0wm1nXnWplLucihYOPluxDiGLjD6x7DGgKP95MjMCeNvDoF+128p75UKNeENjzs5oVFP HL3J3HXh5RMYWIy3b1Q48OZ6AI2PBjJKFIYVVNAR+8Wh3Vi0Rx97kNWHHxQ5YmHkJsIuBwhWLOjbR z1qeq5UUyB5/bc0xqbdEuXtgWcaEhpzamYygsZkl149F5V3QLvF6WZAh2Ec0Hr9nZVYal+8qRBedl rGhl24UZMitdcgtWH4yw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cxD-003DtF-66; Wed, 29 Dec 2021 17:41:35 +0000 Received: from mout-p-202.mailbox.org ([80.241.56.172]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cwm-003Dmd-KI for openwrt-devel@lists.openwrt.org; Wed, 29 Dec 2021 17:41:10 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4JPJbd6dl7zQk4J; Wed, 29 Dec 2021 18:41:01 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hauke-m.de; s=MBO0001; t=1640799660; 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=L4sjAAebawkQczAQyF3sVgeLY0eP8KkgPEY66vmDnCM=; b=Vtkf2yhP7PN8KrJUlrz+y4Qaxzpc53Bgcx9Mduwl3myCNZxMhmw3Lk1KsgmZYyMdPLjfAB ytUsBgqITOpgY5Vbi2++bJiejZnRk8aD4DBxFuh/VtjgTho6iOCeM0piJQg9fgEejpECqa RQ/TDbCuRVEqLWxLcPTHoKYGpdHyGCEAEqLlyDLetCvAlK5UgF3ZJP7bcwh0HIQp5vHwDf jKXl3h+A/kRNOsKYU39at/SlaBHz7ZeWixBj+CuQyYfQ8jd+TH47kWi06tovM5xkWp2x5N KqvcYYzsYU3bOrSpr5Ee+z2uObs8B2r1uHp+QsWlrP1YYsF9mw6rb3jX5bHFiA== From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Cc: dedeckeh@gmail.com, Hauke Mehrtens Subject: [PATCH 2/3] toolchain: glibc: Increase minimum kernel version to 5.4 Date: Wed, 29 Dec 2021 18:40:36 +0100 Message-Id: <20211229174037.1244686-2-hauke@hauke-m.de> In-Reply-To: <20211229174037.1244686-1-hauke@hauke-m.de> References: <20211229174037.1244686-1-hauke@hauke-m.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_094108_874584_C8C64A68 X-CRM114-Status: UNSURE ( 9.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Increase the minimum kernel version needed by the glibc compiled for OpenWrt to version 5.4. With this setting the glibc build will remove all code needed to support older kernel versions. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [80.241.56.172 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [80.241.56.172 listed in wl.mailspike.net] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Increase the minimum kernel version needed by the glibc compiled for OpenWrt to version 5.4. With this setting the glibc build will remove all code needed to support older kernel versions. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index 03694b34c7d1..16d9241dcae5 100644 --- a/toolchain/glibc/common.mk +++ b/toolchain/glibc/common.mk @@ -63,7 +63,7 @@ GLIBC_CONFIGURE:= \ --$(if $(CONFIG_SOFT_FLOAT),without,with)-fp \ $(if $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),--enable-stack-protector=yes) \ $(if $(CONFIG_PKG_CC_STACKPROTECTOR_STRONG),--enable-stack-protector=strong) \ - --enable-kernel=4.14.0 + --enable-kernel=5.4.0 export libc_cv_ssp=no export libc_cv_ssp_strong=no From patchwork Wed Dec 29 17:40:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 1573998 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=PGQ8J1vH; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=hauke-m.de header.i=@hauke-m.de header.a=rsa-sha256 header.s=MBO0001 header.b=wriCgmzH; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JPJhG6FcNz9sRN for ; Thu, 30 Dec 2021 04:45:02 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+vEQUD/6pnDr6Oh1K7hgBppp6bBIs8TM+jnnSRh4CE8=; b=PGQ8J1vHIectzM 0JE7MfGEDry7Ipak82no9QtwilEQAH8z6VenDze6BbveUF0cr6TxA2DQWqN0A8Lc52CBlDKslQfoj K5FmLzYv7BTshDXHnGGEbkcPmRQOBZIGi43ZeCF4ckAmPucZwwqYwHgDVQbhClTKu3+V/DyBQk5jV JcaK66MDRlMWrW5e7rDjoz/RweJwCZ/Yud4/VzjwqLmMXAXVgI33Mx9Zk2/0pNOuzZAq6ub7MZ16P iEho6CIdf3rTpYFflMMAphQ7MBrjen5CIKUewYHLv4nqSsn2TPTtxp5Snw8kz5czyY4fxM9yf4U17 Vzu++HK+MH2dRLIBin+g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cxi-003DzU-MD; Wed, 29 Dec 2021 17:42:06 +0000 Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n2cwu-003Dmr-Lw for openwrt-devel@lists.openwrt.org; Wed, 29 Dec 2021 17:41:18 +0000 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4JPJbj3qRnzQkF4; Wed, 29 Dec 2021 18:41:05 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hauke-m.de; s=MBO0001; t=1640799663; 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=8DIU4aDZVVtyAZvNEX3r+DHBrrghlKcxwv8MkHXYm3g=; b=wriCgmzHOkaY+DPSqxIXeCbd2VK6XizJDnbkM1G3fPmjGq0aRGdns+vk1/NcIBLgKDbs5C Aip+LxuK0shW47A5FzUpM0CnjRQBXoBjkAPk8fJCmU+kVeTW4id2B64z20iEeAQS+DEhW4 syqWQF6huRF91wHpx7M6ycd9HRbRW73s/T1FYpX+M3CA9krHeVPrAnuWkClNNuCxIXV8QO 44VyvLhAIEb99R4Fgwt8dolHXDhN8kBTYAi+E1tge6s/9lstm2BJVZqrzOWzkKZ42rAbla XB+HNlfh4j8+BgI8KhuP2bzfGgrZMzBtrcSCiAwDi5AtjHpCog3Jllobo1/jzw== From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Cc: dedeckeh@gmail.com, Hauke Mehrtens Subject: [PATCH 3/3] toolchain: glibc: Enable --enable-bind-now Date: Wed, 29 Dec 2021 18:40:37 +0100 Message-Id: <20211229174037.1244686-3-hauke@hauke-m.de> In-Reply-To: <20211229174037.1244686-1-hauke@hauke-m.de> References: <20211229174037.1244686-1-hauke@hauke-m.de> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211229_094116_900090_BDF1A829 X-CRM114-Status: UNSURE ( 6.56 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.9 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option is activated by default. This will enable full RELRO protection. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 1 + 1 file changed, 1 insertion(+) Content analysis details: (-0.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [2001:67c:2050:0:0:0:465:201 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Enable --enable-bind-now when CONFIG_PKG_RELRO_FULL is set. This option is activated by default. This will enable full RELRO protection. Signed-off-by: Hauke Mehrtens --- toolchain/glibc/common.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/toolchain/glibc/common.mk b/toolchain/glibc/common.mk index 16d9241dcae5..c239863a6c0a 100644 --- a/toolchain/glibc/common.mk +++ b/toolchain/glibc/common.mk @@ -63,6 +63,7 @@ GLIBC_CONFIGURE:= \ --$(if $(CONFIG_SOFT_FLOAT),without,with)-fp \ $(if $(CONFIG_PKG_CC_STACKPROTECTOR_REGULAR),--enable-stack-protector=yes) \ $(if $(CONFIG_PKG_CC_STACKPROTECTOR_STRONG),--enable-stack-protector=strong) \ + $(if $(CONFIG_PKG_RELRO_FULL),--enable-bind-now) \ --enable-kernel=5.4.0 export libc_cv_ssp=no