Date: Fri, 27 Dec 2019 14:49:43 +1000 (+10) From: Gerald Pfeifer <gerald@pfeifer.com> To: Mark Millard <marklmi@yahoo.com> Cc: John Baldwin <jhb@freebsd.org>, freebsd-toolchain@freebsd.org, freebsd-ppc@freebsd.org, freebsd-ports@freebsd.org Subject: Re: devel/freebsd-gcc9@powerpc (for example) : it has the clang vs. gcc vec_step name conflict (for powerpc families): build fails under clang Message-ID: <alpine.LSU.2.21.1912271441380.3227@anthias> In-Reply-To: <BE95732C-A03D-47D6-969B-78966768AD5E@yahoo.com> References: <BE95732C-A03D-47D6-969B-78966768AD5E.ref@yahoo.com> <BE95732C-A03D-47D6-969B-78966768AD5E@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Dec 2019, Mark Millard wrote: > I tried to build devel/freebsd-gcc9@powerpc on a powerpc64 (in an > ELFv1 clang environment) and it reported (listing just one of the > examples that pointed to vec_step): I maintain this is a bug in clang which should be address there. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239266 > It turns out that: > > # ls -laT /usr/ports/devel/freebsd-gcc9/files/ > total 44 > drwxr-xr-x 2 root wheel 512 Dec 25 19:25:26 2019 . > drwxr-xr-x 3 root wheel 512 Dec 25 19:25:26 2019 .. > -rw-r--r-- 1 root wheel 4781 Dec 25 19:25:26 2019 patch-freebsd-format-extensions > -rw-r--r-- 1 root wheel 1413 Dec 25 19:25:26 2019 patch-freebsd-libdir > -rw-r--r-- 1 root wheel 588 Dec 25 19:25:26 2019 patch-gcc-configure > -rw-r--r-- 1 root wheel 16346 Dec 25 19:25:26 2019 patch-gcc-freebsd-mips > -rw-r--r-- 1 root wheel 231 Dec 25 19:25:26 2019 xtoolchain.mk.in > > is missing the patch-clang-vec_step that is in: > > FBSDG5L2# ls -laT /usr/ports/lang/gcc9/files/ That is a hack that can be used to work around the issue; I strongly recommend addressing this in clang properly, though. Gerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.2.21.1912271441380.3227>