read-only-relocs on 64-bit OS X (was Re: ANNOUNCE: GHC 7.0.2 Release Candidate 1)
Christian.Maeder at dfki.de
Thu Feb 24 18:28:23 CET 2011
Adding -optl-w to ghc's command line suppresses this (probably harmless)
ghc --make -fforce-recomp -optl-w Hello.hs
Am 23.02.2011 20:55, schrieb David Peixotto:
> I'm getting a warning from the linker when building programs using the 64-bit version of the release candidate on Mac OS X 10.6.
> $ cat Hello.hs
> module Main where
> main = putStrLn "Hello, World"
> $ ~/ghc-7/bin/ghc -fforce-recomp Hello.hs
> [1 of 1] Compiling Main ( Hello.hs, Hello.o )
> Linking Hello ...
> ld: warning: -read_only_relocs cannot be used with x86_64
> It doesn't seem to cause a problem when actually running the programs, from what I have seen so far.
> On Dec 16, 2010, at 12:36 PM, Ian Lynagh wrote:
>> We are pleased to announce the first release candidate for GHC 7.0.2:
>> This includes the source tarball, installers for OS X and Windows, and
>> bindists for amd64/Linux, i386/Linux, amd64/FreeBSD and i386/FreeBSD.
>> Please test as much as possible; bugs are much cheaper if we find them
>> before the release!
>> Ian, on behalf of the GHC team
>> Glasgow-haskell-users mailing list
>> Glasgow-haskell-users at haskell.org
More information about the Glasgow-haskell-users