apitrace: Exclude from builds with glibc 2.34+
PATCH 1/1 apitrace: Exclude from builds with glibc 2.34+
It needs some work see [1]
[1] https://github.com/apitrace/apitrace/issues/756
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 - meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -1
@@ -227,7 +227,6 @@ RDEPENDS_packagegroup-meta-oe-dbs-python2 ="\ RDEPENDS_packagegroup-meta-oe-devtools ="\ abseil-cpp \ - apitrace \ breakpad \ bootchart \ android-tools-conf \
meta-oe/recipes-devtools/apitrace/apitrace_10.0.bb +3 -0
@@ -30,3 +30,6 @@ EXTRA_OECMAKE += "\ " SECURITY_CFLAGS_toolchain-clang = "" + +# see https://github.com/apitrace/apitrace/issues/756 +PNBLACKLIST[apitrace] ?= "Needs porting to glibc 2.34+"
--
2.32.0
PATCH 1/1 libhugetlbfs: Disable build with glibc 2.34+
It uses __morecore internal function from glibc which has been removed in 2.34+ and replacing it is not so simple and upstream needs to fix it see [1]
[1] https://github.com/libhugetlbfs/libhugetlbfs/issues/52
Signed-off-by Khem Raj <[email protected]>
--- meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 3 +++ meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb | 1 - meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-)
meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +3 -0
@@ -74,3 +74,6 @@ INSANE_SKIP_${PN} = "dev-so" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +# see https://github.com/libhugetlbfs/libhugetlbfs/issues/52 +PNBLACKLIST[libhugetlbfs] ?= "Needs porting to glibc 2.34+"
meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb +0 -1
@@ -68,7 +68,6 @@ RDEPENDS_packagegroup-meta-oe-benchmarks = "\ iperf2 \ iperf3 \ libc-bench \ - libhugetlbfs \ linpack \ lmbench \ mbw \
meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb +1 -2
@@ -18,7 +18,7 @@ SRC_URI += "file://run-ptest \ # we will append other kernel selftest in the future # bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d # if you have older kernel than that you need to remove it from PACKAGECONFIG -PACKAGECONFIG ??= "firmware vm" +PACKAGECONFIG ??= "firmware" PACKAGECONFIG_remove_x86 = "bpf" PACKAGECONFIG_remove_arm = "bpf vm" # host ptrace.h is used to compile BPF target but mips ptrace.h is needed
@@ -137,4 +137,3 @@ COMPATIBLE_HOST_libc-musl = 'null' # It has native clang/llvm dependency, poky distro is reluctant to include them as deps # this helps with world builds on AB EXCLUDE_FROM_WORLD = "1" -
--
2.32.0