[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
Mon Dec 3 17:22:51 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.8.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 carter):

 Ben: you mean the base being too big for macho object format?

 I agree it’s a problem.

 I’m confused though : do you mean unwind the stack using the stack walker
 that only supports ELF FORMATS only at the moment. Or do you mean gdb /
 lldb being informative for debugging in general? OS X doesn’t get the
 stack walker at the moment anyways , so that’s only a forward looking
 issue afaict ;)

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15207#comment:41>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list