Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2024 03:53:46 +0700
From:      Yuri Pankov <yuri@aetern.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Not bootstrapping a cross-compiler
Message-ID:  <e420fb7f-006a-491a-ba6b-558ad9dd1994@aetern.org>
In-Reply-To: <2f7400d8-c997-4784-937f-baed5d9e45b9@FreeBSD.org>
References:  <2f7400d8-c997-4784-937f-baed5d9e45b9@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jochen Neumeister wrote:
> Alloah ML,
> 
> I have a problem here after I just wanted to update CURRENT:
> 
> After a “git pull” in /usr/src I get this error at buildworld:
> 
> 
> make -j12 buildworld
> --- buildworld ---
> make[1]: "/usr/src/Makefile.inc1" line 362: SYSTEM_COMPILER: Determined
> that CC=cc matches the source tree.  Not bootstrapping a cross-compiler.
> make[1]: "/usr/src/Makefile.inc1" line 367: SYSTEM_LINKER: Determined
> that LD=ld matches the source tree.  Not bootstrapping a cross-linker.
> --- buildworld_prologue ---
> --------------------------------------------------------------
>>>> World build started on Wed Nov 20 17:54:39 CET 2024
> --------------------------------------------------------------
> --- _cleanworldtmp ---
>>>> Deleting stale files in build tree...
>         0.13 real         0.22 user         0.11 sys
> *** [_cleanworldtmp] Error code 6
> 
> make[1]: stopped making "buildworld" in /usr/src
> make[1]: 1 error
> 
> make[1]: stopped making "buildworld" in /usr/src
> 
> make: stopped making "buildworld" in /usr/src
> 
> 
> Does anyone have any tips? I can't find anything on google.

The subject is a bit misleading, there are other reports of buildworld
failing in the cleanworld step, e.g.
https://lists.freebsd.org/archives/freebsd-current/2024-October/006494.html
(with somewhat misleading subject as well).

Did you do a `make delete-old-libs` recently? If yes, most likely some
of the bootstrapped binaries that buildworld tries to run were linked to
now removed libraries. Try specifying WITH_CLEAN=yes as WITHOUT_CLEAN is
a default now (or simply remove the relevant /usr/obj/ tree).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e420fb7f-006a-491a-ba6b-558ad9dd1994>