Gentoo Archives: gentoo-alt

From: Benda Xu <heroxbd@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] rap prefix and old kernel (<3.10)
Date: Thu, 30 Nov 2017 02:28:46
Message-Id: 87374wsdnr.fsf@proton.d.airelinux.org
In Reply to: [gentoo-alt] rap prefix and old kernel (<3.10) by Francois Bissey
1 Hi Francois,
2
3 Francois Bissey <francois.bissey@×××××××××××××.nz> writes:
4
5 > The OS is SuSE linux Enterprise Server 11 SP1 and it has kernel
6 > 2.6.32. SP3 and SP4 have 3.0 and would also be affected I believe.
7 > 2.6.32 is also the kernel of redhat/centos 6 which is still in wide
8 > use.
9 >
10 > So rap tried to install glibc 2.25 which was still the highest
11 > version available at the time. Compile went apparently fine until
12 > the install stage. When glibc told me politely but firmly:
13 > FATAL KERNEL TOO OLD
14 > And looking back at the log, it was initially configured to use
15 > 2.6.32 as the oldest kernel but the configure script changed that
16 > to 3.10 (If I remember correctly) later during configuration.
17 >
18 > After masking 2.25 I did try 2.24, the message was not as clear, there was
19 > a “FATAL” but I don’t think my kernel got insulted that time but it was
20 > the same place. And configure again rewrote the required minimal kernel
21 > version supported.
22 >
23 > Masking 2.24 I got down to 2.23 which in the end worked (after some massaging
24 > more about that later).
25 >
26 > So message #1 if you have an older kernel (<3.10) the latest glibc
27 > available to you is 2.23. That probably should be in the wiki.
28
29 Thanks for your tests.
30
31 From 2.24, glibc requires linux kernel to be at least 3.2.0 for all architectures
32 except x86 and amd64. Discussion is archived at,
33
34 https://sourceware.org/ml/libc-alpha/2016-02/msg00002.html
35
36 The commit is,
37
38 https://sourceware.org/git/?p=glibc.git;a=commit;h=5b4ecd3f95695ef593e44
39
40 So indeed. If a new profile like
41 prefix/linux-standalone/ppc64/before_3.2.0 is added, it should mask
42 >=sys-libs/glibc-2.25.
43
44 Benda