Date: Sun, 7 Aug 2011 22:38:51 +0800 From: majia gm <gmmajia@gmail.com> To: Dimitry Andric <dim@freebsd.org> Cc: freebsd-toolchain@freebsd.org Subject: Re: [help] rebuild libc failed Message-ID: <CAPgsGw_HgpiPsQ7vzEAVZZ-Rgg%2BfwSzCdyrAeL9uAEdU_prGDw@mail.gmail.com> In-Reply-To: <4E3A70BB.4020503@FreeBSD.org> References: <CAPgsGw-jN1j3onmTsT7Q6yR=0o_LLSa7Ur4WpGKL1QJ5Dh=W3Q@mail.gmail.com> <4E3A70BB.4020503@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
2011/8/4 Dimitry Andric <dim@freebsd.org>: > On 2011-08-04 10:38, majia gm wrote: >> >> I'm building the libc code which derived from a current trunk >> mirror/freebsd/head under PCBSD 8.2 which contains FreeBSD 8.2 >> release. >> I'm trying to test the modified libc by using LD_LIBRARY_PATH. But >> failed to build it. >> I change the current direcotry into head/lib/libc and run make. > > You cannot always do this, especially not when going from 8.2 to head, > because you need to build a toolchain first, which includes updated > headers and other components. > > It's probably best to just run "make buildworld", which will take care > of everything. =A0Otherwise, run "make toolchain" first, followed by "mak= e > buildenv". =A0In that build environment, you can just change to the > lib/libc directory and run make. > > NOTE: Do *not* install the updated libc if you are running an old > kernel, or you will most likely hose your system. > Thanks guys. "make toolchain" works for me.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPgsGw_HgpiPsQ7vzEAVZZ-Rgg%2BfwSzCdyrAeL9uAEdU_prGDw>