From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Date: Mon, 19 Feb 2018 23:46:03 +0100 Message-ID: <20180219234603.69a821a7@scratchpost.org> References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <20180219202838.5c5358ce@scratchpost.org> <87606ssmi3.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enuCM-0007Qx-Cw for guix-devel@gnu.org; Mon, 19 Feb 2018 17:46:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enuCH-0007Ud-CO for guix-devel@gnu.org; Mon, 19 Feb 2018 17:46:14 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:48750) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enuCH-0007UM-4w for guix-devel@gnu.org; Mon, 19 Feb 2018 17:46:09 -0500 In-Reply-To: <87606ssmi3.fsf@elephly.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org, Ricardo Wurmus , 30537@debbugs.gnu.org Hi Ricardo, > Does this work even though the official minimum kernel version for glibc > 2.26 is 3.2.0? I think so, BUT the patchset looks pretty similar to what would happen if you specified the configure flag except for one spot. So maybe Nix found out some ill effects. The most worrying part in glibc is #if __LINUX_KERNEL_VERSION < 0x040300 # undef __ASSUME_ACCEPT4_SYSCALL # undef __ASSUME_SENDMSG_SYSCALL # undef __ASSUME_RECVMSG_SYSCALL # undef __ASSUME_CONNECT_SYSCALL # undef __ASSUME_RECVFROM_SYSCALL # undef __ASSUME_SENDTO_SYSCALL #endif So that would have to be watched out for. __ASSUME_CONNECT_SYSCALL is some scary stuff. Getting it wrong could break= all networking in the system. > The Red Hat kernels are a bit special in that they are not just old > kernels, but heavily patched to work with newer software. The Nix > people wrote that they have confirmed that 2.6.32 works up to > glibc-2.26-131. Oh, I didn't know that. If it's tested that way, let's use it that way for the time being. > If there was a way to test for kernel features instead of looking at the > kernel version I=E2=80=99d do that instead of looking for a way to relax = the > lower kernel version bound. Yeah...