
The only reason they work on glibc 2.11 is, AFAIK, because we built
separate CentOS 6.5 binaries for them. :)
FWIW, the source should build fine on these platforms, so once we add
the bindists for those systems, it should work Out Of The Box. But the
Debian 7 bindist isn't going to work on them, that's true.
We should probably rename the tarballs however... it's clear "deb7"
and "centos65" aren't very enlightening names; something like
"-glibc211-gmp4" vs "glibc212-gmp5" would be better, even if slightly
longer.
On Tue, Mar 17, 2015 at 3:33 AM, Miëtek Bak
As I wrote previously — the bindist name does mention ‘deb7’, so perhaps this is all working as intended, and perhaps supporting such ancient distributions is not actually needed.
However, the GHC 7.8.4, 7.8.3, and 7.8.2 bindists work fine with glibc 2.11, so this is a regression.
-- Miëtek
On 2015-03-17, at 08:25, Herbert Valerio Riedel
wrote: On 2015-03-17 at 03:09:23 +0100, Miëtek Bak wrote:
As with 7.10.1-rc2, installation fails on CentOS 6 (i386), Debian 6, and Ubuntu 10.04 LTS, in one of two following ways —
1. On i386:
"utils/ghc-cabal/dist-install/build/tmp/ghc-cabal-bindist" copy libraries/ghc-prim dist-install "strip" '' '/app/ghc' '/app/ghc/lib/ghc-7.10.0.20150316' '/app/ghc/share/doc/ghc/html/libraries' 'v p dyn' ghc-cabal/dist-install/build/tmp/ghc-cabal: symbol lookup error: libraries/integer-gmp2/dist-install/build/libHSinteger-gmp-1.0.0.0-6zeGtnFHpaVBJ80QaL9uVu-ghc7.10.0.20150316.so: undefined symbol: __gmpn_ior_n
Well, it shouldn't be very surprising that the deb7 (wheezy) ghc bindist doesn't work on deb6 (squeeze), as it's been compile-time configured for the environment provided by deb7 which has newer libraries with more features/symbols.
So what's needed here is probably a 2nd linux bindist build on an ancient enough (i.e. the one with the oldest libraries among CentOS6/Deb6/Ubuntu10.04) Linux environment.
-- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/