All of lore.kernel.org
 help / color / mirror / Atom feed
From: KP Singh <kpsingh@kernel.org>
To: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: "Geyslan G. Bem" <geyslan@gmail.com>, bpf <bpf@vger.kernel.org>
Subject: Re: kernel bpf test_progs - vm wrong libc version
Date: Fri, 18 Jun 2021 16:34:44 +0200	[thread overview]
Message-ID: <CACYkzJ57Eo_A_F-kXo_EEcod6odhv6ACfYpiAqr2AXnr-n8hEA@mail.gmail.com> (raw)
In-Reply-To: <CAEf4BzbttnVxHccPjeFednpZ24Q4UHzTE96xbpMrFBBrZZXFDg@mail.gmail.com>

On Tue, Jun 15, 2021 at 9:00 PM Andrii Nakryiko
<andrii.nakryiko@gmail.com> wrote:
>
> On Tue, Jun 15, 2021 at 9:42 AM Geyslan G. Bem <geyslan@gmail.com> wrote:
> >
> > On Tue, 15 Jun 2021 at 12:58, KP Singh <kpsingh@kernel.org> wrote:
> > >
> > > On Tue, Jun 15, 2021 at 4:57 PM Geyslan G. Bem <geyslan@gmail.com> wrote:
> > > >
> > > > On Tue, 15 Jun 2021 at 11:33, KP Singh <kpsingh@kernel.org> wrote:
> > > > >
> > > > > On Tue, Jun 15, 2021 at 2:34 PM Geyslan G. Bem <geyslan@gmail.com> wrote:

[...]

> > >
> > > [...]
> > >
> > > It seems like arch does not have them:
> > >
> > > https://bbs.archlinux.org/viewtopic.php?id=245303
> >
> > Indeed.
> >
> > >
> > > and they don't plan to either. So you can either build the library locally
> > > or possibly move to a distribution that provides static linking.
> >
> > I think this would keep things in different host environments
> > complicated. I'm more likely to create a proper VM to handle kernel
> > source and bpf tests, since bpf also demands llvm13 (cutting edge)
> > which is conflicting with other projects.
> >
>
> KP, how do you feel about teaching vmtest.sh to (optionally, if
> requested or if we detect that environment clang is too old) checkout
> clang and build it before building selftests? So many people would be
> grateful for this, I imagine! ;)

I agree, I also want to do it for pahole. It will save a lot of time when a
build error could simply be solved by updating clang and pahole.

>
> > >
> > > [incase we decide to use the static linking for vmtest.sh]
> >
> > It's still a good decision for environments with readily available
> > static binaries.
>
> yeah, it's a good option to have at the very least

Cool, will send a patch for this.

- KP

>
> >
> > Thanks a million for your attention.
> >
> > --
> > Regards,
> >
> > Geyslan G. Bem

  reply	other threads:[~2021-06-18 14:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11 20:18 kernel bpf test_progs - vm wrong libc version Geyslan G. Bem
2021-06-15  6:27 ` 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 [this message]
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=CACYkzJ57Eo_A_F-kXo_EEcod6odhv6ACfYpiAqr2AXnr-n8hEA@mail.gmail.com \
    --to=kpsingh@kernel.org \
    --cc=andrii.nakryiko@gmail.com \
    --cc=bpf@vger.kernel.org \
    --cc=geyslan@gmail.com \
    /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.