summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-07-31 18:22:04 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc5f7cfb8db54cfa4257797db5bd87828dea43296 (patch)
tree66757d5eb3253290f3e07d34ecce91789c71fde0 /meta-oe
parentba94b0fefb87b8b695937ba6de28f26bbbf1b395 (diff)
downloadmeta-openembedded-c5f7cfb8db54cfa4257797db5bd87828dea43296.tar.gz
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb3
-rw-r--r--meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb1
-rw-r--r--meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb3
3 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
index aa9eb02b3..124b142d8 100644
--- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
+++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb
@@ -74,3 +74,6 @@ INSANE_SKIP_${PN} = "dev-so"
74 74
75INHIBIT_PACKAGE_STRIP = "1" 75INHIBIT_PACKAGE_STRIP = "1"
76INHIBIT_PACKAGE_DEBUG_SPLIT = "1" 76INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
77
78# see https://github.com/libhugetlbfs/libhugetlbfs/issues/52
79PNBLACKLIST[libhugetlbfs] ?= "Needs porting to glibc 2.34+"
diff --git a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
index a95fe8b04..84f89f4e7 100644
--- a/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
+++ b/meta-oe/recipes-core/packagegroups/packagegroup-meta-oe.bb
@@ -68,7 +68,6 @@ RDEPENDS_packagegroup-meta-oe-benchmarks = "\
68 iperf2 \ 68 iperf2 \
69 iperf3 \ 69 iperf3 \
70 libc-bench \ 70 libc-bench \
71 libhugetlbfs \
72 linpack \ 71 linpack \
73 lmbench \ 72 lmbench \
74 mbw \ 73 mbw \
diff --git a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
index 4caf217c2..11cf935c7 100644
--- a/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
+++ b/meta-oe/recipes-kernel/kernel-selftest/kernel-selftest.bb
@@ -18,7 +18,7 @@ SRC_URI += "file://run-ptest \
18# we will append other kernel selftest in the future 18# we will append other kernel selftest in the future
19# bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d 19# bpf was added in 4.10 with: https://github.com/torvalds/linux/commit/5aa5bd14c5f8660c64ceedf14a549781be47e53d
20# if you have older kernel than that you need to remove it from PACKAGECONFIG 20# if you have older kernel than that you need to remove it from PACKAGECONFIG
21PACKAGECONFIG ??= "firmware vm" 21PACKAGECONFIG ??= "firmware"
22PACKAGECONFIG_remove_x86 = "bpf" 22PACKAGECONFIG_remove_x86 = "bpf"
23PACKAGECONFIG_remove_arm = "bpf vm" 23PACKAGECONFIG_remove_arm = "bpf vm"
24# host ptrace.h is used to compile BPF target but mips ptrace.h is needed 24# host ptrace.h is used to compile BPF target but mips ptrace.h is needed
@@ -137,4 +137,3 @@ COMPATIBLE_HOST_libc-musl = 'null'
137# It has native clang/llvm dependency, poky distro is reluctant to include them as deps 137# It has native clang/llvm dependency, poky distro is reluctant to include them as deps
138# this helps with world builds on AB 138# this helps with world builds on AB
139EXCLUDE_FROM_WORLD = "1" 139EXCLUDE_FROM_WORLD = "1"
140