7+ days of dogfood

Fabian Keil freebsd-listen at fabiankeil.de
Mon Feb 11 18:05:02 UTC 2013

Glen Barber <gjb at FreeBSD.org> wrote:

> On Mon, Feb 11, 2013 at 02:56:47PM +0100, Fabian Keil wrote:
> > >                                  WITHOUT_GCC=yes in src.conf is
> > > worthwhile.  WITHOUT_GDB=yes is probably also sensible, as the gdb in
> > > base is so old that it doesn't understand most of the DWARF that
> > > clang uses.  We should have lldb ready for import in a few months,
> > > but until then using gdb from ports is more sensible if you plan on
> > > actually doing any debugging.
> > 
> > So far I didn't consider not building gdb, but I agree that it's
> > not too useful when compiling with clang and am already using
> > gdb751 for debugging anyway.
> > 
> > My impression was that the base gdb compiles rather quickly
> > (compared to more recent versions) and that it thus wouldn't
> > matter, but I'll give it a try.
> > 
> > Thanks for the suggestion.
> > 
> You might also want to try MALLOC_PRODUCTION=1 in make.conf.  This took
> my buildworld/buildkernel times from 35/15 minutes to 8/5 minutes,
> respectively.

I've been using MALLOC_PRODUCTION since before I started collecting
build times and don't remember the impact, but I think the difference
was less impressive than in your case and the massive slowdowns that
are now supposed to be fixed only happened "recently" (after 2010)
and thus never affected me. Thanks, though.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130211/a6e90ed1/attachment.sig>

More information about the freebsd-current mailing list