Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 00:49:16 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264208 - head/sys/boot/amd64
Message-ID:  <201404070049.s370nGl0037398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Apr  7 00:49:15 2014
New Revision: 264208
URL: http://svnweb.freebsd.org/changeset/base/264208

Log:
  Do not build the amd64 UEFI loader with GCC
  
  The UEFI loader causes buildworld to fail when building with (in-tree)
  GCC, due to a typedef redefinition.  As it happens the in-tree GCC
  cannot successfully build the UEFI loader anyhow, as it does not support
  __attribute__((ms_abi)).  Thus, just avoid trying to build it with GCC,         rather than disconnecting it from the build until the underlying issue
  is fixed.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/boot/amd64/Makefile

Modified: head/sys/boot/amd64/Makefile
==============================================================================
--- head/sys/boot/amd64/Makefile	Sun Apr  6 23:57:19 2014	(r264207)
+++ head/sys/boot/amd64/Makefile	Mon Apr  7 00:49:15 2014	(r264208)
@@ -2,6 +2,10 @@
 
 .include <bsd.own.mk>
 
+# In-tree GCC does not support __attribute__((ms_abi)), required by the
+# UEFI loader.
+.if ${COMPILER_TYPE} != "gcc"
 SUBDIR=		efi
+.endif
 
 .include <bsd.subdir.mk>



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