pkg_add : works fine when compiled normally ; segfaults when gprof'ed

Garrett Cooper youshi10 at
Tue Jun 19 02:51:26 UTC 2007


CFLAGS          = -O2 -pipe -fno-strict-aliasing
CPUTYPE         = pentium4
MAKEOPTS        = -j3

.if defined(MK_PROFILED_BIN) && ${MK_PROFILED_BIN} != 0
CFLAGS += -g -pg

    When I compile pkg_install, I set MK_PROFILED_BIN to 1.

    This is on an i386 system synced and recompiled yesterday. I deleted 
/usr/obj before recompiling everything.


More information about the freebsd-current mailing list