[GHC] #15207: bad dwarf frame in stgRun.c when compiled with with gcc on mac and assembled by as/gcc/clang (aka apple clang assembler)
GHC
ghc-devs at haskell.org
Sun Jun 3 20:12:52 UTC 2018
#15207: bad dwarf frame in stgRun.c when compiled with with gcc on mac and
assembled by as/gcc/clang (aka apple clang assembler)
-------------------------------------+-------------------------------------
Reporter: carter | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Runtime System | Version: 8.4.3
Resolution: | Keywords:
Operating System: MacOS X | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): D4780
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by carter):
* differential: => D4780
Comment:
https://phabricator.haskell.org/D4780 for a candidate patch. Not perfect,
and may have other issues, but fixes the mac build without impacting other
platforms.
I'm not 100% sure i'm fixing it perfectly, but it definitly has zero
impact on non-darwin platforms, and my understanding is this particular
dwarf data only works in the presence of the RTS support for stack walking
which is exclusive to ELF platforms?
Or is there a fundamental error in this fix?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15207#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list