Date: Mon, 17 Aug 2020 15:22:31 -0700 From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r364325 - head Message-ID: <cbf6dc89-fcd7-472e-d928-55c62c7323b0@FreeBSD.org> In-Reply-To: <202008172011.07HKBh8F029202@repo.freebsd.org> References: <202008172011.07HKBh8F029202@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/17/20 1:11 PM, John Baldwin wrote: > Author: jhb > Date: Mon Aug 17 20:11:43 2020 > New Revision: 364325 > URL: https://svnweb.freebsd.org/changeset/base/364325 > > Log: > Add a USE_GCC_TOOLCHAINS knob to make universe. > > This uses GCC toolchains instead of LLVM on architectures supported by > GCC. Currently this uses GCC 6 on aarch64, amd64, i386, and mips. > > Although this does also try to use GCC 6 on powerpc, it is always > skipped for now since a powerpc-gcc6 package is not available and the > structure of make universe makes it hard to skip a subset of arches > for a target. This should be short-lived as freebsd-gcc9 does include > a powerpc-gcc9 package so powerpc should work once this switches to > GCC 9. The goal of this change is to make it easier to do a tinderbox run with GCC rather than clang for things like warning coverage, etc. I'm currently working on a branch to move this to GCC 9 which adds the powerpc and riscv leaving only 32-bit arm as the arch without a GCC external toolchain (which I might rectify at some point). However, with GCC 9 I currently am working through a few issues: - For i386, gcc wants some __atomic functions for 64-bit when linking lldb even though I've changed it to default to -march=i686 like clang which should let it use cmpxchg8b instead AFAIK. - powerpc64 generates an ICE trying to build CSU bits. - powerpc is running into issues with secureplt though I have fixes for that that I'm testing. - riscv wants to use some __atomic functions which seems odd. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cbf6dc89-fcd7-472e-d928-55c62c7323b0>