Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,252
    • Issues 5,252
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 561
    • Merge requests 561
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #11261
Closed
Open
Issue created Dec 19, 2015 by Peter Trommler@trommler🥁Developer0 of 5 checklist items completed0/5 checklist items

Implement DWARF debugging on powerpc64

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.

Still TODO:

  • add unwinding information to StgCRun to ensure that the unwinder can unwind from Haskell into C
  • to support the RTS unwinder: add support to the initial register callback set_initial_registers in rts/Libdw.c
  • Valid unwind records in stg_stop_thread (defined in rts/StgStartup.cmm)
  • Support in the native code generator (by implementing the extractUnwindPoints field of NcgImpl)
  • Unwinding support in libdw
Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler (CodeGen)
Test case debug, T10667
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Edited Jun 01, 2020 by Peter Trommler
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking