building world and kernel without ebuilding ("bootstrap"?) clang?
Lev Serebryakov
lev at FreeBSD.org
Tue Apr 9 17:24:58 UTC 2013
Hello, deeptech71.
You wrote 9 апреля 2013 г., 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.
--
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>
More information about the freebsd-hackers
mailing list