fprof under OS X

david wallin david.wallin@REDACTED
Thu Feb 13 17:50:03 CET 2003


Many thanks Sean.

--david.

On Thursday, February 13, 2003, at 01:16 PM, Sean Hinde wrote:

> Ah, yes. The culprit is the driver makefile in the runtime tools app.
>  
> This error occurs when the shared lib is linked with ld rather than 
> Apples cc.
>  
> The normal fix is to change ld to cc..
>  
> I'll try to have a bash at fixing it but I've upgraded my OS and need 
> to re-configure again... It will take some time.
>  
> Sean
>  
>
> -----Original Message-----
> From: david wallin [mailto:david.wallin@REDACTED]
> Sent: 12 February 2003 18:10
> To: Sean Hinde
> Cc: Erlang-Questions
> Subject: Re: fprof under OS X
>
> Erlang (BEAM) emulator version 5.2 [source] [shared heap]
>
>
> Eshell V5.2 (abort with ^G)
>
> 1> misc:fprof_test().
>
> dyld: /usr/local/stow/erlang-R9B/lib/erlang/erts-5.2/bin/beam 
> Undefined symbols:
>
> dyld_stub_binding_helper
>
> Trace/BPT trap
>
>
>
> Where fprof_test/0 looks like this:
>
>
> fprof_test() ->
>
>
> fprof:trace(start),
>
> chi_square_test(fun() -> random:uniform(10) end, 1000, 10),
>
> fprof:trace(stop),
>
> fprof:profile(),
>
> fprof:analyse().
>
>
> cheers,
>
>
> --david.
>
>
> On Wednesday, February 12, 2003, at 06:03 PM, Sean Hinde wrote:
>
>
> > While I'm at it. This is probably already a known issue, (but I can't
>
> > find the public bug database...) fprof isn't working under Mac OS X
>
> > (jaguar). This is under R9B-0 with a patch from the mailing
>
> > list applied
>
> > (helps loading some dynamic drivers).
>
>
> What problema are you having? I don't think there are any drivers 
> involved in profiling so it should be as cross platform as Erlang 
> itself..
>
>
> Sean
>
>
>
>
> NOTICE AND DISCLAIMER:
>
> This email (including attachments) is confidential.  If you have 
> received this email in error please notify the sender immediately and 
> delete this email from your system without copying or disseminating it 
> or placing any reliance upon its contents.  We cannot accept liability 
> for any breaches of confidence arising through use of email.  Any 
> opinions expressed in this email (including attachments) are those of 
> the author and do not necessarily reflect our opinions.  We will not 
> accept responsibility for any commitments made by our employees 
> outside the scope of our business.  We do not warrant the accuracy or 
> completeness of such information.
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3112 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20030213/a2739a1c/attachment.bin>


More information about the erlang-questions mailing list