diff options
author | Kai Kang <kai.kang@windriver.com> | 2021-02-05 10:29:29 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-02-05 18:02:07 -0800 |
commit | 5f883adda39ad3d2ece13aadee784ccf7c800ac3 (patch) | |
tree | 4bd05612070138e6fb389f15ded248eeb8f88a44 | |
parent | 04a1194c78563524659f27941304e564956792b1 (diff) | |
download | meta-clang-5f883adda39ad3d2ece13aadee784ccf7c800ac3.tar.gz |
layer.conf: remove bcc and bpftrace from NON_MULTILIB_RECIPES
Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc'
rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather
than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal.
Then the runtime dependency 64-bit package python3-core is installed
accordingly. It causes 32-bit python modules which contains .so library
do not work any more. For example, it fails to run command 'dnf':
| ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32
Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are
not installed to lib32 images and mess images up.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
-rw-r--r-- | conf/layer.conf | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 5352adf..423db9f 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -33,5 +33,3 @@ LLVMVERSION = "11.1.0" | |||
33 | 33 | ||
34 | require conf/nonclangable.conf | 34 | require conf/nonclangable.conf |
35 | require conf/nonscanable.conf | 35 | require conf/nonscanable.conf |
36 | |||
37 | NON_MULTILIB_RECIPES_append = " bcc bpftrace" | ||