Since bug#680277 optimized builds always add -fomit-frame-pointer after user CFLAGS which makes it harder to capture callchain information using pmcstat(8), dtrace(1) or gdb(1). And since --enable-optimize is enabled by default there is no way around short of defining WITH_DEBUG that may have undesirable effects, e.g. CFLAGS := ${CFLAGS:N-O*:N-fno-strict*} ${DEBUG_FLAGS} # from bsd.port.mk MOZ_DEBUG_ENABLE_DEFS="-DDEBUG -D_DEBUG -DTRACING" # from configure.in How-To-Repeat: $ cd www/firefox; make install STRIP= $ firefox & $ pmcstat -t firefox -P instructions -T and look at the CALLERS column for libxul.so
Responsible Changed From-To: freebsd-ports-bugs->gecko bsd.gecko.mk is gecko territory (via the GNATS Auto Assign Tool)
Responsible Changed From-To: gecko->beat I'll take it.
beat 2011-10-23 18:31:57 UTC FreeBSD ports repository Modified files: Mk bsd.gecko.mk Log: - Remove some vendor optimization for WITHOUT_OPTIMIZED_CFLAGS PR: ports/161463 Submitted by: Nali Toja <nalitoja AT gmail.com> Revision Changes Path 1.44 +4 -4 ports/Mk/bsd.gecko.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!