[GHC] #15570: Core transformations generate bad indexCharOffAddr# call

GHC ghc-devs at haskell.org
Mon Sep 3 15:25:05 UTC 2018


#15570: Core transformations generate bad indexCharOffAddr# call
-------------------------------------+-------------------------------------
        Reporter:  alpmestan         |                Owner:  alpmestan
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by simonpj):

 I completed comment:3, but then fell over immediately:
 {{{
 simonpj at cam-05-unx:~/tmp$  ~/code/HEAD-3/_build/stage0/bin/ghc -O -fPIC
 -dynamic -ddump-simpl T15570.hs
 [1 of 1] Compiling Bug              ( T15570.hs, T15570.o )

 T15570.hs:3:8: error:
     Bad interface file:
 /usr/local/lib/ghc-8.2.2/base-4.10.1.0/Prelude.dyn_hi
         mismatched interface file versions (wanted "80720180825", got
 "8022")
   |
 3 | module Bug where
   |        ^^^

 T15570.hs:6:1: error:
     Bad interface file: /usr/local/lib/ghc-8.2.2/ghc-
 prim-0.5.1.1/GHC/Types.dyn_hi
         mismatched interface file versions (wanted "80720180825", got
 "8022")
   |
 6 | import GHC.Types
   | ^^^^^^^^^^^^^^^^
 }}}

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


More information about the ghc-tickets mailing list