Date: Tue, 9 Apr 2013 21:24:43 +0400 From: Lev Serebryakov <lev@FreeBSD.org> To: deeptech71 <deeptech71@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: building world and kernel without ebuilding ("bootstrap"?) clang? Message-ID: <810652246.20130409212443@serebryakov.spb.ru> In-Reply-To: <51634D82.9060901@gmail.com> References: <51634D82.9060901@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, deeptech71. You wrote 9 =D0=B0=D0=BF=D1=80=D0=B5=D0=BB=D1=8F 2013 =D0=B3., 3:06:42: d> There are some issues when building "updated" sources [1]. There d> was a thread about adding support for an "external" compiler [2], d> but that yielded a non-working solution [3]. Ok, World build time was reduced from 1:27 to just 0:27. building clang and binutils twice takes one hour (!!!!!)? or 2/3 of buildworld time!. But, of course, headers should be equivalent to ones in sources. Also, disabled binutils lead to inability to install worils (install -s doesn't work). Returning binutils to build (to allow `install -s' works) yelds only 1 or 2 minutes, Ok. It is very sad, that external compiler cannot be used with "fresh" sources (when headers are different). We need some solution for this, for sure! When compilers are identical (same clang revision), but sources has updated headers. It does proper trick with libraries, but not with headers! Also, it should be possible to use system strip in such case. --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?810652246.20130409212443>