Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Apr 2020 15:38:45 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        John Baldwin <jhb@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:  <a4d71559-e192-c02a-a693-1f8483602295@FreeBSD.org>
In-Reply-To: <efe7770e-9979-6240-cbf7-392e931a8488@FreeBSD.org>
References:  <202004281609.03SG9PHU013278@repo.freebsd.org> <efe7770e-9979-6240-cbf7-392e931a8488@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/28/2020 3:30 PM, John Baldwin wrote:
> 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.

It's already in bootstrap-tools. Ah I see the problem is Makefile. Why
isn't this already solved by now? The "universe-toolchain" target should
be building it already. Just need to get the PATH right. I'm working on
a fix.

> 
> 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.
> 


-- 
Regards,
Bryan Drewery



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a4d71559-e192-c02a-a693-1f8483602295>