svn commit: r360444 - head/sys/conf

Bryan Drewery bdrewery at FreeBSD.org
Tue Apr 28 22:39:46 UTC 2020


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


More information about the svn-src-head mailing list