[haskell-platform] #111: OS X: LD warning during linking with 64 bit macports Platform ghc

haskell-platform haskell-platform at projects.haskell.org
Wed Mar 24 10:45:15 EDT 2010


#111: OS X:  LD warning during linking with 64 bit macports Platform ghc
-------------------------+--------------------------------------------------
 Reporter:  applicative  |       Owner:  dons
     Type:  defect       |      Status:  new 
 Priority:  minor        |   Milestone:      
Component:  Platform     |    Keywords:      
-------------------------+--------------------------------------------------
 It is probably nothing -- an artifact of a defect elsewhere in my system,
 but whenever I compile with my amazing new 64 bit ghc 6.10 -- installed
 with the Platform via Macports -- I get a warning from `ld`:

 {{{
 [28 of 28] Compiling Main             ( src/pandoc.hs, dist/build/pandoc
 /pandoc-tmp/Main.o )
 Linking dist/build/pandoc/pandoc ...
 ld: warning: -read_only_relocs cannot be used with x86_64
 [1 of 1] Compiling Main             ( src/markdown2pdf.hs,
 dist/build/markdown2pdf/markdown2pdf-tmp/Main.o )
 Linking dist/build/markdown2pdf/markdown2pdf ...
 ld: warning: -read_only_relocs cannot be used with x86_64
 }}}
 After that, of course, everything is fine:
 {{{
 Created man/man1/pandoc.1
 Created man/man1/markdown2pdf.1
 Installing library in /Users/mthompso/.cabal/lib/pandoc-1.5.1/ghc-6.10.4
 Installing executable(s) in /Users/mthompso/.cabal/bin
 Registering pandoc-1.5.1...
 }}}


 I assume this is just a curiosity of my installation, and doesn't suggest
 that something worse than a warning might happen some other time.  But I
 thought I would put it up, to promptly be removed.

-- 
Ticket URL: <http://trac.haskell.org/haskell-platform/ticket/111>
haskell-platform <http://trac.haskell.org/haskell-platform>
The Haskell Platform: a comprehensive and robust collection of Haskell libraries


More information about the Haskell-platform mailing list