Opened 7 years ago

Closed 7 years ago

#5822 closed bug (duplicate)

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

Reported by: bgamari Owned by:
Priority: normal Milestone:
Component: Compiler Version:
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description

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

Change History (3)

comment:1 Changed 7 years ago by bgamari

Resolution: invalid
Status: newclosed

This ended up being #5824.

comment:2 Changed 7 years ago by bgamari

Resolution: invalid
Status: closednew

comment:3 Changed 7 years ago by bgamari

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.