From patchwork Tue May 20 16:05:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 63312 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1E60C3DA6D for ; Tue, 20 May 2025 16:05:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.24950.1747757150646545135 for ; Tue, 20 May 2025 09:05:50 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8EF851516 for ; Tue, 20 May 2025 09:05:36 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AD81D3F5A1 for ; Tue, 20 May 2025 09:05:49 -0700 (PDT) From: Ross Burton To: meta-arm@lists.yoctoproject.org Subject: [PATCH 1/2] arm/fvp-base-a-aem: upgrade to 11.29.27 Date: Tue, 20 May 2025 17:05:44 +0100 Message-ID: <20250520160545.2283646-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 20 May 2025 16:05:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6506 Notably, this fixes the need for an executable stack. Signed-off-by: Ross Burton --- ...base-a-aem_11.28.23.bb => fvp-base-a-aem_11.29.27.bb} | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) rename meta-arm/recipes-devtools/fvp/{fvp-base-a-aem_11.28.23.bb => fvp-base-a-aem_11.29.27.bb} (66%) diff --git a/meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.28.23.bb b/meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.29.27.bb similarity index 66% rename from meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.28.23.bb rename to meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.29.27.bb index 46884520..a45fa153 100644 --- a/meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.28.23.bb +++ b/meta-arm/recipes-devtools/fvp/fvp-base-a-aem_11.29.27.bb @@ -4,11 +4,11 @@ LICENSE:append = " & Artistic-2.0 & BSL-1.0 & BSD-2-Clause & Unlicense" SUMMARY = "Arm Fixed Virtual Platform - Armv-A Base RevC Architecture Envelope Model FVP" LIC_FILES_CHKSUM = "file://license_terms/license_agreement.txt;md5=1a33828e132ba71861c11688dbb0bd16 \ - file://license_terms/third_party_licenses/third_party_licenses.txt;md5=c51b57b6a4731881849eb0e2e2b6d799 \ + file://license_terms/third_party_licenses/third_party_licenses.txt;md5=92ea58bb219213dfdc48111b693019b6 \ file://license_terms/third_party_licenses/arm_license_management_utilities/third_party_licenses.txt;md5=abcaafefc7b7a0cdf6664c51f9075c5b" -SRC_URI[fvp-aarch64.sha256sum] = "a380e271f14ce7cf99158018368ac86fe8c305f82c7d332a93eb08bf7a172571" -SRC_URI[fvp-x86_64.sha256sum] = "0f6d67d834a8ed5dff3c863e0e3545ef39c736405ea8227577ac004cffd66e93" +SRC_URI[fvp-aarch64.sha256sum] = "8fce0dc6346c37b0df4809d08b599463c880b6375f9b58d89a73fa6f9ab2e129" +SRC_URI[fvp-x86_64.sha256sum] = "8a8c4a609c32890ce96799aa7319fff3ecf752c7a9dab52b2e968cb80cc1836f" # The CSS used in the FVP homepage make it too difficult to query with the tooling currently in Yocto UPSTREAM_VERSION_UNKNOWN = "1" @@ -16,6 +16,3 @@ UPSTREAM_VERSION_UNKNOWN = "1" MODEL_CODE = "FVP_Base_RevC-2xAEMvA" COMPATIBLE_HOST = "(aarch64|x86_64).*-linux" - -require remove-execstack.inc -REMOVE_EXECSTACKS:x86-64 = "${FVPDIR}/models/${FVP_ARCH_DIR}*/libarmctmodel.so" From patchwork Tue May 20 16:05:45 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 63313 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A1E9BC54E65 for ; Tue, 20 May 2025 16:05:53 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.24951.1747757151082628096 for ; Tue, 20 May 2025 09:05:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 35363152B for ; Tue, 20 May 2025 09:05:37 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 553263F5A1 for ; Tue, 20 May 2025 09:05:50 -0700 (PDT) From: Ross Burton To: meta-arm@lists.yoctoproject.org Subject: [PATCH 2/2] arm/execstack: remove, no longer needed Date: Tue, 20 May 2025 17:05:45 +0100 Message-ID: <20250520160545.2283646-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250520160545.2283646-1-ross.burton@arm.com> References: <20250520160545.2283646-1-ross.burton@arm.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 20 May 2025 16:05:53 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/6507 This is no longer needed by the FVP recipes. Signed-off-by: Ross Burton --- .../recipes-devtools/fvp/execstack-native.bb | 25 ------------------ .../recipes-devtools/fvp/remove-execstack.inc | 26 ------------------- 2 files changed, 51 deletions(-) delete mode 100644 meta-arm/recipes-devtools/fvp/execstack-native.bb delete mode 100644 meta-arm/recipes-devtools/fvp/remove-execstack.inc diff --git a/meta-arm/recipes-devtools/fvp/execstack-native.bb b/meta-arm/recipes-devtools/fvp/execstack-native.bb deleted file mode 100644 index 8f22d8ba..00000000 --- a/meta-arm/recipes-devtools/fvp/execstack-native.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "execstack tool" -LICENSE = "GPL-2.0-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" - -DEPENDS = "binutils-native elfutils-native" - -SRC_URI = "git://git.yoctoproject.org/prelink-cross;protocol=https;branch=master" -SRCREV = "ff2561c02ade96c5d4d56ddd4e27ff064840a176" -PV = "1.0+git${SRCPV}" - -# The last tagged release was 20151030. Track this as a git tree to -# see if there are any updates -UPSTREAM_CHECK_COMMITS = "1" - -S = "${WORKDIR}/git" - -inherit autotools native - -do_compile() { - oe_runmake -C ${B}/src execstack -} - -do_install() { - oe_runmake -C ${B}/src install-binPROGRAMS DESTDIR="${D}" -} diff --git a/meta-arm/recipes-devtools/fvp/remove-execstack.inc b/meta-arm/recipes-devtools/fvp/remove-execstack.inc deleted file mode 100644 index 7f02b502..00000000 --- a/meta-arm/recipes-devtools/fvp/remove-execstack.inc +++ /dev/null @@ -1,26 +0,0 @@ -# Clear the executable stack flag on named shared libraries. This are typically -# not needed, and glibc 2.41 will refuse to dlopen() a library that expects -# an executable stack. -# -# The stack permissions can be checked with readelf -lW <.so> | grep GNU_STACK. -# RW is read/write, RWE is read/write/execute. - -DEPENDS += "execstack-native" - -REMOVE_EXECSTACKS ?= "" - -do_install:append() { - for SO in ${REMOVE_EXECSTACKS}; do - NAME=$(basename $SO) - SO=${D}$SO - - test -f $SO || bbfatal remove-execstack: cannot find $SO - - if execstack --query $SO | grep -q ^X; then - bbnote "Stripping executable stack bit on $NAME" - execstack --clear-execstack $SO - else - bbwarn "Executable stack stripping no longer required for $NAME, remove" - fi - done -}