This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Requiring Linux 3.2 for glibc 2.24
- From: Arnd Bergmann <arnd at arndb dot de>
- To: libc-alpha at sourceware dot org
- Cc: Florian Weimer <fweimer at redhat dot com>, Dmitry Mishin <dim at virtuozzo dot com>, Pavel Emelianov <xemul at virtuozzo dot com>, Konstantin Khorenko <khorenko at virtuozzo dot com>
- Date: Thu, 11 Feb 2016 11:23:59 +0100
- Subject: Re: Requiring Linux 3.2 for glibc 2.24
- Authentication-results: sourceware.org; auth=none
- References: <D2E226D6 dot B2B03%dim at virtuozzo dot com> <56BC50DF dot 9020500 at redhat dot com>
On Thursday 11 February 2016 10:14:07 Florian Weimer wrote:
> On 02/11/2016 09:54 AM, Dmitry Mishin wrote:
> >> On 02/09/2016 03:54 PM, Florian Weimer wrote:
> But if this is correct, not much will change from an OpenVZ point of
> view if we gradually increase the minimum kernel version required by
> glibc upstream. True, future Fedora versions will require a newer
> kernel version. But the Fedora glibc will have the same kernel
> requirements as other distributions which already pass
> --enable-kernel=3.2.0 or --enable-kernel=3.10.0 at glibc configure time,
> so that will not cause any additional problems to you over what you have
> to deal with today.
For references, current Fedora Rawhide builds glibc with --enable-kernel=2.6.32:
https://apps.fedoraproject.org/packages/glibc/sources/
# This is to ensure that __frame_state_for is exported by glibc
# will be compatible with egcs 1.x.y
BuildRequires: gcc >= 3.2
%define enablekernel 2.6.32
Conflicts: kernel < %{enablekernel}
%define target %{_target_cpu}-redhat-linux
Debian uses 3.2 on all architectures except x86-32 and x86-64, which use
2.6.32, from https://packages.debian.org/experimental/libc-bin:
./sysdeps/linux.mk:MIN_KERNEL_SUPPORTED := 3.2
./sysdeps/amd64.mk:MIN_KERNEL_SUPPORTED := 2.6.32
./sysdeps/i386.mk:MIN_KERNEL_SUPPORTED := 2.6.32
./debian/sysdeps/linux.mk:with_headers = --with-headers=$(shell pwd)/debian/include --enable-kernel=$(call xx,MIN_KERNEL_SUPPORTED)
Ubuntu seems to have an older version of same package and uses 2.6.32
for all architectures, from https://launchpad.net/ubuntu/+source/glibc/2.21-0ubuntu5
./sysdeps/linux.mk:MIN_KERNEL_SUPPORTED := 2.6.32
OpenSUSE Tumbleweed uses 3.0, see http://software.opensuse.org/package/glibc
./glibc.spec:%define enablekernel 3.0
./glibc.spec: --enable-kernel=%{enablekernel} \
Arch Linux uses 2.6.32, see
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/glibc
--enable-kernel=2.6.32 \
Gentoo doesn't seem to pass any minimum kernel version:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-2.22-r1.ebuild
Arnd