On Tue, Apr 18, 2023 at 10:47 AM Daniel P. Berrangé <berra...@redhat.com> wrote:
> On Fri, Apr 07, 2023 at 11:25:14AM +0200, David Turner wrote: > > I meant glibc-2.17, I am using a sysroot to ensure the generated binaries > > run on older Linux distributions. > > I think that would be considered an unsupported buld configuration > from QEMU's POV. Our platform policy is declared here: > > https://www.qemu.org/docs/master/about/build-platforms.html > > and from this policy we decide the minimum versions of libraries > we intend to build against. > > Our two oldest build targets are Debian 10 / RHEL 8, both of > which ship with GLibC 2.28. > > IOW, trying to build with a sysroot contanining ancient glibc > 2.17 is well outside what QEMU intends to support. 2.17 is > from circa 2012. > > Thank you for the clarification. My use of 2.17 is purely accidental at that point (just reusing this Android prebuilt sysroot <https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.17-4.8/> which is quite dated). I will try with a Debian 10 based sysroot first and will let you know. Maybe these patches are not needed after all. > > With regards, > Daniel > -- > |: https://berrange.com -o- > https://www.flickr.com/photos/dberrange :| > |: https://libvirt.org -o- > https://fstop138.berrange.com :| > |: https://entangle-photo.org -o- > https://www.instagram.com/dberrange :| > >