svn commit: r264208 - head/sys/boot/amd64

Ed Maste emaste at
Mon Apr 7 00:49:16 UTC 2014

Author: emaste
Date: Mon Apr  7 00:49:15 2014
New Revision: 264208

  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
--- 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 <>
+# In-tree GCC does not support __attribute__((ms_abi)), required by the
+# UEFI loader.
+.if ${COMPILER_TYPE} != "gcc"
 SUBDIR=		efi
 .include <>

More information about the svn-src-head mailing list