Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2006 12:46:07 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Beech Rintoul <freebsd@alaskaparadise.com>
Subject:   Re: malloc.c
Message-ID:  <200606151246.08363.jhb@freebsd.org>
In-Reply-To: <200606141704.30667.freebsd@alaskaparadise.com>
References:  <200606141704.30667.freebsd@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 14 June 2006 21:04, Beech Rintoul wrote:
> I forgot to define NO_MALLOC_EXTRAS in malloc.c on one of my test machines 
and 
> I'm taking a noticeable performance hit. How do I just rebuild libc without 
> rebuilding userland? This box is only 500 MHz and a system rebuild takes 
> quite a while.

cd /usr/src/lib/libc
make clean
make cleandir
make obj
make depend
make all
make install

Something like that should do it.  You might have to rebuild any statically 
linked binaries as well (/sbin/init and /bin/sh) but fixing libc should 
probably solve most of your problems.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606151246.08363.jhb>