[GHC] #15286: "Can't use Natural in base" when compiling GHC.Natural with -O0

GHC ghc-devs at haskell.org
Tue Sep 4 20:49:27 UTC 2018


#15286: "Can't use Natural in base" when compiling GHC.Natural with -O0
-------------------------------------+-------------------------------------
        Reporter:  alpmestan         |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4880
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by alpmestan):

 I haven't looked into the actual problem, but hsyl20's instructions from
 https://ghc.haskell.org/trac/ghc/ticket/15570#comment:13 seem to work, I
 just opened [https://github.com/snowleopard/hadrian/pull/674 hadrian#674]
 to get rid of those `-O0`s. This also fixes many failing tests.

 This doesn't answer anything about the problem though of course.

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


More information about the ghc-tickets mailing list