Date: Sun, 03 May 2020 14:24:47 -0700 From: Ravi Pokala <rpokala@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: r360453 - head Message-ID: <B0218BE1-B8B4-4BF3-BCC4-32B179FD0EF9@panasas.com> In-Reply-To: <202004290218.03T2IdZM091899@repo.freebsd.org> References: <202004290218.03T2IdZM091899@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Interesting. This change purports to fix a problem with r360443, but I had =
no trouble with that change (make tinderbox WITH_META_MODE=3DYES), while this =
change results in an early fatal error:
make[2]: "Makefile" line 718: "Target architecture for amd64/conf/GENER=
IC unknown. config(8) likely too old."
I'm running kernel and world r360270.
Thoughts?
Thanks,
Ravi (rpokala@)
=EF=BB=BF-----Original Message-----
From: <owner-src-committers@freebsd.org> on behalf of Bryan Drewery <bdrewe=
ry@FreeBSD.org>
Date: 2020-04-28, Tuesday at 19:18
To: <src-committers@freebsd.org>, <svn-src-all@freebsd.org>, <svn-src-head@=
freebsd.org>
Subject: svn commit: r360453 - head
Author: bdrewery
Date: Wed Apr 29 02:18:39 2020
New Revision: 360453
URL: https://svnweb.freebsd.org/changeset/base/360453
Log:
Use universe-toolchain config(8)
This is a temporary hack to aid with config(8) changing in r360443.
It will not work for all cases.
env PATH is used because universe-toolchain is only built when worlds
are built, and then only if clang is needed, so it may not exist.
universe-toolchain needs to be expanded to always be built, inspected=
to
remove non-cross-build-safe tools, used for buildworld/buildkernel,
and potentially incremental build support.
Sponsored by: Dell EMC
Modified:
head/Makefile
Modified: head/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D
--- head/Makefile Tue Apr 28 20:34:27 2020 (r360452)
+++ head/Makefile Wed Apr 29 02:18:39 2020 (r360453)
@@ -711,6 +711,7 @@ KERNCONFS!=3D cd ${KERNSRCDIR}/${TARGET}/conf && \
universe_kernconfs: universe_kernels_prologue .PHONY
.for kernel in ${KERNCONFS}
TARGET_ARCH_${kernel}!=3D cd ${KERNSRCDIR}/${TARGET}/conf && \
+ env PATH=3D${HOST_OBJTOP}/tmp/legacy/bin:${PATH:Q} \
config -m ${KERNSRCDIR}/${TARGET}/conf/${kernel} 2> /dev/null | \
grep -v WARNING: | cut -f 2
.if empty(TARGET_ARCH_${kernel})
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B0218BE1-B8B4-4BF3-BCC4-32B179FD0EF9>
