Re: Can't buildworld since Clang update

From: Eir Nym <eirnym_at_gmail.com>
Date: Tue, 22 Feb 2011 22:21:54 +0300
On 22 February 2011 21:11, Dimitry Andric <dim_at_freebsd.org> wrote:
> On 2011-02-22 18:38, datastream datastream.freecity wrote:
>>
>> In /etc/make.conf, I only add 'CFLAGS+=-fno-omit-frame-pointer'.And
>> removed
>> all files in /usr/obj. /usr/src sync with
>> http://svn.freebsd.org/base/head.
>> #make buildkernel
>
> Before you do "make buildkernel", always run "make buildworld", or at
> least "make kernel-toolchain".  This ensures you have an up-to-date ld
> (and other tools) under /usr/obj.
>
> That said, these steps are normally only needed when e.g. binutils or
> other toolchain components have been upgraded.  This has happened so
> seldom in the past few years, that people seem to have forgotten how
> bootstrapping works. :)

Nope! `make kernel-toolchain` is also important for cross-compile
builds to be sure that anything is done.

> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
Received on Tue Feb 22 2011 - 18:22:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC