
#16045: improve dwarf support on OSX ---------------------------------+-------------------------------------- Reporter: carter | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.7 Resolution: | Keywords: Operating System: MacOS X | Architecture: x86_64 (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+-------------------------------------- Comment (by carter): the near term fix is to disable the dwarf annnotations in stgcrun.c so that the CI distro builds can have the nice RTS, when built on OSX with GCC (we should still test the clang + info path). longer term: we need to understand if theres a way to work around the section limits when base is built with -g1 / g2/ g3 with the machO object format. one option might be use dsym files instead of putting the data in the object files? lots to poke at to understand whats going on and if its an llvm/apple bug, a fundamental macho dwarf issue given the current macho object format, or if we just need to be more clever on OSX / macho targets longer long term: find a macho dwarf unwindingin stack walker code base we like! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/16045#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler