svn commit: r360444 - head/sys/conf

John Baldwin jhb at FreeBSD.org
Tue Apr 28 22:30:54 UTC 2020


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


More information about the svn-src-all mailing list