Re: [ANNOUNCE] GHC 7.10.3 release candidate 1

On Nov 4, 2015, at 11:12 AM, Peter Trommler
It looks like a bug to me.
I'm taking your "it" here to mean the fact that GHC is looking for readelf on a Mac OS platform. I tend to agree -- I was surprised to see this, but I'm almost-totally clueless about these things. Thanks for the info, Richard PS: There's been much muttering about call stacks and DWARF. I haven't a clue what DWARF is, but I always assumed that this nice feature would not be available on Macs. What I realized today is that this assumption likely stems from the fact that ELF is not for Mac. ELFs and DWARFs tend to be found near one another in other settings, but perhaps this fact doesn't carry over to computer architectures. :)
Cheers,
Peter
On 04.11.2015, at 16:46, Richard Eisenberg
wrote: I can't build 7.10.3 RC1 because I don't have readelf. ./configure says this:
checking for readelf... no configure: error: cannot find readelf in your PATH
A (very) quick search has turned up no help. I'm worried that my problem is that I'm still running Mac OS 10.8.5 (Snow Leopard? I never could keep track of all the animals... and now mountains.) I *really* don't want to upgrade, as I tried 10.9 once and it brought my system to its knees... had to reformat to downgrade back to 10.8.
Help?
Thanks! Richard
-- Prof. Dr. Peter Trommler email: peter.trommler@th-nuernberg.de Technische Hochschule Nuernberg phone: +49-911-58 80-16 63 Faculty of Computer Science fax: +49-911-58 80-56 66 Postfach 31 03 20, 90121 Nuernberg office: Hohfederstrasse 40, 90489 Nuernberg

Richard Eisenberg
On Nov 4, 2015, at 11:12 AM, Peter Trommler
wrote: It looks like a bug to me.
I'm taking your "it" here to mean the fact that GHC is looking for readelf on a Mac OS platform. I tend to agree -- I was surprised to see this, but I'm almost-totally clueless about these things.
Thanks for the info, Richard
PS: There's been much muttering about call stacks and DWARF. I haven't a clue what DWARF is, but I always assumed that this nice feature would not be available on Macs. What I realized today is that this assumption likely stems from the fact that ELF is not for Mac. ELFs and DWARFs tend to be found near one another in other settings, but perhaps this fact doesn't carry over to computer architectures. :)
DWARF is a standard for expressing debug information about compiled native programs. It is used by almost all modern operating systems (including OS X; the only notable exception is Windows, naturally). Indeed the name is a not-so-subtle reference to the fact that DWARF debug information will often be found within ELF object files. Recently I have been working on using the mechanisms that came out of Peter Wortmann's thesis to provide better stack traces and (statistical) profiling support for Haskell code. While at the moment I am focusing on Linux, there is little reason why this couldn't (fairly easily, I suspect) be extended to work on OS X. Cheers, - Ben

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