patch applied (ghc): i386-darwin: disable use of code stubs for dynamic linking

Wolfgang Thaller <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.all
Message-ID <20061126151902.GA22900__16085.6885057457$1164554376$gmane$org@cvs.haskell.org>
Mon Nov 20 09:25:16 PST 2006  [email protected]
  * i386-darwin: disable use of code stubs for dynamic linking
  
  We can't use lazy binding for tail-calls accross shared libraries, because dyld
  will crash due to incorrect stack layout. We can't get the stack alignment right for
  both cross-library tailcalls and foreign calls, so we have to bypass the stub code altogether
  and load the address to branch to from the non-lazy pointer table.
  

    M ./compiler/nativeGen/PositionIndependentCode.hs -1 +7
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.