Date: Sat, 4 Jan 2020 05:27:44 -0800 From: John Baldwin <jhb@FreeBSD.org> To: Mark Millard <marklmi@yahoo.com>, svn-src-head@freebsd.org Subject: Re: svn commit: r356344 - head Message-ID: <f65fc261-b3cd-6a2c-4701-87fed601305d@FreeBSD.org> In-Reply-To: <FE0EF252-9796-4166-8F3B-106541C77D01@yahoo.com> References: <FE0EF252-9796-4166-8F3B-106541C77D01.ref@yahoo.com> <FE0EF252-9796-4166-8F3B-106541C77D01@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/3/20 8:39 PM, Mark Millard wrote: > >> Author: jhb >> Date: Sat Jan 4 00:59:47 2020 >> New Revision: 356344 >> URL: >> https://svnweb.freebsd.org/changeset/base/356344 >> . . . >> +MAKE_PARAMS_powerpc?= CROSS_TOOLCHAIN=powerpc64-gcc6 >> . . . >> +TOOLCHAINS_powerpc= powerpc64-gcc6 >> . . . > > (I know that for now gcc9 is not in use but > I'm looking at the overall pattern going > forward vs. what is expected to work shorter > term, even if not yet fully.) > > Given the likes of: > > TARGET=powerpc TARGET_ARCH=powerpc > TARGET=powerpc TARGET_ARCH=powerpc64 > > Is this going to change at some point to use > powerpc-gcc9 and powerpc64-gcc9 (and the matching > devel/binutils@powerpc and devel/binutils@powerpc64 > related commands), picking the matching commands? > (More TARGET_ARCH based?) > > Until then, is it really restricted to powerpc64 > because of the toolchain used (and lack of various > command parameters to possibly control all the > required behavioral differences for targeting > 32-bit powerpc)? > > (powerpcspe has been dropped from gcc, if I > understand right. So I do not expect that it > can be covered. So I did not list it as another > TARGET_ARCH value above.) For powerpc, I'm about to switch it to just using clang. riscv is now almost ready for clang as well (I have one hack I need to do to the kernel so lld can link it after dim@'s merges yesterday). I probably will add some kind of WITH_GCC=yes to 'make tinderbox' I think, but that will require untangling the mess so it can pick per-machine_arch toolchains rather than per-cpuarch. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f65fc261-b3cd-6a2c-4701-87fed601305d>