Skip to content

Assertion failed in rts/Schedule.c in Stage 2 on ARM

Compiling a registerised ARM build against LLVM results in an unusable stage 2 (ghc-7.4 branch, ). First build using stage2 fails with,

"inplace/bin/ghc-stage2" -H64m -Rghc-timing -i -iutils/ghctags/. -iutils/ghctags/dist-install/build -iutils/ghctags/dist-install/build/autogen -Iutils/ghctags/dist-install/build -Iutils/ghctags/dist-install/build/autogen -package ghc -no-user-package-conf -rtsopts -odir utils/ghctags/dist-install/build -hidir utils/ghctags/dist-install/build -stubdir utils/ghctags/dist-install/build -hisuf hi -osuf o -hcsuf hc -c utils/ghctags/./Main.hs -o utils/ghctags/dist-install/build/Main.o "inplace/bin/ghc-stage2" -H64m -Rghc-timing -package-name haskell98-2.0.0.1 -hide-all-packages -i -ilibraries/haskell98/. -ilibraries/haskell98/dist-install/build -ilibraries/haskell98/dist-install/build/autogen -Ilibraries/haskell98/dist-install/build -Ilibraries/haskell98/dist-install/build/autogen -Ilibraries/haskell98/. -optP-include -optPlibraries/haskell98/dist-install/build/autogen/cabal_macros.h -package array-0.4.0.0 -package base-4.5.0.0 -package directory-1.1.0.2 -package old-locale-1.0.0.4 -package old-time-1.1.0.0 -package process-1.1.0.1 -package time-1.4 -XHaskell98 -XCPP -O -fllvm -no-user-package-conf -rtsopts -odir libraries/haskell98/dist-install/build -hidir libraries/haskell98/dist-install/build -stubdir libraries/haskell98/dist-install/build -hisuf hi -osuf o -hcsuf hc -c libraries/haskell98/./Prelude.hs -o libraries/haskell98/dist-install/build/Prelude.o ghc-stage2: internal error: ASSERTION FAILED: file rts/Schedule.c, line 506

(GHC version 7.4.0.20120126 for arm_unknown_linux)

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

ghc-stage2: internal error: ASSERTION FAILED: file rts/Schedule.c, line 506

(GHC version 7.4.0.20120126 for arm_unknown_linux)

Aborted

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

Trac metadata
Trac field Value
Version
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information