[GHC] #15482: the_gc_thread variable from GC.c is not aligned to 64

GHC ghc-devs at haskell.org
Thu Aug 9 13:21:52 UTC 2018


#15482: the_gc_thread variable from GC.c is not aligned to 64
-------------------------------------+-------------------------------------
        Reporter:  arrowd            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  x86_64
                                     |  (amd64)
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5052
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * status:  closed => new
 * differential:   => Phab:D5052
 * resolution:  fixed =>


Comment:

 Ahh, I see the issue now. We explicitly claim that `gen_workspace` should
 be 64-byte aligned. I was previously under the mistaken impression that
 the problem was merely that `the_gc_thread`, a `StgWord8[]`, wasn't
 aligned to 8-bytes as `gc_thread` would require.

 I pushed a new fix as Phab:D5052

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


More information about the ghc-tickets mailing list