Skip to contentSkip to conversation

binutils-cross: Disable gprofng for when building cross binutils

PATCH New Khem Raj 1 participant 3 messages Aug 7, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 binutils-cross: Disable gprofng for when building cross binutils

This does not work in cross settings yet

---
 meta/recipes-devtools/binutils/binutils-cross.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/binutils/binutils-cross.inc +1 -0
index 02ec891606d..835d4fa69b7 100644
@@ -16,6 +16,7 @@ SRC_URI += "file://0002-binutils-cross-Do-not-generate-linker-script-directo.pat
 # and mean the linker scripts have to be relocated.
 EXTRA_OECONF += "--with-sysroot=${STAGING_DIR_TARGET} \
                 --disable-install-libbfd \
+                --disable-gprofng \
                 --enable-poison-system-directories \
                 --with-lib-path==${target_base_libdir}:=${target_libdir} \
                 "
Signature · 1 line
2.37.1
author
#1 lore raw

PATCH 1/2 util-linux: Define pidfd_* function signatures

glibc 2.36 has added sys/pidfd.h and APIs for
pidfd_send_signal and pidfd_open, therefore check
for this header and include it if it exists

---
 meta/recipes-core/util-linux/util-linux.inc   |  1 +
 .../0001-check-for-sys-pidfd.h.patch          | 53 +++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch
meta/recipes-core/util-linux/util-linux.inc +1 -0
index c9bddfb7a68..e7757121588 100644
@@ -35,6 +35,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
            file://run-ptest \
            file://display_testname_for_subtest.patch \
            file://avoid_parallel_tests.patch \
+           file://0001-check-for-sys-pidfd.h.patch \
            "
 
 SRC_URI[sha256sum] = "6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64"
meta/recipes-core/util-linux/util-linux/0001-check-for-sys-pidfd.h.patch new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
2.37.1
author
#2 lore raw

PATCH 2/2 util-linux: Upgrade to 2.38.1

In reply to Khem Raj

The individual commits in this release are at [1]
and Changelog [2]

[1] https://github.com/util-linux/util-linux/compare/v2.38...v2.38.1
[2] https://github.com/util-linux/util-linux/commit/e51a82836a47723669bf046e24c51d5eb051c15f

---
 ...{util-linux-libuuid_2.38.bb => util-linux-libuuid_2.38.1.bb} | 0
 meta/recipes-core/util-linux/util-linux.inc                     | 2 +-
 .../util-linux/{util-linux_2.38.bb => util-linux_2.38.1.bb}     | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/util-linux/{util-linux-libuuid_2.38.bb => util-linux-libuuid_2.38.1.bb} (100%)
 rename meta/recipes-core/util-linux/{util-linux_2.38.bb => util-linux_2.38.1.bb} (100%)
meta/recipes-core/util-linux/util-linux-libuuid_2.38.1.bb renamed from meta/recipes-core/util-linux/util-linux-libuuid_2.38.bb +0 -0
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux-libuuid_2.38.bb
rename to meta/recipes-core/util-linux/util-linux-libuuid_2.38.1.bb
meta/recipes-core/util-linux/util-linux.inc +1 -1
index e7757121588..416550a6b20 100644
@@ -38,4 +38,4 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
            file://0001-check-for-sys-pidfd.h.patch \
            "
 
-SRC_URI[sha256sum] = "6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64"
+SRC_URI[sha256sum] = "60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f"
meta/recipes-core/util-linux/util-linux_2.38.1.bb renamed from meta/recipes-core/util-linux/util-linux_2.38.bb +0 -0
similarity index 100%
rename from meta/recipes-core/util-linux/util-linux_2.38.bb
rename to meta/recipes-core/util-linux/util-linux_2.38.1.bb
Signature · 1 line
2.37.1