From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 9 17:24:58 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 886C5F0B for ; Tue, 9 Apr 2013 17:24:58 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB11B09 for ; Tue, 9 Apr 2013 17:24:58 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:900d:c887:884e:713b]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id D88964AC58; Tue, 9 Apr 2013 21:24:46 +0400 (MSK) Date: Tue, 9 Apr 2013 21:24:43 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <810652246.20130409212443@serebryakov.spb.ru> To: deeptech71 Subject: Re: building world and kernel without ebuilding ("bootstrap"?) clang? In-Reply-To: <51634D82.9060901@gmail.com> References: <51634D82.9060901@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Apr 2013 17:24:58 -0000 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