On Fri, Mar 18, 2011 at 08:23:10AM +0100, Ketil Malde wrote:
> Tristan Ravitch <[email protected]> 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.
>

Now that you mention it, I did have to switch to a newer gcc for the
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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to