[GHC] #10468: debug test case fails on Windows

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 (Debugging) | Operating System: Windows Keywords: | Type of failure: None/Unknown Architecture: | Blocked By: Unknown/Multiple | Related Tickets: Test Case: debug | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- 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 `,' srcdebug.hs:(3,1)-(5,29) srcdebug.hs:3:9 srcdebug.hs:4:9 srcdebug.hs:5:13-17 srcdebug.hs:5:14 srcdebug.hs:5:21-29 srcdebug.hs:5:25-29 srcdebug.hs:5:26 srcdebug.hs:5:9-17 srcdebug.hs:5:9-29 srcdebug.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? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 (Debugging) | Keywords: Resolution: | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: debug Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by scpmw): Never got around to testing Windows... Fortunately less work than I had feared. The attached patch makes things work to the point where we can compile everything with `-g` and use gdb on the product. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 7.11 (Debugging) | Keywords: Resolution: | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: debug Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by ezyang): * status: new => patch Comment: Not qualified to review the patch, but looks reasonable to me. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: patch Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.11 (Debugging) | Keywords: Resolution: | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: debug Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * milestone: => 7.10.2 Comment: I confirm that the test succeeds on 64 bit Windows after applying this patch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10468: debug test case fails on Windows
-------------------------------------+-------------------------------------
Reporter: ezyang | Owner: scpmw
Type: bug | Status: patch
Priority: normal | Milestone: 7.10.2
Component: Compiler | Version: 7.11
(Debugging) | Keywords:
Resolution: | Architecture:
Operating System: Windows | Unknown/Multiple
Type of failure: None/Unknown | Test Case: debug
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by Austin Seipp

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: merge Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.11 (Debugging) | Keywords: Resolution: | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: debug Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: patch => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10468: debug test case fails on Windows -------------------------------------+------------------------------------- Reporter: ezyang | Owner: scpmw Type: bug | Status: closed Priority: normal | Milestone: 7.10.2 Component: Compiler | Version: 7.11 (Debugging) | Keywords: Resolution: fixed | Architecture: Operating System: Windows | Unknown/Multiple Type of failure: None/Unknown | Test Case: debug Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-7.10`. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10468#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC