On Sat, 2021-11-20 at 21:39 -0700, [email protected] wrote:
> http://build-failures.rhaalovely.net/sparc64/2021-11-18/x11/gnome/gjs.log
cc1plus: warning: libgjs-jsapi.a.p/gjs_pch.hh.gch: had text segment at
different address
cc1plus: error: one or more PCH files were found, but they were invalid
Disabling precompiled headers reveals another gcc 8.4.0 issue with
the cxx11 abi_tag not being applied consistently and causing link
errors. No amount of fiddling with trying to get gcc to apply the
tag where it was missing worked for me, but switching to ports
clang works. okay?
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/gjs/Makefile,v
retrieving revision 1.99
diff -u -p -u -r1.99 Makefile
--- Makefile 25 Oct 2021 14:48:37 -0000 1.99
+++ Makefile 23 Nov 2021 21:58:48 -0000
@@ -25,7 +25,7 @@ MODULES= devel/meson \
DEBUG_PACKAGES = ${BUILD_PACKAGES}
-COMPILER= base-clang ports-gcc
+COMPILER= base-clang ports-clang
MODPY_RUNDEP= No
MODPY_BUILDDEP= No