DragonFly bugs List (threaded) for 2012-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
[DragonFlyBSD - Bug #2325] compiling c++ program in profile mode doesn't work
Issue #2325 has been reported by Pierre Abbat.
----------------------------------------
Bug #2325: compiling c++ program in profile mode doesn't work
http://bugs.dragonflybsd.org/issues/2325
Author: Pierre Abbat
Status: New
Priority: Normal
Assignee:
Category:
Target version:
phma@darner:/tmp$ g++ -pg -o proftest proftest.cpp
/usr/libexec/binutils222/elf/ld.bfd: cannot find -lm_p
phma@darner:/tmp$ g++ -p -o proftest proftest.cpp
consider using '-pg' instead of '-p' with gprof(1)
/usr/libexec/binutils222/elf/ld.bfd: cannot find -lm_p
The same command succeeds on Linux. I noticed this when trying to profile a much larger program which is a CMake project; the attached program is a minimal program for getting anything useful out of gprof (or would if the loop count were bigger).
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]