Skip to content

debug test case fails on Windows

Here's the make output:

$ make debug
# Without optimisations, we should get annotations for basically
# all expressions in the example program.
echo == Dbg ==
== Dbg ==
'C:/msys64/home/ezyang/ghc-validate/inplace/bin/ghc-stage2.exe' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-db -rtsopts  -fno-warn-tabs debug -fforce-recomp -g -dppr-ticks -ddump-cmm \
        | grep -o src\<debug.hs:.*\> | sort -u
C:\msys64\tmp\ghc21036_0\ghc21036_2.s: Assembler messages:
C:\msys64\tmp\ghc21036_0\ghc21036_2.s:421: Error: junk at end of line, first unrecognized character is `,'
C:\msys64\tmp\ghc21036_0\ghc21036_2.s:508: Error: junk at end of line, first unrecognized character is `,'
C:\msys64\tmp\ghc21036_0\ghc21036_2.s:557: Error: junk at end of line, first unrecognized character is `,'
C:\msys64\tmp\ghc21036_0\ghc21036_2.s:559: Error: junk at end of line, first unrecognized character is `,'
src<debug.hs:(3,1)-(5,29)>
src<debug.hs:3:9>
src<debug.hs:4:9>
src<debug.hs:5:13-17>
src<debug.hs:5:14>
src<debug.hs:5:21-29>
src<debug.hs:5:25-29>
src<debug.hs:5:26>
src<debug.hs:5:9-17>
src<debug.hs:5:9-29>
src<debug.hs:6:1-21>
./debug
make: ./debug: Command not found
Makefile:9: recipe for target 'debug' failed
make: *** [debug] Error 127

Peter, can you take a look?

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