[GHC] #11209: Please add platform detection support for sh4 (Hitachi SuperH)

GHC ghc-devs at haskell.org
Sun Dec 13 12:53:10 UTC 2015


#11209: Please add platform detection support for sh4 (Hitachi SuperH)
----------------------------------------+------------------------------
        Reporter:  glaubitz             |                Owner:
            Type:  bug                  |               Status:  closed
        Priority:  normal               |            Milestone:  8.0.1
       Component:  Compiler             |              Version:  7.10.2
      Resolution:  fixed                |             Keywords:
Operating System:  Unknown/Multiple     |         Architecture:  Other
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
       Wiki Page:                       |
----------------------------------------+------------------------------
Changes (by slyfox):

 * status:  new => closed
 * failure:  None/Unknown => Building GHC failed
 * resolution:   => fixed
 * milestone:   => 8.0.1


Comment:

 Pushed.

 Thank you!

 In ''sh4'' case you don't need to add ''sh4'' as a known arch
 as there is no special code that behaves differently.

 In ''sparc64'' case you would need to add ''ArchSPARC64''
 as you need to switch on arch type to disable
 ''--relax'' as ''sparc32'' does:

 http://git.haskell.org/ghc.git/blob/f48015bcac59960f6d266506a5f378c9bcf8f005:/compiler/main/DriverPipeline.hs#l2136

 changeset:9756690fe7aa26aee6955d0b720377d53170c542 introduces
 ''ArchAlpha'' and friends to set ''bewareLoadStoreAlignment = True''.
 Default for ''UnknownArch'' was ''False''.

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


More information about the ghc-tickets mailing list