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

GHC ghc-devs at haskell.org
Mon Aug 6 22:29:49 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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"c6cc93bca69abc258513af8cf2370b14e70fd8fb/ghc"
 c6cc93bc/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c6cc93bca69abc258513af8cf2370b14e70fd8fb"
 rts: Ensure that the_gc_thread is aligned

 Since we cast this to a gc_thread the compiler may assume that it's
 aligned.
 Make sure that this is so. Fixes #15482.
 }}}

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


More information about the ghc-tickets mailing list