Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-23 Thread Ludovic Courtès
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

Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8

2018-02-22 Thread Efraim Flashner
On Wed, Feb 21, 2018 at 06:12:31PM -0500, Mark H Weaver wrote: > Hi Ricardo, > ... > > 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

Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8

2018-02-21 Thread Mark H Weaver
Hi Ricardo, Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> 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.

Re: bug#30537: glibc 2.26 refuses to run on CentOS 6.8

2018-02-20 Thread Efraim Flashner
On Mon, Feb 19, 2018 at 07:46:02PM +0100, Ricardo Wurmus wrote: > 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

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Danny Milosavljevic
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

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Ricardo Wurmus
Hi Danny, > Can you try just passing --enable-kernel=2.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

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Jan Nieuwenhuizen
Ricardo Wurmus writes: >> 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. Sad to hear of your troubles, thanks a lot for posting this. We discovered at Verum

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Ricardo Wurmus
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: >>> >>> >>>

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Danny Milosavljevic
Hi Ricardo, sorry to hear about those problems. Can you try just passing --enable-kernel=2.6.32 to "configure" of glibc instead? It should set the minimal version without any weird patching. Our glibc/linux in gnu/packages/base.scm specifies --enable-kernel=3.2.0 which we could modify to

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Ricardo Wurmus
Ricardo Wurmus writes: > Ricardo Wurmus writes: > >> The NixOS developers patch glibc to make sure that all software still >> runs on Linux 2.6.32: >> >> >>

Re: glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Ricardo Wurmus
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

glibc 2.26 refuses to run on CentOS 6.8

2018-02-19 Thread Ricardo Wurmus
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