From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 13:46:36 2018 Received: (at submit) by debbugs.gnu.org; 19 Feb 2018 18:46:36 +0000 Received: from localhost ([127.0.0.1]:51622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enqSS-0007C5-0F for submit@debbugs.gnu.org; Mon, 19 Feb 2018 13:46:36 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enqSP-0007Bs-QK for submit@debbugs.gnu.org; Mon, 19 Feb 2018 13:46:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enqSJ-0002V9-Ld for submit@debbugs.gnu.org; Mon, 19 Feb 2018 13:46:28 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57135) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enqSJ-0002Uw-Hl for submit@debbugs.gnu.org; Mon, 19 Feb 2018 13:46:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enqSI-0005Rx-1Y for bug-guix@gnu.org; Mon, 19 Feb 2018 13:46:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enqSE-0002Sn-RR for bug-guix@gnu.org; Mon, 19 Feb 2018 13:46:26 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:41004) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enqSE-0002Rw-Dj; Mon, 19 Feb 2018 13:46:22 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 4CC2278C122; Mon, 19 Feb 2018 19:46:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:user-agent:received:received:received :received; s=mdc; t=1519065974; x=1520880375; bh=fZgYBdLH9DQvPQU CxyFd592/w+l4flEJ6hDya8D6k74=; b=btcVs+zOdpLpEDB/3sbmpS7EbTUGeCF xTCzFMHpb2WbCX16NRhKmH+aIiSvvvHe8QqNMpJJGMEI/ux+GI3GQbvEOqQN20NR ZiTbwQmhD0rSi8AIkkMFPUg9SpJiwVjg986sOZ+KOU1I/TGK4OkApB7saMxHsafN pW233XTueBx4= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R7sQSw9R5vGd; Mon, 19 Feb 2018 19:46:14 +0100 (CET) Received: from HTCAONE.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Mon, 19 Feb 2018 19:46:13 +0100 (CET) Received: from SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) by HTCAONE.mdc-berlin.net (141.80.180.120) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 19 Feb 2018 19:46:13 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) with Microsoft SMTP Server id 14.3.361.1; Mon, 19 Feb 2018 19:46:12 +0100 User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus To: Subject: glibc 2.26 refuses to run on CentOS 6.8 X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 19 Feb 2018 19:46:02 +0100 Message-ID: <87eflgstqt.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23674.002 X-TM-AS-Result: No--8.830000-0.000000-31 X-TM-AS-MatchedID: 147015-700727-702801-106580-705927-703938-703523-121539-7 00648-139705-105040-106230-148035-148036-10018-23116-30060-41000-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit Cc: guix-devel@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Hi Guix, I have a bad day. After the upgrade to glibc 2.26 none of the Guix-installed software runs on the HPC cluster running CentOS 6.8. The glibc 2.26 expects a minimum kernel version of 3.x on x86_64, but CentOS 6.8 only comes with a heavily patched 2.6.32. The NixOS developers patch glibc to make sure that all software still runs on Linux 2.6.32: https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/libraries/glibc/allow-kernel-2.6.32.patch Can we please also apply this? Without this Guix on HPC is pretty much dead at the MDC. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename="allow-kernel-2.6.32.patch" diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure index cace758c01..38fe7fe0b0 100644 --- a/sysdeps/unix/sysv/linux/configure +++ b/sysdeps/unix/sysv/linux/configure @@ -69,7 +69,7 @@ fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel header at least $minimum_kernel" >&5 $as_echo_n "checking for kernel header at least $minimum_kernel... " >&6; } decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; -abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; +abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac index 13abda0a51..6abc12eaed 100644 --- a/sysdeps/unix/sysv/linux/configure.ac +++ b/sysdeps/unix/sysv/linux/configure.ac @@ -50,7 +50,7 @@ fi AC_MSG_CHECKING(for kernel header at least $minimum_kernel) changequote(,)dnl decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; -abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; +abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; changequote([,])dnl AC_TRY_COMPILE([#include #if LINUX_VERSION_CODE < $decnum diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h index 823cd8224d..482caaeeec 100644 --- a/sysdeps/unix/sysv/linux/dl-osinfo.h +++ b/sysdeps/unix/sysv/linux/dl-osinfo.h @@ -39,7 +39,7 @@ GLRO(dl_osversion) = version; \ \ /* Now we can test with the required version. */ \ - if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION) \ + if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION && version != 0x020620) \ /* Not sufficent. */ \ FATAL ("FATAL: kernel too old\n"); \ } \ --=-=-= Content-Type: text/plain -- Ricardo --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 14:41:42 2018 Received: (at 30537) by debbugs.gnu.org; 19 Feb 2018 19:41:42 +0000 Received: from localhost ([127.0.0.1]:51661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enrJc-00008o-N5 for submit@debbugs.gnu.org; Mon, 19 Feb 2018 14:41:42 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:58336) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enrJY-00008a-3f for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 14:41:31 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id C77CF1003FC0; Mon, 19 Feb 2018 20:41:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:mime-version:date:date:in-reply-to :message-id:subject:subject:from:from:user-agent:references :received:received:received:received; s=mdc; t=1519069281; x= 1520883682; bh=j1rK+13FgegejB8VgWCcTf4WyHRnqIJJgh98SB0e+jM=; b=W FBEqlrfQ9alGhmoksvCExsNYt3zGqqSzJB4MMZLsiy4vW1pgKXbMT/fU1K3SIZR9 C3wfWP8aH/C5nsbVfqnDCD984vLJoX+GeFQmgXqVraf3wiWIUOvna4h5HycSaMwr Py20SsSjaGFZcdxKEHixVNbUzRZPdTjw3feJupvgQ8= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qo2aJRdAFZqu; Mon, 19 Feb 2018 20:41:21 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Mon, 19 Feb 2018 20:41:21 +0100 (CET) Received: from SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) by HTCATWO.mdc-berlin.net (141.80.180.190) with Microsoft SMTP Server (TLS) id 14.3.361.1; Mon, 19 Feb 2018 20:41:20 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) with Microsoft SMTP Server id 14.3.361.1; Mon, 19 Feb 2018 20:41:18 +0100 References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus To: Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <878tbosr7h.fsf@mdc-berlin.de> In-Reply-To: <87a7w4ssmx.fsf@mdc-berlin.de> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 19 Feb 2018 20:41:07 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23674.002 X-TM-AS-Result: No--4.992700-0.000000-31 X-TM-AS-MatchedID: 150567-147015-703731-139010-106580-700648-139705-105040-7 03523-106230-701202-105700-705388-704425-704852-704311-705178-702358-700840 -148035-148133-23116-30060-42003-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --=-=-= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> Ricardo Wurmus writes: >> >>> The NixOS developers patch glibc to make sure that all software still >>> runs on Linux 2.6.32: >>> >>> https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/development/libraries/glibc/allow-kernel-2.6.32.patch >>> >>> Can we please also apply this? >> >> We could also apply this conditionally to x86_64 only, because that’s >> probably the only architecture that’s used for HPC systems running >> CentOS. > > Here’s a patch to graft the glibc to apply the patch to allow the 2.6.32 > kernel. I’m going to apply this at work now. That patch had a couple of problems. Here’s a new version. The main differences are: * fix an undefined variable (“base” –> “glibc”) * use package/inherit for glibc-final and glibc-final-with-bootstrap-bash; don’t override the “replacement” field with “#f” -- Ricardo --=-=-= Content-Type: text/x-patch; charset="utf-8" Content-Disposition: inline; filename="0001-WIP-graft-glibc-to-allow-execution-on-Linux-2.6.32.patch" Content-Transfer-Encoding: 8bit >From 3cf46dce4129cb52574de52b4221f6c4dde566fe Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 19 Feb 2018 20:04:06 +0100 Subject: [PATCH] WIP graft glibc to allow execution on Linux 2.6.32. * gnu/packages/patches/glibc-allow-kernel-2.6.32.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/base.scm (glibc/linux)[replacement]: New field. (glibc-2.26-patched): New variable. (glibc-2.25, glibc-2.24, glibc-2.23, glibc-2.22): Disable replacement. * gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash, glibc-final): Use package/inherit to enable grafted glibc. --- gnu/local.mk | 3 +- gnu/packages/base.scm | 15 +++++++++ gnu/packages/commencement.scm | 5 +-- .../patches/glibc-allow-kernel-2.6.32.patch | 39 ++++++++++++++++++++++ 4 files changed, 59 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/glibc-allow-kernel-2.6.32.patch diff --git a/gnu/local.mk b/gnu/local.mk index f1834e368..c7bd4c6a9 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -7,7 +7,7 @@ # Copyright © 2016, 2017 Kei Kebreau # Copyright © 2016, 2017 Rene Saavedra # Copyright © 2016 Adonay "adfeno" Felipe Nogueira -# Copyright © 2016, 2017 Ricardo Wurmus +# Copyright © 2016, 2017, 2018 Ricardo Wurmus # Copyright © 2016 Ben Woodcroft # Copyright © 2016, 2017, 2018 Alex Vong # Copyright © 2016, 2017 Efraim Flashner @@ -705,6 +705,7 @@ dist_patch_DATA = \ %D%/packages/patches/glibc-CVE-2017-1000366-pt1.patch \ %D%/packages/patches/glibc-CVE-2017-1000366-pt2.patch \ %D%/packages/patches/glibc-CVE-2017-1000366-pt3.patch \ + %D%/packages/patches/glibc-allow-kernel-2.6.32.patch \ %D%/packages/patches/glibc-bootstrap-system.patch \ %D%/packages/patches/glibc-ldd-x86_64.patch \ %D%/packages/patches/glibc-locales.patch \ diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index b2c1d232f..111bbbcec 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017 Marius Bakke ;;; Copyright © 2017 Eric Bavier +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -537,6 +538,7 @@ store.") ;; Note: Always use a dot after the minor version since various places rely ;; on "version-major+minor" to determine where locales are found. (version "2.26.105-g0890d5379c") + (replacement glibc-2.26-patched) (source (origin (method url-fetch) (uri (string-append "https://alpha.gnu.org/gnu/guix/mirror/" @@ -839,10 +841,20 @@ GLIBC/HURD for a Hurd host" ;; Below are old libc versions, which we use mostly to build locale data in ;; the old format (which the new libc cannot cope with.) +(define glibc-2.26-patched + (package + (inherit glibc) + (replacement #f) + (source (origin + (inherit (package-source glibc)) + (patches (cons (search-patch "glibc-allow-kernel-2.6.32.patch") + (origin-patches (package-source glibc)))))))) + (define-public glibc-2.25 (package (inherit glibc) (version "2.25") + (replacement #f) (source (origin (inherit (package-source glibc)) (uri (string-append "mirror://gnu/glibc/glibc-" @@ -862,6 +874,7 @@ GLIBC/HURD for a Hurd host" (package (inherit glibc) (version "2.24") + (replacement #f) (source (origin (inherit (package-source glibc)) (uri (string-append "mirror://gnu/glibc/glibc-" @@ -882,6 +895,7 @@ GLIBC/HURD for a Hurd host" (package (inherit glibc) (version "2.23") + (replacement #f) (source (origin (inherit (package-source glibc)) (uri (string-append "mirror://gnu/glibc/glibc-" @@ -905,6 +919,7 @@ GLIBC/HURD for a Hurd host" (package (inherit glibc) (version "2.22") + (replacement #f) (source (origin (inherit (package-source glibc)) (uri (string-append "mirror://gnu/glibc/glibc-" diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 7286e954c..db43691fd 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2012 Nikita Karetnikov ;;; Copyright © 2014, 2015, 2017 Mark H Weaver ;;; Copyright © 2017, 2018 Efraim Flashner +;;; Copyright © 2018 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -486,7 +487,7 @@ the bootstrap environment." ;; built just below; the only difference is that this one uses the ;; bootstrap Bash. (package-with-bootstrap-guile - (package (inherit glibc) + (package/inherit glibc (name "glibc-intermediate") (arguments `(#:guile ,%bootstrap-guile @@ -664,7 +665,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" (define glibc-final ;; The final glibc, which embeds the statically-linked Bash built above. - (package (inherit glibc-final-with-bootstrap-bash) + (package/inherit glibc-final-with-bootstrap-bash (name "glibc") (inputs `(("static-bash" ,static-bash-for-glibc) ,@(alist-delete diff --git a/gnu/packages/patches/glibc-allow-kernel-2.6.32.patch b/gnu/packages/patches/glibc-allow-kernel-2.6.32.patch new file mode 100644 index 000000000..ce18b874c --- /dev/null +++ b/gnu/packages/patches/glibc-allow-kernel-2.6.32.patch @@ -0,0 +1,39 @@ +diff --git a/sysdeps/unix/sysv/linux/configure b/sysdeps/unix/sysv/linux/configure +index cace758c01..38fe7fe0b0 100644 +--- a/sysdeps/unix/sysv/linux/configure ++++ b/sysdeps/unix/sysv/linux/configure +@@ -69,7 +69,7 @@ fi + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kernel header at least $minimum_kernel" >&5 + $as_echo_n "checking for kernel header at least $minimum_kernel... " >&6; } + decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; +-abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; ++abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + #include +diff --git a/sysdeps/unix/sysv/linux/configure.ac b/sysdeps/unix/sysv/linux/configure.ac +index 13abda0a51..6abc12eaed 100644 +--- a/sysdeps/unix/sysv/linux/configure.ac ++++ b/sysdeps/unix/sysv/linux/configure.ac +@@ -50,7 +50,7 @@ fi + AC_MSG_CHECKING(for kernel header at least $minimum_kernel) + changequote(,)dnl + decnum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/(\1 * 65536 + \2 * 256 + \3)/'`; +-abinum=`echo "$minimum_kernel.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; ++abinum=`echo "2.6.32.0.0.0" | sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1,\2,\3/'`; + changequote([,])dnl + AC_TRY_COMPILE([#include + #if LINUX_VERSION_CODE < $decnum +diff --git a/sysdeps/unix/sysv/linux/dl-osinfo.h b/sysdeps/unix/sysv/linux/dl-osinfo.h +index 823cd8224d..482caaeeec 100644 +--- a/sysdeps/unix/sysv/linux/dl-osinfo.h ++++ b/sysdeps/unix/sysv/linux/dl-osinfo.h +@@ -39,7 +39,7 @@ + GLRO(dl_osversion) = version; \ + \ + /* Now we can test with the required version. */ \ +- if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION) \ ++ if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION && version != 0x020620) \ + /* Not sufficent. */ \ + FATAL ("FATAL: kernel too old\n"); \ + } \ -- 2.16.2 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 15:28:44 2018 Received: (at 30537) by debbugs.gnu.org; 19 Feb 2018 20:28:44 +0000 Received: from localhost ([127.0.0.1]:51690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ens3I-0001Pz-89 for submit@debbugs.gnu.org; Mon, 19 Feb 2018 15:28:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:56199) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ens3G-0001Po-UN for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 15:28:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ens3A-0006bB-Sl for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 15:28:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ens32-0006Yh-02; Mon, 19 Feb 2018 15:28:28 -0500 Received: from peder.onsbrabantnet.nl ([88.159.206.46]:59840 helo=dundal.peder.onsbrabantnet.nl) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ens31-00088D-JF; Mon, 19 Feb 2018 15:28:27 -0500 From: Jan Nieuwenhuizen To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Organization: AvatarAcademy.nl References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <878tbosr7h.fsf@mdc-berlin.de> X-Url: http://AvatarAcademy.nl Date: Mon, 19 Feb 2018 21:28:25 +0100 In-Reply-To: <878tbosr7h.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Mon, 19 Feb 2018 20:41:07 +0100") Message-ID: <87tvucg1w6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ricardo Wurmus writes: >> Here=E2=80=99s a patch to graft the glibc to apply the patch to allow th= e 2.6.32 >> kernel. I=E2=80=99m going to apply this at work now. > > That patch had a couple of problems. Here=E2=80=99s a new version. Sad to hear of your troubles, thanks a lot for posting this. We discovered at Verum that a guix pack would not run on CentOS and took another road in the end. Good to know there's still a way to work around this. Thanks, janneke --=20 Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 16:23:31 2018 Received: (at 30537) by debbugs.gnu.org; 19 Feb 2018 21:23:31 +0000 Received: from localhost ([127.0.0.1]:51730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ensuI-0002mf-Ob for submit@debbugs.gnu.org; Mon, 19 Feb 2018 16:23:30 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21071) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ensuH-0002mW-4u for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 16:23:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1519075352; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; l=1509; bh=uNv2TSbpTDqKt1NADQoyBoFtOtIGrLJqfpMwfyq+re8=; b=SWhxlVGVMkBz+9JZIARupLdGImTBLJlnoBW3Q4nHq5HJbSRbuh3p/J/9QdBSBBrc P7hGE+zClF9SV6wHqySnx8168JJUsnwXc2t9z5gdR1fFqO33SDa68MvqvDLe+7+DsmT 2vSDjDl5PzDRnTCcS1yAdT+DqONIIpHwF9LM816U= Received: from localhost (port-92-200-150-193.dynamic.qsc.de [92.200.150.193]) by mx.zohomail.com with SMTPS id 151907535210561.740913968091036; Mon, 19 Feb 2018 13:22:32 -0800 (PST) References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <20180219202838.5c5358ce@scratchpost.org> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus To: Danny Milosavljevic Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 In-reply-to: <20180219202838.5c5358ce@scratchpost.org> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Mon, 19 Feb 2018 22:22:28 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <87606ssmi3.fsf@elephly.net> X-ZohoMailClient: External X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, Ricardo Wurmus , 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Hi Danny, > Can you try just passing --enable-kernel=3D2.6.32 to "configure" of glibc= instead? > > It should set the minimal version without any weird patching. Does this work even though the official minimum kernel version for glibc 2.26 is 3.2.0? > But newer glibc has moved a lot of kernel definitions into glibc, might c= ause a > problem if glibc just assumes it's all there but in fact it's not there a= t > runtime (like the recent Haskell problem etc). 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. There are additional notes on how that was done: # HOWTO: check glibc sources for changes in kernel requirements git log -p glibc-2.25.. sysdeps/unix/sysv/linux/x86_64/kernel-features.= h sysdeps/unix/sysv/linux/kernel-features.h # get kernel sources (update the URL) mkdir tmp && cd tmp curl http://vault.centos.org/6.9/os/Source/SPackages/kernel-2.6.32-696.= el6.src.rpm | rpm2cpio - | cpio -idmv tar xf linux-*.bz2 # check syscall presence, for example less linux-*?/arch/x86/kernel/syscall_table_32.S 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 th= e lower kernel version bound. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 17:46:10 2018 Received: (at 30537) by debbugs.gnu.org; 19 Feb 2018 22:46:11 +0000 Received: from localhost ([127.0.0.1]:51786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enuCI-0006kh-Oe for submit@debbugs.gnu.org; Mon, 19 Feb 2018 17:46:10 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:39064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enuCG-0006kY-MB for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 17:46:09 -0500 Received: from localhost (178.113.229.194.wireless.dyn.drei.com [178.113.229.194]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 4B31533601C7; Mon, 19 Feb 2018 23:46:07 +0100 (CET) Date: Mon, 19 Feb 2018 23:46:03 +0100 From: Danny Milosavljevic To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180219234603.69a821a7@scratchpost.org> In-Reply-To: <87606ssmi3.fsf@elephly.net> References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <20180219202838.5c5358ce@scratchpost.org> <87606ssmi3.fsf@elephly.net> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, Ricardo Wurmus , 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 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... From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 19 20:22:34 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 01:22:34 +0000 Received: from localhost ([127.0.0.1]:51900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enwde-00043j-BX for submit@debbugs.gnu.org; Mon, 19 Feb 2018 20:22:34 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:55113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enwdc-00043a-8Z for 30537@debbugs.gnu.org; Mon, 19 Feb 2018 20:22:32 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 9BE1820FC8; Mon, 19 Feb 2018 20:22:31 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Mon, 19 Feb 2018 20:22:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=tIo4Mh/2Hs6H9eUjONQi5k12VdICopL78ccjs3JV9o0=; b=WX4Nc EylgHy85lI0FkXnEGcwIu513PHWcwAdXzPqEx31HLNfLk2k+tMEhLfAstZ2mQw5G W1Iky1317E3BdKri83WvOK71VhOkx2uITmC0xX8YPqKzyIGC7brRJerXlEYrDXYJ 1SoBqkub8I9pp6TLv0wCdz28BGWkCtkbr31ggY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=tIo4Mh/2Hs6H9eUjONQi5k12VdICo pL78ccjs3JV9o0=; b=g2deFTR0semNFfhw5DIkHtJNnS2PpcYZrMPf5nt9UmkPd DrlK0l80hssD25GJ2cECyMl/I+HsIiI8nT7qp4Z+BiktuT8w6f87sb8QWt5AJP6M +Gd4qqeE1h40XNPMyfO9oCyGDZ58f83gGxjYbp8ZEyEnLMQxenc6nW9M7dQaV2Vi zEuiSKkvKssEUDsDeqDqV4t0jgOUU4JvyWfyiNx24K2VfYrEZcHucHw+WWf/tQbF vT/6oz8Y24Zni3zDkqFa8KRjM0Y5CGGxlkFsjh8g/zp3Q3IcgjRucqhGHIRfMQEx JPZEb1aE/0bhlvyvmEZkXVMSjmxYPUWRCwGwk/aeA== X-ME-Sender: Received: from localhost (c-76-124-202-137.hsd1.pa.comcast.net [76.124.202.137]) by mail.messagingengine.com (Postfix) with ESMTPA id 51C8F244C7; Mon, 19 Feb 2018 20:22:31 -0500 (EST) Date: Mon, 19 Feb 2018 20:22:29 -0500 From: Leo Famulari To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180220012229.GA28522@jasmine.lan> References: <87eflgstqt.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jRHKVT23PllUwdXP" Content-Disposition: inline In-Reply-To: <87eflgstqt.fsf@mdc-berlin.de> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --jRHKVT23PllUwdXP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2018 at 07:46:02PM +0100, Ricardo Wurmus wrote: > The NixOS developers patch glibc to make sure that all software still > runs on Linux 2.6.32: >=20 > https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/developme= nt/libraries/glibc/allow-kernel-2.6.32.patch >=20 > Can we please also apply this? Without this Guix on HPC is pretty much > dead at the MDC. My questions are, how does the glibc team choose the minimum kernel version? What could go wrong if we apply this patch and somebody uses Guix on a pre-3.2.0 kernel? Perhaps they simply chose to not support glibc on any kernel that is not supported upstream; 3.2.x is the oldest supported release series. But, we should have some idea of their reasoning, in my opinion. --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqLeFIACgkQJkb6MLrK fwgZsRAA4XKbDixlu85agTzhMnjIUFwE1XKvFcPGrIo2YPVLi4A9d5dmgpaZ1UDn urruOghvw6k1k+SBGQrmCKbkVcXrdVGCvPaBdhDHTdLGLWx3R+K8KaSgzVsUz3YT lJDcxE4utIil3C0ow/tHHgFhfGpqkdotA8XDKCS9B5mPZaXv0XLekTqb6RQ9hOOX cAnuOV5ZdaOBo0YvlGcYSMzY66fmaCNVHgtGzJM6w7UW4hrJdkvh1fzyF9Piw0k3 j756f5JCbZYd2g2zy/4L7jsKuqW8STmAeMx95b5s34Fwa0flBHdh0NjVo63WKT9c KoUq9Xh/Ab9Nj+I3IyKef+7TpoBxOGMYNd+BB3CnB1U0gfnh2VsSbpu+KS4Eh2wB L7xl70XNCLBNm8ixAmfPicsD0ttrqNM9X2oWZ0F8KyWZXMFlJRFyZblKoj5HFc/0 XdoJecVfuj+lt95BVVldED9zd9JiGdLdgw8NY8ZKxNHbUI8PtXoXaTjObQq9wjK/ M9tYrv2JZdFusH8LAvVO7WhcxyWHoBNLbp05GUIiPs++jsfV1G1e69zhDoPBu0t5 3CM+1v9bDA7SHLPFN43RgBV60pR0ol+/C/ObL6KxlODl+fzsXt4DIeGY9BYaGr96 OkGzcKiA7HvOMlTGUNC9/xdMTa+o0DwpOdour22btLl52CCJjxI= =wNoz -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 04:39:20 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 09:39:20 +0000 Received: from localhost ([127.0.0.1]:52126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo4ON-0007qX-Qt for submit@debbugs.gnu.org; Tue, 20 Feb 2018 04:39:20 -0500 Received: from flashner.co.il ([178.62.234.194]:43020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo4OL-0007qL-T5 for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 04:39:18 -0500 Received: from localhost (46-117-130-5.bb.netvision.net.il [46.117.130.5]) by flashner.co.il (Postfix) with ESMTPSA id C1B7840222; Tue, 20 Feb 2018 09:39:11 +0000 (UTC) Date: Tue, 20 Feb 2018 11:39:10 +0200 From: Efraim Flashner To: Ricardo Wurmus Subject: Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180220093910.GA23825@macbook41> References: <87eflgstqt.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <87eflgstqt.fsf@mdc-berlin.de> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --gKMricLos+KVdGMg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2018 at 07:46:02PM +0100, Ricardo Wurmus wrote: > Hi Guix, >=20 > I have a bad day. After the upgrade to glibc 2.26 none of the > Guix-installed software runs on the HPC cluster running CentOS 6.8. >=20 > The glibc 2.26 expects a minimum kernel version of 3.x on x86_64, but > CentOS 6.8 only comes with a heavily patched 2.6.32. >=20 > The NixOS developers patch glibc to make sure that all software still > runs on Linux 2.6.32: >=20 > https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/developme= nt/libraries/glibc/allow-kernel-2.6.32.patch >=20 > Can we please also apply this? Without this Guix on HPC is pretty much > dead at the MDC. >=20 We should also update the docs with the (new) minimum specs as needed. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlqL7LsACgkQQarn3Mo9 g1F7lg//QFgxsZQO4TDtLFYxodl9DzOiTHX68bTvr+1SX/5VnlnkoPsNtGpoJZdQ ico8D/h9y9KySWJDkJrP+8sWyPRikiFWDHA4bQYXyvQdgXUN+54Msou0c8uXsbEy 2dhLrDS7jXEmVB/POyprxvrMjypoGXMlPSf5WJhUOiCuBunrYlDmEOyMJ7AP3kpG ykBe/6XaX3NATY5lQeojXaL6yQ/UTr0C4JqBHTKSoDwGfoq02i8wSi71a0sS97FO gIyQ2ZyGHvCTVPXJLD+Gh+fjbHa997XGbXN0Ht6ar0kwCJSI74Nz/WX8xqD7+Ec9 W8hscYLoh9PeX1QDpiXJKDLP+D5E1++wbiNQTd3Eu7AfnmxboKERl6sJodTZaMRk J2dqCT7PaU5OEygAl3r53UhM2NvFs/anQPV2aFTURyjHJRJxSKayurxU3rPuMK/j JdEuqWvAaJRRVmHjmwtIJ9F/vtpxItXSe8q/oiKbL68cbrkmZafE7UFRJR4NF9Op +k4FffocjoYMiFRfbtR5tGS2RUGK98gXHzhM4tM9Qx9vbAvAvF7+5dPH4LK5ZVrg I7MoV1eMWSxKYhD47rPP/0ivBtiR47zTkXo5kAvZWWp7XTgq3UbruBAUfNoramxg l1bZAluZM8aAUdE/lb9pHdbj0IeuOU+gD2xZ/C2fPtmFVXy6k9U= =CYRM -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 06:52:27 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 11:52:27 +0000 Received: from localhost ([127.0.0.1]:52192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo6TC-0002dQ-Ql for submit@debbugs.gnu.org; Tue, 20 Feb 2018 06:52:26 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36865) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo6TB-0002dJ-DX for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 06:52:25 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id C3E6820E9E; Tue, 20 Feb 2018 06:52:24 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 20 Feb 2018 06:52:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=v1CqNST7m0gnYDIFQ0MGOM24tTQIDYcweb5cOmlcrSM=; b=mXjbQ 8kJnl5zLmO/M6tiY39kOr/v8XT+MNjO6pYzdcZo6UD0HW6p4OQXGXfD7unlqXzh5 edYWeSmdKi/yeob9HQGyvks80IO7GCcGYQE6ulXVpq4zuGOhNeQwhIhyPqgsUVfD gA6v5QOaMTfyj5B9SAYg2CHMolyxUS4OXJ/zG4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=v1CqNST7m0gnYDIFQ0MGOM24tTQID Ycweb5cOmlcrSM=; b=dKZBIj5a7zxaNwKVtX07Oj2UrfD2oNTcINXvgyZHCpt7T Hf9aSi71fVUUVgnllWGPA8PJFw1W4qhtD8d0N+CswOh88mXdXmyN1FFJhUwgZ197 kdlz78jHaP7vVcPkkguZPnaHgark44ERqYUu5sjsr6NRBFK+fOjWyMYW/tZ8oKq/ RG79tBzFArKTfXbXjZzaTdvM7oFlGFGh6Jfl5EenNfDQSqQJ/KxnCFd6o3XnTO9y xf9cJDATX+cMBaKrWX+NjXfRumFNfntCurMUUJ8tioy6jdUi9VLFq19zFg0TJKrQ qZQmemXkQgjijW/tph+KGviGY1z8/82LMKhJHUf0Q== X-ME-Sender: Received: from localhost (unknown [172.58.201.148]) by mail.messagingengine.com (Postfix) with ESMTPA id 65D92241E0; Tue, 20 Feb 2018 06:52:24 -0500 (EST) Date: Tue, 20 Feb 2018 06:52:21 -0500 From: Leo Famulari To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180220115221.GA17373@jasmine.lan> References: <87eflgstqt.fsf@mdc-berlin.de> <20180220012229.GA28522@jasmine.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wac7ysb48OaltWcw" Content-Disposition: inline In-Reply-To: <20180220012229.GA28522@jasmine.lan> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --wac7ysb48OaltWcw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 19, 2018 at 08:22:29PM -0500, Leo Famulari wrote: > My questions are, how does the glibc team choose the minimum kernel > version? What could go wrong if we apply this patch and somebody uses > Guix on a pre-3.2.0 kernel? >=20 > Perhaps they simply chose to not support glibc on any kernel that is not > supported upstream; 3.2.x is the oldest supported release series. But, > we should have some idea of their reasoning, in my opinion. As far as I can tell, the discussion started on the libc-alpha mailing list in January 2016: https://sourceware.org/ml/libc-alpha/2016-01/msg00885.html =2E.. and continued into February: https://sourceware.org/ml/libc-alpha/2016-02/msg00002.html These messages can provide some useful context. --wac7ysb48OaltWcw Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqMC/EACgkQJkb6MLrK fwg4xA//c+wceGCluM0jJlFDxQe8OGGGp1CMbybfNB1ZQ5AKh2b57SH90gEdnKf4 rs/C9gsuy2DSfQOSVy4Z8zEZQwAi8CgDqgFkkOFZtALXaujdEOlW9TAtM1lkikPW LVqn+18ZofElNtGPltVhcs713p7NwL03ZyH7TjquFt/gtvV/xgdDFNMLytKKUEHT j/zJygmIiRhmGDSdqwOWpaFlyhiz3nosX0spNRzTtRbAh2OG+fsG+rg8PRWynjCj D/KBXSDyO/g9sCSALD0Gvl2uCLt/h5bNYWoON7XjrdxBrHQQsZGKuLy7KgHD+25X k1ZmOWoj6ai7PDqgkJkZB3nB0+c3rE713sSBaiLBINVzT7XU7uRrV3Em/pJU/KDw LFdryxyxOPY59+BqjKixP2j2EVAO3ITkwOmuYBYnGtHJM3MOdfgfueJJixRO7U8m 4kLZYYQKghiLSRpMOdRmdEtqgcCNwbZJh8UpKYDFeZm81xHjinf0QuwSObTQ1qGX CSPxBiLUI+mHTuVArH6PMo8RHZaXCIa6/rDCXykznuQI5zjFZ2wihKuNOaLtVXHJ 3bQ+IEfawuI+upth8/7CUUeeg+gCH94GPRxoTRSoB8qDgQbaofbKp3/zUgFeEO9w i8gmyIHfwMYTBBu34h4n4cmd+i0gYHzmahFVOdbabew6yTefts4= =vc4j -----END PGP SIGNATURE----- --wac7ysb48OaltWcw-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 07:34:48 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 12:34:48 +0000 Received: from localhost ([127.0.0.1]:52222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo78B-0005dj-Vn for submit@debbugs.gnu.org; Tue, 20 Feb 2018 07:34:48 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:43778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo789-0005dX-Aw for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 07:34:46 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id EB09F793092; Tue, 20 Feb 2018 13:34:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :user-agent:references:received:received:received:received; s= mdc; t=1519130078; x=1520944479; bh=SkywERPk1KRzwZ6GoJrBhmMDeDxa Dj8VRidPwms1KW0=; b=A/2Ipr1UimElRjj44GpoOEpEP98aaUSuNLMtTXkGgwBM 4Gv2JaroEzqKhg+kYJflP6zTnZxHNR3kMtEO/t7vwJWhLHjMSq5Dii22WNB9Dp3h KZQEp0lMpc6Qnbtj8KYXkkljb04/mzsI2n5tkPrgGAUewPd3xY0W9O0GjH6q/Kc= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRL_7ypUeY4w; Tue, 20 Feb 2018 13:34:38 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Tue, 20 Feb 2018 13:34:38 +0100 (CET) Received: from SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) by HTCATWO.mdc-berlin.net (141.80.180.190) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 20 Feb 2018 13:34:38 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) with Microsoft SMTP Server id 14.3.361.1; Tue, 20 Feb 2018 13:34:37 +0100 References: <87eflgstqt.fsf@mdc-berlin.de> <20180220012229.GA28522@jasmine.lan> <20180220115221.GA17373@jasmine.lan> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus To: Leo Famulari Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 In-Reply-To: <20180220115221.GA17373@jasmine.lan> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 20 Feb 2018 13:34:27 +0100 Message-ID: <87woz7rga4.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23674.007 X-TM-AS-Result: No--10.366300-0.000000-31 X-TM-AS-MatchedID: 150567-703731-139010-700022-700075-703938-703523-703283-7 00038-701099-710970-704914-700196-701960-139705-188019-704746-707997-705431 -700648-700042-701604-121539-300011-702076-188198-705461-704179-705927-7004 02-105040-148004-148133-42000-42003-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leo Famulari writes: > On Mon, Feb 19, 2018 at 08:22:29PM -0500, Leo Famulari wrote: >> My questions are, how does the glibc team choose the minimum kernel >> version? What could go wrong if we apply this patch and somebody uses >> Guix on a pre-3.2.0 kernel? >> >> Perhaps they simply chose to not support glibc on any kernel that is not >> supported upstream; 3.2.x is the oldest supported release series. But, >> we should have some idea of their reasoning, in my opinion. > > As far as I can tell, the discussion started on the libc-alpha mailing > list in January 2016: > > https://sourceware.org/ml/libc-alpha/2016-01/msg00885.html > > ... and continued into February: > > https://sourceware.org/ml/libc-alpha/2016-02/msg00002.html > > These messages can provide some useful context. The only reason for moving the lower bound to Linux 3.2 is that 2.6 has reached EOL. This allows the glibc developers to assume certain kernel features and simplify their code. The RHEL kernels are special, though, in that they are continuously patched beyond recognition, backporting features. A RHEL 2.6.32 kernel is very different from a stock 2.6.32 kernel. The patch explicitly permits a *single* extra kernel version (0x020620 = 2.6.32) at runtime, not *all* older kernels, so it isn’t as bad as it may seem. For future updates to the glibc we would have to re-evaluate if the current RHEL 6.x kernel still supports all features the glibc expects, and decide once more if we can justify patching glibc to allow that one particular kernel version. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 07:51:39 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 12:51:40 +0000 Received: from localhost ([127.0.0.1]:52237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo7OV-00061d-N0 for submit@debbugs.gnu.org; Tue, 20 Feb 2018 07:51:39 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:47263) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo7OU-00061W-Rp for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 07:51:39 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 416DF21A31; Tue, 20 Feb 2018 07:51:38 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Tue, 20 Feb 2018 07:51:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=9L2ZACpmQuQfumnQs4dKHj5jQ11kDYl1M26taqYHNrM=; b=GcGAb U7tL1yT2/JNuynAGFMe2bfRmteVKNlyAR20Lxd6N3twsvE1+k6orzr4axDGfGhBV bY3PznEMqNfHfKOzck0T2MZqfwe19+mnjM8NkBTaC/355pkb9B8jTgf75E3XDW5q 0Hrs0mezYlRPJwz9x93XYwWigmF3PZaIdOmkjA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=9L2ZACpmQuQfumnQs4dKHj5jQ11kD Yl1M26taqYHNrM=; b=kmWNtYEUcOvBag7PQ0DlmfMix51YduX/HwQBkyhT2C2YJ 8QqC70V6jTcShhEziVIIWUH8/1rgHMfRA+0IP2WDcvPeH8oyYchfuiUTcs4Lj/HD UW8YPE4Kz5Daa6kus/F5xPLWVrDcn+tjIDH+F4MaBDWOm/+AKVeiqTECb20XyWzE 1RH1w5UNhh/8zspAZv/h2ccgFqw3MgyJVrYIKbxY0MHS6Wa9mmSv3csVUMmrP+iE LIdkcdFpi1+hM5VlEMie7rviZoVXqXWs9r3/PXFdi4s33Srq7/Xzs3C/e2g23n5p 6SWf//ic9AQsGJ/EhYXyv12CovvWY4dqapz3P1xzg== X-ME-Sender: Received: from localhost (unknown [172.58.201.148]) by mail.messagingengine.com (Postfix) with ESMTPA id D026A24587; Tue, 20 Feb 2018 07:51:37 -0500 (EST) Date: Tue, 20 Feb 2018 07:51:36 -0500 From: Leo Famulari To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180220125136.GA7573@jasmine.lan> References: <87eflgstqt.fsf@mdc-berlin.de> <20180220012229.GA28522@jasmine.lan> <20180220115221.GA17373@jasmine.lan> <87woz7rga4.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <87woz7rga4.fsf@mdc-berlin.de> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 20, 2018 at 01:34:27PM +0100, Ricardo Wurmus wrote: > The only reason for moving the lower bound to Linux 3.2 is that 2.6 has > reached EOL. This allows the glibc developers to assume certain > kernel features and simplify their code. >=20 > The RHEL kernels are special, though, in that they are continuously > patched beyond recognition, backporting features. A RHEL 2.6.32 kernel > is very different from a stock 2.6.32 kernel. >=20 > The patch explicitly permits a *single* extra kernel version (0x020620 =3D > 2.6.32) at runtime, not *all* older kernels, so it isn=E2=80=99t as bad a= s it > may seem. Okay, thanks for the clarification. > For future updates to the glibc we would have to re-evaluate if the > current RHEL 6.x kernel still supports all features the glibc expects, > and decide once more if we can justify patching glibc to allow that one > particular kernel version. Yes... and this will probably continue for many years. But I do think we should do something to work around the issue now, and reevaluate our solution when the pressure is off. It would be nice if the graft only applied to x86_64-linux, but I've never considered if that is easy to do or not. --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlqMGdUACgkQJkb6MLrK fwjUfRAA1S+p7fadQdisowygmBFOp54UUXFcaTep5zdt1Tl+IefCrYheaZMP+WF9 5a15m+WdtE6GyQUiw2hNShig2Sau7YIdJj8IR+LNXqbxogzbdnaQHeXe/sO4rUmo cN4wPnnNPVOEs487eAUBcOT5j/i0HUTJlT7fjcyWirmHFfS2WtnZqnDo3qErW0rX 2D7tiL55lXlfWpo71g9e+1Q2hZVdfwdsGFynhz6gehoZ8VvkaEPEetlBwLKfugMr efOhPCgvoSjJAFQ7CAZxnEZUrzuJRcXYTuPSl2/pwjDVVBHQsjTTL6SK/mfBcn4E J8IH0b00/ii1GfEH1mT9cmtRKqzBAXqiY09QW6y3h4V5PVKIl0vmtd6GP+KG1hGe 9KdXJcUkzT+O4Ztd088ic5w/3rgLb/QJEw37Kasus7h2fLdCxhVrUqZ/wj/EzbKU yvnxV95W2IuwrwDRADDDMdQDYr4u/8VlSUBFyWMEteyZwBTo5mJTpNwzhcjE1zwZ TfUGqqD+dZNSyyHK3W6z0gP88YXp1KCOc9TEKsAQGRB0FzTfL0R4bp60Vr3MaCwM IGftNvF+7yPl5ZNY6WJHDBto5qfcmZhHX3vmSiV73kPX3Sk8kWLeQbI2xBrwLtlZ E5BDDU7aoxEfG8aFjdza/YF43ErXKVx3nBnNVSZp+GG1L9s86rg= =Pcen -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 09:34:21 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 14:34:21 +0000 Received: from localhost ([127.0.0.1]:52301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo8zs-0008W5-R0 for submit@debbugs.gnu.org; Tue, 20 Feb 2018 09:34:21 -0500 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:55360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eo8zq-0008Vw-6U for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 09:34:19 -0500 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id 43AC01009C74; Tue, 20 Feb 2018 15:34:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :user-agent:references:received:received:received:received; s= mdc; t=1519137251; x=1520951652; bh=2uyVphU9TBpKjYlA+KiMpcueufxN /7O7B6XYLV0RP1w=; b=JoSCraGAQ9QKcxeZq3UwR2oA7jDqdVWNYnQKu+BWH1cZ kRbwIw4sEGSaOoCjqd377qNTXPFHWIP80zDz9vW70/XfCkGGF4ZcpppiOR/B1XVd vvJQkO7OrWzUYQVu0sT/TitSeQkmCt6I2ks/zAUZdq22QuaOU+PAVDCkwsrrfMI= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UxqiUSsyipiq; Tue, 20 Feb 2018 15:34:11 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS; Tue, 20 Feb 2018 15:34:11 +0100 (CET) Received: from SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) by HTCATWO.mdc-berlin.net (141.80.180.190) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 20 Feb 2018 15:34:07 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) with Microsoft SMTP Server id 14.3.361.1; Tue, 20 Feb 2018 15:34:06 +0100 References: <87eflgstqt.fsf@mdc-berlin.de> <20180220012229.GA28522@jasmine.lan> <20180220115221.GA17373@jasmine.lan> <87woz7rga4.fsf@mdc-berlin.de> <20180220125136.GA7573@jasmine.lan> User-agent: mu4e 0.9.18; emacs 25.3.1 From: Ricardo Wurmus To: Leo Famulari Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 In-Reply-To: <20180220125136.GA7573@jasmine.lan> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 20 Feb 2018 15:33:56 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23674.007 X-TM-AS-Result: No--3.122500-0.000000-31 X-TM-AS-MatchedID: 150567-703731-139010-705461-704179-703523-705927-700402-1 05040-188019-701202-710207-705388-705861-700752-703788-708339-700648-707800 -705098-113872-105700-702143-121155-711521-700810-708058-706249-701437-7049 80-106580-148004-148133-42000-42003-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Leo Famulari writes: >> For future updates to the glibc we would have to re-evaluate if the >> current RHEL 6.x kernel still supports all features the glibc expects, >> and decide once more if we can justify patching glibc to allow that one >> particular kernel version. > > Yes... and this will probably continue for many years. But I do think we > should do something to work around the issue now, and reevaluate our > solution when the pressure is off. > > It would be nice if the graft only applied to x86_64-linux, but I've > never considered if that is easy to do or not. I don’t know if we can graft a package only for a single architecture. At least at the time of ungrafting we could apply the patch only on x86_64 (and only rebuild the world for that architecture). FWIW: I’ve applied this patch to the installation at the MDC and it works fine. The biggest downside here is the slowness of grafts over NFS (I still need to update the protocol to NFS 4.1) and the many lines of output that are amplified by communicating with a remote daemon. Other than that I’m happy that this crisis could be temporarily averted. I’d like to have this in master, though, so that people can run “guix pull” again and actually get working software. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 20 12:56:09 2018 Received: (at 30537) by debbugs.gnu.org; 20 Feb 2018 17:56:09 +0000 Received: from localhost ([127.0.0.1]:53144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoC9B-0006vj-7O for submit@debbugs.gnu.org; Tue, 20 Feb 2018 12:56:09 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:53706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoC98-0006va-IL for 30537@debbugs.gnu.org; Tue, 20 Feb 2018 12:56:07 -0500 Received: from localhost (localhost [127.0.0.1]) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 8917379590B for <30537@debbugs.gnu.org>; Tue, 20 Feb 2018 18:56:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :user-agent:references:received:received:received:received; s= mdc; t=1519149360; x=1520963761; bh=Rm5lstAYi57ZdHvnZvguEjnOrcHf ScYoUVqMQqdTuU0=; b=OPQGiBgpL5rhWFHIAaqvEGeLpRtYP+Hb6AUFVVXyj1PP oP5N8DPMsU7AdjtRprOeBRH8YQ99H8t1YtcFOevjH6Y3BVYUDnKmJBaZ/hMKtoZ7 b37kV1W8FSlerTyslh75mdsBs3khJVUUDAGKhkbGZlWJAl0URwc+71cqjkkZVSA= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from pegasus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (pegasus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uRs9TBWrsTLu for <30537@debbugs.gnu.org>; Tue, 20 Feb 2018 18:56:00 +0100 (CET) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pegasus.bbbm.mdc-berlin.de (Postfix) with ESMTPS for <30537@debbugs.gnu.org>; Tue, 20 Feb 2018 18:56:00 +0100 (CET) Received: from SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) by HTCATWO.mdc-berlin.net (141.80.180.190) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 20 Feb 2018 18:55:59 +0100 Received: from localhost (141.80.113.51) by SW-IT-P-CAS2.mdc-berlin.net (141.80.113.54) with Microsoft SMTP Server id 14.3.361.1; Tue, 20 Feb 2018 18:55:59 +0100 References: <87eflgstqt.fsf@mdc-berlin.de> <20180220012229.GA28522@jasmine.lan> <20180220115221.GA17373@jasmine.lan> <87woz7rga4.fsf@mdc-berlin.de> <20180220125136.GA7573@jasmine.lan> User-agent: mu4e 1.0; emacs 25.3.1 From: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 In-Reply-To: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 20 Feb 2018 18:55:48 +0100 Message-ID: <87sh9vr1ej.fsf@mdc-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.113.51] X-TM-AS-Product-Ver: SMEX-11.0.0.4283-8.200.1013-23676.001 X-TM-AS-Result: No--8.624500-0.000000-31 X-TM-AS-MatchedID: 150567-703731-139010-705461-704179-703523-705927-700402-1 05040-188019-701202-710207-705388-705861-700752-703788-708339-700648-707800 -705098-113872-105700-702143-121155-711521-700810-708058-706249-701437-7049 80-106580-707451-701428-703179-704852-148001-148004-148133-20043-42000-4200 3-63 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: 30537 Cc: 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) Ricardo Wurmus writes: > Leo Famulari writes: > >>> For future updates to the glibc we would have to re-evaluate if the >>> current RHEL 6.x kernel still supports all features the glibc expects, >>> and decide once more if we can justify patching glibc to allow that one >>> particular kernel version. >> >> Yes... and this will probably continue for many years. But I do think we >> should do something to work around the issue now, and reevaluate our >> solution when the pressure is off. >> >> It would be nice if the graft only applied to x86_64-linux, but I've >> never considered if that is easy to do or not. > > I don’t know if we can graft a package only for a single architecture. > At least at the time of ungrafting we could apply the patch only on > x86_64 (and only rebuild the world for that architecture). > > FWIW: I’ve applied this patch to the installation at the MDC and it > works fine. The biggest downside here is the slowness of grafts over > NFS (I still need to update the protocol to NFS 4.1) and the many lines > of output that are amplified by communicating with a remote daemon. > > Other than that I’m happy that this crisis could be temporarily averted. > > I’d like to have this in master, though, so that people can run “guix > pull” again and actually get working software. I should note that now every Guix command first prints this: GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread I suspect that this is not good. Guix was built with the grafted glibc. -- Ricardo From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 21 18:13:23 2018 Received: (at 30537) by debbugs.gnu.org; 21 Feb 2018 23:13:23 +0000 Received: from localhost ([127.0.0.1]:55060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eodZd-0007IS-5E for submit@debbugs.gnu.org; Wed, 21 Feb 2018 18:13:23 -0500 Received: from world.peace.net ([50.252.239.5]:34218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eodZb-0007IE-4Y for 30537@debbugs.gnu.org; Wed, 21 Feb 2018 18:13:15 -0500 Received: from pool-72-93-27-42.bstnma.east.verizon.net ([72.93.27.42] helo=jojen) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1eodZU-0005DM-N7; Wed, 21 Feb 2018 18:13:08 -0500 From: Mark H Weaver To: Ricardo Wurmus Subject: Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8 References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <878tbosr7h.fsf@mdc-berlin.de> Date: Wed, 21 Feb 2018 18:12:31 -0500 In-Reply-To: <878tbosr7h.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Mon, 19 Feb 2018 20:41:07 +0100") Message-ID: <87bmgiey3k.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi Ricardo, Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> Here=E2=80=99s a patch to graft the glibc to apply the patch to allow th= e 2.6.32 >> kernel. I=E2=80=99m going to apply this at work now. > > That patch had a couple of problems. Here=E2=80=99s a new version. [...] > diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm > index b2c1d232f..111bbbcec 100644 > --- a/gnu/packages/base.scm > +++ b/gnu/packages/base.scm > @@ -12,6 +12,7 @@ > ;;; Copyright =C2=A9 2017 Mathieu Othacehe > ;;; Copyright =C2=A9 2017 Marius Bakke > ;;; Copyright =C2=A9 2017 Eric Bavier > +;;; Copyright =C2=A9 2018 Ricardo Wurmus > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -537,6 +538,7 @@ store.") > ;; Note: Always use a dot after the minor version since various place= s rely > ;; on "version-major+minor" to determine where locales are found. > (version "2.26.105-g0890d5379c") > + (replacement glibc-2.26-patched) > (source (origin > (method url-fetch) > (uri (string-append "https://alpha.gnu.org/gnu/guix/mirror/" > @@ -839,10 +841,20 @@ GLIBC/HURD for a Hurd host" > ;; Below are old libc versions, which we use mostly to build locale data= in > ;; the old format (which the new libc cannot cope with.) >=20=20 > +(define glibc-2.26-patched > + (package > + (inherit glibc) > + (replacement #f) > + (source (origin > + (inherit (package-source glibc)) > + (patches (cons (search-patch "glibc-allow-kernel-2.6.32.pa= tch") > + (origin-patches (package-source glibc))))))= )) > + > (define-public glibc-2.25 > (package > (inherit glibc) > (version "2.25") > + (replacement #f) > (source (origin > (inherit (package-source glibc)) > (uri (string-append "mirror://gnu/glibc/glibc-" > @@ -862,6 +874,7 @@ GLIBC/HURD for a Hurd host" > (package > (inherit glibc) > (version "2.24") > + (replacement #f) > (source (origin > (inherit (package-source glibc)) > (uri (string-append "mirror://gnu/glibc/glibc-" > @@ -882,6 +895,7 @@ GLIBC/HURD for a Hurd host" > (package > (inherit glibc) > (version "2.23") > + (replacement #f) > (source (origin > (inherit (package-source glibc)) > (uri (string-append "mirror://gnu/glibc/glibc-" > @@ -905,6 +919,7 @@ GLIBC/HURD for a Hurd host" > (package > (inherit glibc) > (version "2.22") > + (replacement #f) > (source (origin > (inherit (package-source glibc)) > (uri (string-append "mirror://gnu/glibc/glibc-" These (replacement #f) fields should not be needed. 'replacement' is now an 'innate' field of the package record type, which means that it is not inherited. > diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm > index 7286e954c..db43691fd 100644 > --- a/gnu/packages/commencement.scm > +++ b/gnu/packages/commencement.scm > @@ -4,6 +4,7 @@ > ;;; Copyright =C2=A9 2012 Nikita Karetnikov > ;;; Copyright =C2=A9 2014, 2015, 2017 Mark H Weaver > ;;; Copyright =C2=A9 2017, 2018 Efraim Flashner > +;;; Copyright =C2=A9 2018 Ricardo Wurmus > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -486,7 +487,7 @@ the bootstrap environment." > ;; built just below; the only difference is that this one uses the > ;; bootstrap Bash. > (package-with-bootstrap-guile > - (package (inherit glibc) > + (package/inherit glibc > (name "glibc-intermediate") > (arguments > `(#:guile ,%bootstrap-guile > @@ -664,7 +665,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a= /~a \"$@\"~%" >=20=20 > (define glibc-final > ;; The final glibc, which embeds the statically-linked Bash built abov= e. > - (package (inherit glibc-final-with-bootstrap-bash) > + (package/inherit glibc-final-with-bootstrap-bash > (name "glibc") > (inputs `(("static-bash" ,static-bash-for-glibc) > ,@(alist-delete We seem to be oscillating on the question of whether to graft these early GLIBCs. In June 2017, I switched to using 'package/inherit' here in commit 13f7f2fd2b208c29361ef2290f55911879a6adf2, and in October those changes were reverted in commit 848f550f2c105326dc3be4033c8aaf35ec21cde4 by Efraim, although I'm not sure why. It'll be painful to have *everything* grafted until the next core-updates cycle, but I suppose it's necessary. Thanks, Mark From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 22 15:31:03 2018 Received: (at 30537) by debbugs.gnu.org; 22 Feb 2018 20:31:03 +0000 Received: from localhost ([127.0.0.1]:56887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoxWA-0008EH-SW for submit@debbugs.gnu.org; Thu, 22 Feb 2018 15:31:03 -0500 Received: from flashner.co.il ([178.62.234.194]:34866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoxW9-0008Dl-9V for 30537@debbugs.gnu.org; Thu, 22 Feb 2018 15:31:01 -0500 Received: from localhost (46-117-130-5.bb.netvision.net.il [46.117.130.5]) by flashner.co.il (Postfix) with ESMTPSA id 60927400FC; Thu, 22 Feb 2018 20:30:55 +0000 (UTC) Date: Thu, 22 Feb 2018 22:30:54 +0200 From: Efraim Flashner To: Mark H Weaver Subject: Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8 Message-ID: <20180222203054.GC4154@macbook41> References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <878tbosr7h.fsf@mdc-berlin.de> <87bmgiey3k.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qtZFehHsKgwS5rPz" Content-Disposition: inline In-Reply-To: <87bmgiey3k.fsf@netris.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, Ricardo Wurmus , 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --qtZFehHsKgwS5rPz Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 21, 2018 at 06:12:31PM -0500, Mark H Weaver wrote: > Hi Ricardo, >=20 =2E.. >=20 > We seem to be oscillating on the question of whether to graft these > early GLIBCs. In June 2017, I switched to using 'package/inherit' here > in commit 13f7f2fd2b208c29361ef2290f55911879a6adf2, and in October those > changes were reverted in commit 848f550f2c105326dc3be4033c8aaf35ec21cde4 > by Efraim, although I'm not sure why. >=20 Probably a misunderstanding on my part, I assumed it was switched to package/inherit as part of the grafting, and then should be switched back. > It'll be painful to have *everything* grafted until the next > core-updates cycle, but I suppose it's necessary. >=20 > Thanks, > Mark >=20 We could also have an 'ungraft everything' branch before we get to the next round of core-updates. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qtZFehHsKgwS5rPz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlqPKHsACgkQQarn3Mo9 g1EpqBAAj58A7DWMu6MZ+ufrQjxROiiZtHEIFTQYUSKvh+YSdmqyhfQpWotFm9h6 XHxqiVt/kfi/e0fH3axkLYtHeJptIHxFuYj94mqLLv4Ho6qMyrdi5xIjX5s+CN9o hsnl7RbFrH3MHbPL39cVWgdDi3nJwLzqCvgFxyPbxrTtmrlesW/GdfzqMSn+6gZ0 6h68KuRQjTW/1UJb7XNjUS0fLXoUlHPGSPk6KtaGugIWfgVHDV8WxgZ6yaH1+abY hOByw6vDCYeyt2jW1vhjRi8SsvmXKjGVNdX+LgLN5eIxk5gpBke0K0tfBSJfrybP gCEDTtUzxsO7WMVCIbU8Lf7DRTubtZfiqoZIdDPEygY5xq0Al9WsF8oBgae3Wuyk 3NE4iwiI0QWwlb/z17H/3Zi7E2YRYqsy+xgEGoyRFhW+3ekLrM6vN1l/moz2JfPF xRoAN2H9kY7nouwfMnsbsABLgyuOllJdZgtfdRhoOSG+uCEcLuoU0QzMEXtyrPig tQx3MsJ1UH0Z8+GBgSFUC6wEXDapYDZ/zl6bqWHxe6X4N4P6CqQlkLxU/k1PRgO2 /3BLNrSzCfpkBwDHKsuYof7fHPSuBv/ecW1dkHgCz/KASRP2hbg+Bxv+NUIF1Jbi Y7PpkJ47RpLfR/TbBCb8CpO61zWI0myaxeVU6QOiZeOyG7lVAo8= =JZey -----END PGP SIGNATURE----- --qtZFehHsKgwS5rPz-- From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 17:01:30 2018 Received: (at 30537) by debbugs.gnu.org; 23 Feb 2018 22:01:30 +0000 Received: from localhost ([127.0.0.1]:58023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epLPG-0002Mi-L3 for submit@debbugs.gnu.org; Fri, 23 Feb 2018 17:01:30 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epLPE-0002Ma-QT for 30537@debbugs.gnu.org; Fri, 23 Feb 2018 17:01:29 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 3325D11DEE; Fri, 23 Feb 2018 23:01:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9wlYjRi-5pWW; Fri, 23 Feb 2018 23:01:27 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C35F311AF2; Fri, 23 Feb 2018 23:01:26 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Mark H Weaver Subject: Grafts vs. early bootstrapping packages References: <87eflgstqt.fsf@mdc-berlin.de> <87d110stkn.fsf@mdc-berlin.de> <87a7w4ssmx.fsf@mdc-berlin.de> <878tbosr7h.fsf@mdc-berlin.de> <87bmgiey3k.fsf@netris.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 23 Feb 2018 23:01:25 +0100 In-Reply-To: <87bmgiey3k.fsf@netris.org> (Mark H. Weaver's message of "Wed, 21 Feb 2018 18:12:31 -0500") Message-ID: <87muzz9xhm.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, Ricardo Wurmus , 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hello, Mark H Weaver skribis: >> Ricardo Wurmus writes: [...] >> (define glibc-final >> ;; The final glibc, which embeds the statically-linked Bash built abo= ve. >> - (package (inherit glibc-final-with-bootstrap-bash) >> + (package/inherit glibc-final-with-bootstrap-bash >> (name "glibc") >> (inputs `(("static-bash" ,static-bash-for-glibc) >> ,@(alist-delete > > We seem to be oscillating on the question of whether to graft these > early GLIBCs. In June 2017, I switched to using 'package/inherit' here > in commit 13f7f2fd2b208c29361ef2290f55911879a6adf2, and in October those > changes were reverted in commit 848f550f2c105326dc3be4033c8aaf35ec21cde4 > by Efraim, although I'm not sure why. I doesn=E2=80=99t make sense to graft =E2=80=9Cglibc-intermediate=E2=80=9D = because it=E2=80=99s only used in =E2=80=98static-bash-for-glibc=E2=80=99, which statically links aga= inst it. The situation is similar with the =E2=80=9C-boot0=E2=80=9D packages: they are n= ot referenced by the packages we use. So I think 848f550f2c105326dc3be4033c8aaf35ec21cde4 was a good idea. f00b85ff8d34df0a1879e593d4a85629b8586af7 does something similar. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 17:26:17 2018 Received: (at 30537) by debbugs.gnu.org; 23 Feb 2018 22:26:17 +0000 Received: from localhost ([127.0.0.1]:58080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epLnF-000307-Ib for submit@debbugs.gnu.org; Fri, 23 Feb 2018 17:26:17 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:58478) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epLnD-0002zz-KT for 30537@debbugs.gnu.org; Fri, 23 Feb 2018 17:26:16 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 0A2DA11DF9; Fri, 23 Feb 2018 23:26:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GeW8Tlmet4Fv; Fri, 23 Feb 2018 23:26:14 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 87F9B11DF8; Fri, 23 Feb 2018 23:26:13 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Ricardo Wurmus Subject: Re: glibc 2.26 refuses to run on CentOS 6.8 References: <87eflgstqt.fsf@mdc-berlin.de> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 23 Feb 2018 23:26:12 +0100 In-Reply-To: <87eflgstqt.fsf@mdc-berlin.de> (Ricardo Wurmus's message of "Mon, 19 Feb 2018 19:46:02 +0100") Message-ID: <87fu5r9wcb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30537 Cc: guix-devel@gnu.org, 30537@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) Hello, Ricardo Wurmus skribis: > I have a bad day. After the upgrade to glibc 2.26 none of the > Guix-installed software runs on the HPC cluster running CentOS 6.8. Bah. :-( > The glibc 2.26 expects a minimum kernel version of 3.x on x86_64, but > CentOS 6.8 only comes with a heavily patched 2.6.32. It=E2=80=99s annoying, but we can surely apply the patch you sent (though r= ather by passing =E2=80=98--enable-kernel=E2=80=99 if possible, as Danny suggeste= d.) personality(2) has a knob to change the kernel version reported by uname(2) to 2.6. Here it=E2=80=99s a case where we=E2=80=99d need the reve= rse: reporting 3.2 instead of 2.6. That doesn=E2=80=99t seem to exist. Looking for other hacks (or kludges), I found the kernel module below at , which could be adjusted to report a different kernel version: --8<---------------cut here---------------start------------->8--- #include #include #include #ifndef UNAME_DUMB_STEPPING #define UNAME_DUMB_STEPPING '5'; #endif MODULE_AUTHOR("The one who invented the uname hack"); MODULE_DESCRIPTION("Changes the uname output"); MODULE_LICENSE("GPL"); static int uname_hack_init() { save =3D system_utsname.machine[1]; system_utsname.machine[1] =3D UNAME_DUMB_STEPPING; return 0; } static void uname_hack_cleanup() { system_utsname.machine[1] =3D save; } module_init(uname_hack_init); module_exit(uname_hack_cleanup); --8<---------------cut here---------------end--------------->8--- Another option would be to ptrace processes, handle the first =E2=80=98unam= e=E2=80=99 call, and then PTRACE_DETACH. Ugly. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 26 10:13:43 2018 Received: (at control) by debbugs.gnu.org; 26 Feb 2018 15:13:43 +0000 Received: from localhost ([127.0.0.1]:33630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqKTG-0007cn-Sz for submit@debbugs.gnu.org; Mon, 26 Feb 2018 10:13:43 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:46030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eqKTF-0007cg-5O for control@debbugs.gnu.org; Mon, 26 Feb 2018 10:13:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id B5CF011546 for ; Mon, 26 Feb 2018 16:13:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yzRQtD7TZBiO for ; Mon, 26 Feb 2018 16:13:40 +0100 (CET) Received: from ribbon (unknown [193.50.110.216]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3268E109BD for ; Mon, 26 Feb 2018 16:13:40 +0100 (CET) Date: Mon, 26 Feb 2018 16:13:39 +0100 Message-Id: <87a7vvwzq4.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30537 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 30537 serious From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 09 17:19:27 2018 Received: (at control) by debbugs.gnu.org; 9 Mar 2018 22:19:27 +0000 Received: from localhost ([127.0.0.1]:52888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQMI-0003EH-OW for submit@debbugs.gnu.org; Fri, 09 Mar 2018 17:19:26 -0500 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21109) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1euQMH-0003E9-1v for control@debbugs.gnu.org; Fri, 09 Mar 2018 17:19:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1520633962; s=zoho; d=elephly.net; i=rekado@elephly.net; h=Date:To:From:Subject; l=31; bh=R50cqIDSzGynLymrhBpKlQ/0slJa4ixk/hcdSMkfbt4=; b=avh3TGCpmFi3P+w9N9b9x+tzWFuC6US4NSUYP3NrSHkBwBDQA4AJI4PFED6SedCq eoH5qAgz9fPfYhuZiu5x92efd0nkq3nIKjaCmKakn5Sif80H49BQvqrmnnOUZvq6f1M jQejmcZqncDogPnWbJctjpL4pPD6EQbZSDq8u3UU= Received: from localhost (port-92-200-43-38.dynamic.qsc.de [92.200.43.38]) by mx.zohomail.com with SMTPS id 15206339620231009.1168910178394; Fri, 9 Mar 2018 14:19:22 -0800 (PST) Date: Fri, 09 Mar 2018 23:19:19 +0100 To: control@debbugs.gnu.org From: Ricardo Wurmus Subject: control message for bug #30537 X-ZohoMailClient: External X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -0.0 (/) tags 30537 fixed close 30537 From unknown Wed Jun 18 23:18:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 07 Apr 2018 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator