[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 17 13:41:28 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: infoneeded
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): Phab:D4781
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by bgamari):
Sigh; this is all just very unfortunate. It seems that there is something
funny about Apple's clang (surprise surprise!) The patch as-merged breaks
under standard Clang, which apparently inserts the necessary CFI
directives into inline assembler, just as GCC does. I'm going to revert
until we have a better understanding of what is going on here.
Carter, can you look into precisely when this happens? Specifically which
Clang version are you seeing break? Which Clang versions work?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15207#comment:19>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list