svn commit: r356344 - head

John Baldwin jhb at FreeBSD.org
Sat Jan 4 13:27:47 UTC 2020


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 at powerpc and devel/binutils at 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


More information about the svn-src-head mailing list