Neil Conway <nconway(at)klamath(dot)dyndns(dot)org> writes:
> /usr/libexec/elf/ld: cannot find -lc_p
Ugh. Looks like you don't have a complete installation of profiling
support code. I suspect you'll find that compiling "hello world" with
-pg doesn't work either.
Profiling works OK for me, but I don't have time right now to
reverse-engineer all the details of your test case. If you'll send me a
complete script to reproduce what you're doing, I'll try to take a look.
regards, tom lane