Forum > General

Using gprof

(1/1)

doconnor:
I use Free Pascal for my webapp, TransSee. I have successfully used Valgrind/Callgrind for profiling, but I wanted a time-based profiler rather then a instruction count based profiler.

I tried to do a compile using the -pg option to enable the gprof profiler, but I get these link errors with ppcx64.


--- Code: ---/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/lib64/libc_nonshared.a(atexit.oS): In function `atexit':
(.text+0x27): undefined reference to `__dso_handle'
/usr/bin/ld: tracker: hidden symbol `__dso_handle' isn't defined
/usr/bin/ld: final link failed: Bad value

--- End code ---

This is running on a Gentoo Linux system.

Navigation

[0] Message Index

Go to full version