[GHC] #3379: GHC should use the standard binary package

GHC ghc-devs at haskell.org
Tue Dec 11 16:32:50 UTC 2018


#3379: GHC should use the standard binary package
-------------------------------------+-------------------------------------
        Reporter:  igloo             |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  6.10.4
      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 ulysses4ever):

 I realized that it is more reasonable to try a clean build after this kind
 of change. The error I get after `make clean` is similar but happens in
 different place:
 {{{
 "inplace/bin/ghc-stage1" -hisuf hi -osuf  o -hcsuf hc -static  -O -H64m
 -Wall      -this-unit-id ghc-prim-0.5.3 -hide-all-packages -i -ilibraries
 /ghc-prim/. -ilibraries/ghc-prim/dist-install/build -Ilibraries/ghc-prim
 /dist-install/build -ilibraries/ghc-prim/dist-install/build/./autogen
 -Ilibraries/ghc-prim/dist-install/build/./autogen -Ilibraries/ghc-prim/.
 -optP-include -optPlibraries/ghc-prim/dist-
 install/build/./autogen/cabal_macros.h -package-id rts -this-unit-id ghc-
 prim -XHaskell2010 -O -dcore-lint  -no-user-package-db -rtsopts  -Wno-
 trustworthy-safe -Wno-deprecated-flags     -Wnoncanonical-monad-instances
 -odir libraries/ghc-prim/dist-install/build -hidir libraries/ghc-prim
 /dist-install/build -stubdir libraries/ghc-prim/dist-install/build
 -dynamic-too -c libraries/ghc-prim/./GHC/CString.hs -o libraries/ghc-prim
 /dist-install/build/GHC/CString.o -dyno libraries/ghc-prim/dist-
 install/build/GHC/CString.dyn_o
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 8.7.20181207 for x86_64-unknown-linux):
         Ix{Int}.index: Index (33619973) out of range ((0,821))

 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

 libraries/ghc-prim/ghc.mk:4: recipe for target 'libraries/ghc-prim/dist-
 install/build/GHC/CString.o' failed
 make[1]: *** [libraries/ghc-prim/dist-install/build/GHC/CString.o] Error 1
 Makefile:123: recipe for target 'all' failed
 make: *** [all] Error 2
 }}}

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


More information about the ghc-tickets mailing list