Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] Programs compiled with -p abort with Segmentation Fault.


  • To: Dmitry Fink <finikk@xxxxxxxxx>
  • Subject: Re: [arm-gnu] Programs compiled with -p abort with Segmentation Fault.
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Thu, 15 May 2008 21:44:57 -0700

Dmitry Fink wrote:

I'm compiling a simple "Hello world" with -p option. When I run it, I get Segmentation fault from mcount (it seems like the first call to mcount right from the start of main():

Please try using "-pg" (gprof profiling) instead of "-p" (plain prof).

Thanks,

--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713