kernel bpf test_progs - vm wrong libc version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to run vmtest.sh from the bpf-next linux
tools/testing/selftests/bpf on Arch Linux raises this error:

./test_progs
./test_progs: /usr/lib/libc.so.6: version `GLIBC_2.33' not found
(required by ./test_progs)

VM:
https://libbpf-vmtest.s3-us-west-1.amazonaws.com/x86_64/libbpf-vmtest-rootfs-2020.09.27.tar.zst

[root@(none) /]# strings /usr/lib/libc.so.6 | grep '^GLIBC_2.' | tail
GLIBC_2.30
GLIBC_2.5
GLIBC_2.9
GLIBC_2.7
GLIBC_2.6
GLIBC_2.18
GLIBC_2.11
GLIBC_2.16
GLIBC_2.13
GLIBC_2.2.6

It would be nice to have
https://github.com/libbpf/libbpf/blob/master/travis-ci/vmtest/configs/INDEX
updated to refer to a new image with GLIBC_2.33.

Host settings:

$ strings /usr/lib/libc.so.6 | grep GLIBC_2.33
GLIBC_2.33
GLIBC_2.33

$ uname -a
Linux hb 5.12.9-arch1-1 #1 SMP PREEMPT Thu, 03 Jun 2021 11:36:13 +0000
x86_64 GNU/Linux

$ gcc --version
gcc (GCC) 11.1.0

$ clang --version
clang version 13.0.0 (/home/uzu/.cache/yay/llvm-git/llvm-project
ad381e39a52604ba07e1e027e7bdec1c287d9089)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

P.S.: This issue was started in
https://github.com/libbpf/libbpf/issues/321 and brought to here.

Thank you.

Regards,

Geyslan G. Bem



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux