I'd be keen to see Mac support. How can I help out to test that for 8.0?<br><br>On Tuesday, November 17, 2015, Ben Gamari <<a href="mailto:ben@smart-cactus.org">ben@smart-cactus.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Richard Eisenberg <<a href="javascript:;" onclick="_e(event, 'cvml', 'eir@cis.upenn.edu')">eir@cis.upenn.edu</a>> writes:<br>
<br>
> On Nov 4, 2015, at 11:12 AM, Peter Trommler <<a href="javascript:;" onclick="_e(event, 'cvml', 'Peter.Trommler@th-nuernberg.de')">Peter.Trommler@th-nuernberg.de</a>> wrote:<br>
><br>
>> It looks like a bug to me.<br>
><br>
> I'm taking your "it" here to mean the fact that GHC is looking for<br>
> readelf on a Mac OS platform. I tend to agree -- I was surprised to<br>
> see this, but I'm almost-totally clueless about these things.<br>
><br>
> Thanks for the info,<br>
> Richard<br>
><br>
> PS: There's been much muttering about call stacks and DWARF. I haven't<br>
> a clue what DWARF is, but I always assumed that this nice feature<br>
> would not be available on Macs. What I realized today is that this<br>
> assumption likely stems from the fact that ELF is not for Mac. ELFs<br>
> and DWARFs tend to be found near one another in other settings, but<br>
> perhaps this fact doesn't carry over to computer architectures. :)<br>
><br>
DWARF is a standard for expressing debug information about compiled<br>
native programs. It is used by almost all modern operating systems<br>
(including OS X; the only notable exception is Windows, naturally).<br>
Indeed the name is a not-so-subtle reference to the fact that DWARF<br>
debug information will often be found within ELF object files.<br>
<br>
Recently I have been working on using the mechanisms that came out of<br>
Peter Wortmann's thesis to provide better stack traces and (statistical)<br>
profiling support for Haskell code. While at the moment I am focusing on<br>
Linux, there is little reason why this couldn't (fairly easily, I<br>
suspect) be extended to work on OS X.<br>
<br>
Cheers,<br>
<br>
- Ben<br>
</blockquote>