[GHC] #7640: Crash in stg_ap_p_fast on ARM on executable output by registerised/LLVM cross compiler
GHC
cvs-ghc at haskell.org
Thu Jan 31 15:03:10 CET 2013
#7640: Crash in stg_ap_p_fast on ARM on executable output by registerised/LLVM
cross compiler
----------------------------------+-----------------------------------------
Reporter: StephenBlackheath | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (LLVM) | Version: 7.7
Keywords: | Os: Unknown/Multiple
Architecture: arm | Failure: Runtime crash
Difficulty: Unknown | Testcase:
Blockedby: | Blocking: 7623
Related: |
----------------------------------+-----------------------------------------
Changes (by simonmar):
* difficulty: => Unknown
Comment:
This might be another symptom of these bugs I fixed yesterday:
{{{
commit 490920583817a650e45956025fce64af2ea1bb92
Author: Simon Marlow <marlowsd at gmail.com>
Date: Wed Jan 30 15:42:01 2013 +0000
We should be including HaskellMachRegs.h here, not RtsMachRegs.h
This was causing GenApply.hs to use the host architecture's register
settings rather than the target's, with the result that some
cross-compiled programs would crash.
commit a217e7a27a8d48095e2e276ed07a203254bf8743
Author: Simon Marlow <marlowsd at gmail.com>
Date: Wed Jan 30 19:40:07 2013 +0000
include "stg/MachRegs.h" -> include "MachRegs.h"
We were getting the installed compiler's MachRegs.h sometimes (in
GenApply.hs, as it turns out). This probably caused some weird
effects...
}}}
these were causing similar kinds of crashes with an RPi cross compiler.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7640#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list