svn commit: r294029 - in head/sys/boot/efi: . boot1 loader
Steven Hartland
steven at multiplay.co.uk
Thu Jan 14 21:26:46 UTC 2016
On 14/01/2016 20:57, Nathan Whitehorn wrote:
>
>
> 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
If it is then even without this change you wouldn't have have got the
EFI loader or boot1, just an unused libefi.
This change ensures that builds with in-tree Clang and GCC build on all
platforms, even if GCC doesn't build the EFI components.
If someone that uses none in-tree GCC has some time to dedicate to make
this work that would be great :)
Regards
Steve
Regards
Steve
More information about the svn-src-head
mailing list