[GHC] #4210: LLVM: Dynamic Library Support

GHC cvs-ghc at haskell.org
Wed Mar 30 19:13:53 CEST 2011


#4210: LLVM: Dynamic Library Support
---------------------------------+------------------------------------------
    Reporter:  dterei            |        Owner:  dterei       
        Type:  feature request   |       Status:  new          
    Priority:  high              |    Milestone:  7.2.1        
   Component:  Compiler (LLVM)   |      Version:  6.13         
    Keywords:                    |     Testcase:               
   Blockedby:                    |   Difficulty:               
          Os:  Unknown/Multiple  |     Blocking:               
Architecture:  Unknown/Multiple  |      Failure:  Runtime crash
---------------------------------+------------------------------------------

Comment(by tibbe):

 Replying to [comment:6 dterei]:
 > I don't really know without testing. What is the state of the 64bit
 version of GHC on OSX? Ben Lippmeier has graciously provided me with
 access to his OS X machine and I've been using this to do any testing and
 development. His machine seems to be running a 32bit kernel though
 (although its running 10.6 on Core i7 hardware). It seems though that I
 should be able to run a 64bit version of GHC on this still, correct?

 I'm running a 64-bit GHC with a 32-bit kernel and it works fine:

 {{{
 $ uname -a
 Darwin tibell-macbookpro.local 10.4.0 Darwin Kernel Version 10.4.0: Fri
 Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 i386

 $ sysctl hw | grep 64bit
 hw.cpu64bit_capable: 1

 $ ghc --info
  [("Project name","The Glorious Glasgow Haskell Compilation System")
  ,("Project version","7.0.3")
  ,("Booter version","7.0.2")
  ,("Stage","2")
  ,("Build platform","x86_64-apple-darwin")
  ,("Host platform","x86_64-apple-darwin")
  ,("Target platform","x86_64-apple-darwin")
  ,("Have interpreter","YES")
  ,("Object splitting","YES")
  ,("Have native code generator","YES")
  ,("Have llvm code generator","YES")
  ,("Support SMP","YES")
  ,("Unregisterised","NO")
  ,("Tables next to code","YES")
  ,("RTS ways","l debug  thr thr_debug thr_l thr_p ")
  ,("Leading underscore","YES")
  ,("Debug on","False")
 ,("LibDir","/Library/Frameworks/GHC.framework/Versions/7.0.3-x86_64/usr/lib/ghc-7.0.3")
  ,("Global Package
 DB","/Library/Frameworks/GHC.framework/Versions/7.0.3-x86_64/usr/lib/ghc-7.0.3/package.conf.d")
  ,("C compiler flags","[\"-m64\",\"-fno-stack-protector\"]")
  ,("Gcc Linker flags","[\"-m64\"]")
  ,("Ld Linker flags","[\"-arch\",\"x86_64\"]")
  ]
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4210#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list