I have 7.0.2 building from source, using a binary version of GHC 6.12.3, and the GCC 4.4 (gcc44 package from CentOS). GCC 4.1(gcc package) that ships with CentOS 5.5. gave me the "relocation error" already detailed at the bottom of http://hackage.haskell.org/trac/ghc/wiki/Building/Troubleshooting.
On Fri, Mar 18, 2011 at 08:23:10AM +0100, Ketil Malde wrote:Now that you mention it, I did have to switch to a newer gcc for the
> Tristan Ravitch <travitch@cs.wisc.edu> writes:
>
> > The ghc7 binaries are compiled against a newer version of glibc than
> > is available on RHEL/CentOS. It works fine if you compile ghc7 from
> > source yourself (you can use 6.12 for that).
>
> Did it? I tried to do that, but I got errors about needing -fPIC. I
> tried to mess with CFLAGS, but couldn't make it work out. According to
> somebody on #haskell (I apologize for forgetting whom), the problem was
> really a too old GCC version.
>
x86_64 build. I ended up using 4.5. That part is annoying; I wasn't
able to coax the default 4.1.2+patches into generating correct
position-independent code either.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk2DbucACgkQJklRJNuIcWQWjACfcn8B8FFUA0gEMsny2fnGIMoq
wTkAn3O2Qh+0MkJ8uWS3uy4gz1A3xqgj
=cDjP
-----END PGP SIGNATURE-----
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe