[GHC] #11261: Implement DWARF debugging on powerpc64

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.2.1 Component: Compiler | Version: 7.11 (CodeGen) | Keywords: | Operating System: Linux Architecture: powerpc64 | Type of failure: Incorrect result | at runtime Test Case: debug, T10667 | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- debug: {{{ ghc-stage2: panic! (the 'impossible' happened) (GHC version 7.11.20151219 for powerpc64-unknown-linux): dwarfReturnRegNo: Unsupported platform! CallStack (from ImplicitParams): error, called at compiler/nativeGen/Dwarf/Constants.hs:224:19 in ghc:Dwarf.Constants Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} Provide DWARF constants for registers. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64
-------------------------------------+-------------------------------------
Reporter: trommler | Owner: trommler
Type: bug | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 7.11
(CodeGen) |
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Incorrect result | Test Case: debug, T10667
at runtime |
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11261: Implement DWARF debugging on powerpc64
-------------------------------------+-------------------------------------
Reporter: trommler | Owner: trommler
Type: bug | Status: new
Priority: normal | Milestone: 8.2.1
Component: Compiler | Version: 7.11
(CodeGen) |
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Incorrect result | Test Case: debug, T10667
at runtime |
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, T10667 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * milestone: 8.2.1 => 8.4.1 Comment: It seems unlikely that this will happen for 8.2. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.4.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by trommler): * testcase: debug, T10667 => debug, T10667, simplCore/should_compile/T13658 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64
-------------------------------------+-------------------------------------
Reporter: trommler | Owner: trommler
Type: bug | Status: new
Priority: normal | Milestone: 8.4.1
Component: Compiler | Version: 7.11
(CodeGen) |
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Incorrect result | Test Case: debug,
at runtime | T10667,
| simplCore/should_compile/T13658
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11261: Implement DWARF debugging on powerpc64
-------------------------------------+-------------------------------------
Reporter: trommler | Owner: trommler
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 7.11
(CodeGen) |
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc64
Type of failure: Incorrect result | Test Case: debug,
at runtime | T10667,
| simplCore/should_compile/T13658
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by admock): What's required to add this? I'd like to get this working to make the other powerpc64 issues easier to fix. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by admock): * cc: admock (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:10 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: trommler Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by trommler): Replying to [comment:9 admock]:
What's required to add this? I have started work on this two years ago in my github repository [https://github.com/trommler/ghc/tree/T11261].
The issue where I got stuck was that I could not find a way to tell a function label apart from other label types. In the ppc64 ABI a function label is the label of a function descriptor but for debug information I need the label of the function code. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:11 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by trommler): * owner: trommler => (none) Comment: I have no bandwidth to work on this at the moment. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.8.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by admock): Replying to [comment:11 trommler]:
Replying to [comment:9 admock]:
What's required to add this? I have started work on this two years ago in my github repository [https://github.com/trommler/ghc/tree/T11261].
The issue where I got stuck was that I could not find a way to tell a function label apart from other label types. In the ppc64 ABI a function label is the label of a function descriptor but for debug information I need the label of the function code.
Thanks. I won't have any time to look at this for a couple of weeks, but I've wanted this a few times so I'll give it a shot. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11261: Implement DWARF debugging on powerpc64 -------------------------------------+------------------------------------- Reporter: trommler | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: 8.10.1 Component: Compiler | Version: 7.11 (CodeGen) | Resolution: | Keywords: DWARF Operating System: Linux | Architecture: powerpc64 Type of failure: Incorrect result | Test Case: debug, at runtime | T10667, | simplCore/should_compile/T13658 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * keywords: => DWARF -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11261#comment:15 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC