Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2020 18:53:54 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357703 - head/share/mk
Message-ID:  <202002091853.019IrsaI054316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Sun Feb  9 18:53:53 2020
New Revision: 357703
URL: https://svnweb.freebsd.org/changeset/base/357703

Log:
  mips: mark GOOGLETEST broken, due to no fault of its own
  
  As explained in the comment; GOOGLETEST cannot currently be compiled on any
  mips variant at the moment due to the cross toolchain seemingly using the
  wrong spec and not pulling in libgcc. We'll be fine when llvm 10 lands, at
  which point this should be reverted most expeditiously.

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Sun Feb  9 15:13:56 2020	(r357702)
+++ head/share/mk/src.opts.mk	Sun Feb  9 18:53:53 2020	(r357703)
@@ -348,7 +348,12 @@ BROKEN_OPTIONS+=LIB32
 BROKEN_OPTIONS+=LIBSOFT
 .endif
 .if ${__T:Mmips*}
-BROKEN_OPTIONS+=SSP
+# GOOGLETEST cannot currently be compiled on mips due to external circumstances.
+# Notably, the freebsd-gcc port isn't linking in libgcc so we end up trying ot
+# link to a hidden symbol. LLVM would successfully link this in, but some of
+# the mips variants are broken under LLVM until LLVM 10. GOOGLETEST should be
+# marked no longer broken with the switch to LLVM.
+BROKEN_OPTIONS+=GOOGLETEST SSP
 .endif
 # EFI doesn't exist on mips, powerpc, sparc or riscv.
 .if ${__T:Mmips*} || ${__T:Mpowerpc*} || ${__T:Msparc64} || ${__T:Mriscv*}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002091853.019IrsaI054316>