gproof issues

yaron o jaron0123 at gmail.com
Thu Nov 9 13:12:19 UTC 2017


Hello all,

I'm trying to compile using spart-rtems-gcc with gprof flags (-ggdb,-pg,
-O2) and I see link error:

/*************************************************************************************************/
/opt/rtems-4.10/lib/gcc/sparc-rtems/4.4.6/../../../../sparc-rtems/bin/ld:
cannot find -lc_p
/*************************************************************************************************/

I downloaded using apt-get libc6-prof packet which includes libc_p.a, but
the linker says that this is not compatible version.

What can I do in this case?
Is it any other right way to compile with profiler?


We use rtems-4.10 version.

Thanks and best regards,
Yaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20171109/4dce642b/attachment.html>


More information about the users mailing list