Date: Thu, 14 Jan 2016 12:57:18 -0800 From: Nathan Whitehorn <nwhitehorn@freebsd.org> To: Steven Hartland <smh@freebsd.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r294029 - in head/sys/boot/efi: . boot1 loader Message-ID: <56980BAE.6070304@freebsd.org> In-Reply-To: <201601141853.u0EIrshB007863@repo.freebsd.org> References: <201601141853.u0EIrshB007863@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 01/14/16 10:53, Steven Hartland wrote: > Author: smh > Date: Thu Jan 14 18:53:54 2016 > New Revision: 294029 > URL: https://svnweb.freebsd.org/changeset/base/294029 > > Log: > Only build EFI components on supported compilers > > As the in-tree GCC does not support __attribute__((ms_abi)) EFI can only > be built with Clang. > > The EFI loader and boot1 validated this, but unused libefi was still built > causing issues under GCC after warnings where enabled by r293724. > > Disable building all of EFI when the selected compiler is GCC. > How about with newer-than-4.2 versions of GCC? Surely this *is* supported in newer compilers. Do we need some build infrastructure to how about the compiler version as well as type? -Nathan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56980BAE.6070304>