Re: kernel bpf test_progs - vm wrong libc version

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

 



On Tue, Jun 15, 2021 at 8:28 AM Andrii Nakryiko
<andrii.nakryiko@xxxxxxxxx> wrote:
> It seems kind of silly to update our perfectly working image just
> because a new version of glibc was released. Is there any way for you
> to down-grade glibc or build it in some compatibility mode, etc?
> selftests don't really rely on any bleeding-edge features of glibc.

I've also hit this issue as Ubuntu 21.04 ships with glibc 2.33. I
ended up solving it the hard way by rebuilding the image (I needed few
other tools at the time anyway). Definitely agree it's a bit silly if
we'd need to bump the image every time there's a new glibc version out
there. I did try and see if there's a way to build against newer
glibc, but target older versions and I didn't find a way to do that.
Would statically linking test-progs be an option to avoid this kind of
breakage in the future?



[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