svn commit: r234656 - head/share/mk

Dimitry Andric dim at FreeBSD.org
Tue Apr 24 17:00:31 UTC 2012


Author: dim
Date: Tue Apr 24 17:00:30 2012
New Revision: 234656
URL: http://svn.freebsd.org/changeset/base/234656

Log:
  After r234596, temporarily disable building clang on 32-bit PowerPC,
  until we are able to fix the binutils bug that makes linking clang fail
  with "relocation truncated to fit: R_PPC_REL24" errors.  This should fix
  the tinderboxes for now.

Modified:
  head/share/mk/bsd.own.mk

Modified: head/share/mk/bsd.own.mk
==============================================================================
--- head/share/mk/bsd.own.mk	Tue Apr 24 14:06:07 2012	(r234655)
+++ head/share/mk/bsd.own.mk	Tue Apr 24 17:00:30 2012	(r234656)
@@ -441,7 +441,8 @@ __T=${TARGET_ARCH}
 __T=${MACHINE_ARCH}
 .endif
 # Clang is only for x86 and powerpc right now, by default.
-.if ${__T} == "amd64" || ${__T} == "i386" || ${__T:Mpowerpc*}
+# XXX: Temporarily disabled for 32-bit powerpc, due to a binutils bug.
+.if ${__T} == "amd64" || ${__T} == "i386" || ${__T} == "powerpc64"
 __DEFAULT_YES_OPTIONS+=CLANG
 .else
 __DEFAULT_NO_OPTIONS+=CLANG


More information about the svn-src-all mailing list