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

Garrett Cooper youshi10 at u.washington.edu
Tue Jun 19 02:51:26 UTC 2007


    make.conf:

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

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

    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.

Thanks,
-Garrett


More information about the freebsd-current mailing list