[GHC] #13495: ghc-stage1: panic! (the 'impossible' happened) creating cross compiler for PPC

GHC ghc-devs at haskell.org
Sat Apr 1 10:12:16 UTC 2017


#13495: ghc-stage1: panic! (the 'impossible' happened) creating cross compiler for
PPC
----------------------------------------+-------------------------------
        Reporter:  jms                  |                Owner:  (none)
            Type:  bug                  |               Status:  new
        Priority:  normal               |            Milestone:  8.2.1
       Component:  Compiler             |              Version:  8.0.2
      Resolution:                       |             Keywords:
Operating System:  Linux                |         Architecture:  powerpc
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
       Wiki Page:                       |
----------------------------------------+-------------------------------

Comment (by Sergei Trofimovich <slyfox@…>):

 In [changeset:"74615f412ad3de2910a156ff494bfe5497fada7e/ghc"
 74615f41/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="74615f412ad3de2910a156ff494bfe5497fada7e"
 UNREG: ignore -fllvm (Trac #13495)

 Unregisterised GHC can only use C as a target backend
 (option used to be called -fvia-C). -fasm option was
 ignored with a warhing, but not -fllvm.

 jms noticed the failure when tried to use quick-cross
 build flavour. quick-cross enables -fllvm in makefile.

   "inplace/bin/ghc-stage1" ... -fllvm
   ghc-stage1: panic! (the 'impossible' happened)
     (GHC version 8.0.2 for powerpc-unknown-linux):
           LlvmCodeGen.Ppr: Cross compiling without valid target info.

 This change ignores -fllvm as well.

 Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
 }}}

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


More information about the ghc-tickets mailing list