[GHC] #7490: ghc-stage1 panic when building a cross-compiler or cross-building a compiler

GHC cvs-ghc at haskell.org
Thu Jan 31 22:28:38 CET 2013


#7490: ghc-stage1 panic when building a cross-compiler or cross-building a
compiler
----------------------------------+-----------------------------------------
    Reporter:  singpolyma         |       Owner:  igloo              
        Type:  bug                |      Status:  new                
    Priority:  high               |   Milestone:  7.8.1              
   Component:  Compiler           |     Version:  7.7                
    Keywords:  cross-compilation  |          Os:  Unknown/Multiple   
Architecture:  Unknown/Multiple   |     Failure:  Building GHC failed
  Difficulty:  Unknown            |    Testcase:                     
   Blockedby:                     |    Blocking:                     
     Related:                     |  
----------------------------------+-----------------------------------------
Description changed by igloo:

Old description:

> "inplace/bin/ghc-stage1" -static  -H64m -O0 -fasm    -package-name
> integer-simple-0.1.1.0 -hide-all-packages -i -ilibraries/integer-simple/.
> -ilibraries/integer-simple/dist-install/build -ilibraries/integer-simple
> /dist-install/build/autogen -Ilibraries/integer-simple/dist-install/build
> -Ilibraries/integer-simple/dist-install/build/autogen -Ilibraries
> /integer-simple/.    -optP-include -optPlibraries/integer-simple/dist-
> install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0  -package-
> name integer-simple -Wall -XHaskell98 -XCPP -XMagicHash -XBangPatterns
> -XUnboxedTuples -XForeignFunctionInterface -XUnliftedFFITypes
> -XNoImplicitPrelude -O -fasm  -no-user-package-db -rtsopts      -odir
> libraries/integer-simple/dist-install/build -hidir libraries/integer-
> simple/dist-install/build -stubdir libraries/integer-simple/dist-
> install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/integer-
> simple/./GHC/Integer/Type.hs -o libraries/integer-simple/dist-
> install/build/GHC/Integer/Type.o
> ghc-stage1: panic! (the 'impossible' happened)
>   (GHC version 7.7.20121205 for i386-unknown-nto-qnx):
>         expectJust initTcInteractive
>
> Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
>
> make[1]: *** [libraries/integer-simple/dist-
> install/build/GHC/Integer/Type.o] Error 1
> make: *** [all] Error 2

New description:

 {{{
 "inplace/bin/ghc-stage1" -static  -H64m -O0 -fasm    -package-name
 integer-simple-0.1.1.0 -hide-all-packages -i -ilibraries/integer-simple/.
 -ilibraries/integer-simple/dist-install/build -ilibraries/integer-simple
 /dist-install/build/autogen -Ilibraries/integer-simple/dist-install/build
 -Ilibraries/integer-simple/dist-install/build/autogen -Ilibraries/integer-
 simple/.    -optP-include -optPlibraries/integer-simple/dist-
 install/build/autogen/cabal_macros.h -package ghc-prim-0.3.1.0  -package-
 name integer-simple -Wall -XHaskell98 -XCPP -XMagicHash -XBangPatterns
 -XUnboxedTuples -XForeignFunctionInterface -XUnliftedFFITypes
 -XNoImplicitPrelude -O -fasm  -no-user-package-db -rtsopts      -odir
 libraries/integer-simple/dist-install/build -hidir libraries/integer-
 simple/dist-install/build -stubdir libraries/integer-simple/dist-
 install/build -hisuf hi -osuf  o -hcsuf hc -c libraries/integer-
 simple/./GHC/Integer/Type.hs -o libraries/integer-simple/dist-
 install/build/GHC/Integer/Type.o
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 7.7.20121205 for i386-unknown-nto-qnx):
         expectJust initTcInteractive

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

 make[1]: *** [libraries/integer-simple/dist-
 install/build/GHC/Integer/Type.o] Error 1
 make: *** [all] Error 2
 }}}

--

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



More information about the ghc-tickets mailing list