[GHC] #15780: ghc-8.4.4 failed to build on armv7 and aarch64

GHC ghc-devs at haskell.org
Fri Oct 19 04:14:32 UTC 2018


#15780: ghc-8.4.4 failed to build on armv7 and aarch64
-------------------------------------+-------------------------------------
           Reporter:  juhpetersen    |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.4.4
           Keywords:                 |  Operating System:  Linux
       Architecture:  arm            |   Type of failure:  Building GHC
                                     |  failed
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 ghc-8.4.4 is failing to build for me on Fedora ARM archs (both 32bit and
 64bit).

 https://koji.fedoraproject.org/koji/taskinfo?taskID=30284522

 They both fail in the same way:
 {{{
 "inplace/bin/ghc-stage1" -static  -H32m -O -Wall   -Iincludes
 -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
 ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id
 rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build
 -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
 -Wcpp-undef    -Wnoncanonical-monad-instances  -c rts/HeapStackCheck.cmm
 -o rts/dist/build/HeapStackCheck.o
 "inplace/bin/ghc-stage1" -static  -H32m -O -Wall   -Iincludes
 -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-
 ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -this-unit-id
 rts -dcmm-lint      -i -irts -irts/dist/build -Irts/dist/build
 -irts/dist/build/./autogen -Irts/dist/build/./autogen            -O2
 -Wcpp-undef    -Wnoncanonical-monad-instances  -c rts/StgMiscClosures.cmm
 -o rts/dist/build/StgMiscClosures.o
 ghc-stage1: panic! (the 'impossible' happened)
   (GHC version 8.4.4 for aarch64-unknown-linux):
         padLiveArgs -- i > regNum ??
 CallStack (from HasCallStack):
   error, called at compiler/llvmGen/LlvmCodeGen/Base.hs:194:27 in
 ghc:LlvmCodeGen.Base
 Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
 make[1]: *** [rts/ghc.mk:295: rts/dist/build/HeapStackCheck.o] Error 1
 }}}

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


More information about the ghc-tickets mailing list