Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2020 15:30:50 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r360444 - head/sys/conf
Message-ID:  <efe7770e-9979-6240-cbf7-392e931a8488@FreeBSD.org>
In-Reply-To: <202004281609.03SG9PHU013278@repo.freebsd.org>
References:  <202004281609.03SG9PHU013278@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/28/20 9:09 AM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Tue Apr 28 16:09:25 2020
> New Revision: 360444
> URL: https://svnweb.freebsd.org/changeset/base/360444
> 
> Log:
>   Don't try ctfconvert on file without debug info.
>   
>   This was currently an ignored error but will change to a hard error
>   eventually.
>   
>   Differential Revision:	https://reviews.freebsd.org/D24536

FYI, this just broke make tinderbox entirely for building head on
older head or stable/12.  The issue is that 'make tinderbox' uses
the host's config binary to run 'config -m' against each kernel
config file to determine it's MACHINE_ARCH, and when it gets an error
make tinderbox just dies, e.g.:

> make tinderbox NO_CLEAN=yes JFLAG=-j2
--------------------------------------------------------------
>>> make universe started on Tue Apr 28 09:27:36 PDT 2020
--------------------------------------------------------------
--------------------------------------------------------------
> Toolchain bootstrap started on Tue Apr 28 09:27:36 PDT 2020
--------------------------------------------------------------
--------------------------------------------------------------
> Toolchain bootstrap completed on Tue Apr 28 09:59:35 PDT 2020
--------------------------------------------------------------
>> amd64 started on Tue Apr 28 09:59:35 PDT 2020
>> amd64.amd64 buildworld started on Tue Apr 28 09:59:35 PDT 2020
>> amd64.amd64 buildworld completed on Tue Apr 28 15:28:31 PDT 2020
make[2]: "/usr/home/john/work/freebsd/clean/Makefile" line 717: "Target architecture for amd64/conf/GENERIC unknown.  config(8) likely too old."
*** Error code 1

The real fix is we somehow need to build a config binary as a build
tool and use that instead of the host config binary.  I'm not quite
sure where to start on fixing that though.

Previously riscv broke this when it bumped the config version for
GENERICSF, but I just reverted that bump yesterday, however riscv
dying meant you still built most of tinderbox before it dies compared
to now.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?efe7770e-9979-6240-cbf7-392e931a8488>