All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Geyslan G. Bem" <geyslan@gmail.com>
To: bpf@vger.kernel.org
Subject: kernel bpf test_progs - vm wrong libc version
Date: Fri, 11 Jun 2021 17:18:49 -0300	[thread overview]
Message-ID: <CAGG-pUTpppu-voYuT81LiTMAUA5oAWwnAwYQVAhyPwj3CwnZPA@mail.gmail.com> (raw)

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

             reply	other threads:[~2021-06-11 20:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 20:18 Geyslan G. Bem [this message]
2021-06-15  6:27 ` kernel bpf test_progs - vm wrong libc version Andrii Nakryiko
2021-06-15  8:06   ` Jussi Maki
2021-06-15  9:57     ` KP Singh
2021-06-15 12:32       ` Geyslan G. Bem
     [not found]         ` <CACYkzJ5odOMQzcbfnvJmW52uxs50FY1=kSbADvD4UCF9fh3X5w@mail.gmail.com>
     [not found]           ` <CAGG-pURQ4hxQe8w3zdW4y1hBRn1sGikB_5oodid_NHaw_U=9iw@mail.gmail.com>
2021-06-15 15:58             ` KP Singh
2021-06-15 16:40               ` Geyslan G. Bem
2021-06-15 19:00                 ` Andrii Nakryiko
2021-06-18 14:34                   ` KP Singh
2021-06-15 11:54   ` Geyslan G. Bem

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAGG-pUTpppu-voYuT81LiTMAUA5oAWwnAwYQVAhyPwj3CwnZPA@mail.gmail.com \
    --to=geyslan@gmail.com \
    --cc=bpf@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.