[GHC] #13624: loadObj() does not respect alignment

GHC ghc-devs at haskell.org
Tue Jan 22 13:10:23 UTC 2019


#13624: loadObj() does not respect alignment
-------------------------------------+-------------------------------------
        Reporter:  tmcdonell         |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.10.1
       Component:  Runtime System    |              Version:  8.0.1
  (Linker)                           |             Keywords:  linker,
      Resolution:                    |  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:  8949
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by angerman):

 @artempyanykh, sorry for the late reply, I've been way too busy the last
 day.

 On iOS we don't have largeAddressSpace, and I doubt we have any issues
 with address allocation.  I don't remember exactly why I didn't use
 `mmapForLinker`. But I *do* remember trying to use it and running into
 some issues where making using `mmapForLinker` work for iOS as well would
 have unnecessarily complicated and such just went for `mmap`.

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


More information about the ghc-tickets mailing list