[Pkg-haskell-maintainers] Bug#616635: [GHC] #4999: build fails on powerpc: error: 'ObjectCode' has no member named 'misalignment'

GHC cvs-ghc at haskell.org
Sun Mar 6 07:31:46 UTC 2011


#4999: build fails on powerpc:   error: 'ObjectCode' has no member named
'misalignment'
------------------------+---------------------------------------------------
    Reporter:  nomeata  |       Owner:                     
        Type:  bug      |      Status:  new                
    Priority:  normal   |   Component:  Runtime System     
     Version:  7.0.2    |    Keywords:                     
    Testcase:           |   Blockedby:                     
          Os:  Linux    |    Blocking:                     
Architecture:  powerpc  |     Failure:  Building GHC failed
------------------------+---------------------------------------------------
Changes (by PHO):

 * cc: pho@… (added)


Comment:

 Hmm... I think we can't use mmap for powerpc builds not only on darwin but
 on every operation systems, since relative branches with 24-bits
 displacement should not be darwin specific.

 So the correct fix would be to disable mmap and enable oc->misalignment
 when defined(powerpc_HOST_ARCH).

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





More information about the Pkg-haskell-maintainers mailing list