On 27 November 2015 at 14:47, Leif Lindholm <leif.lindh...@linaro.org> wrote:
> On Fri, Nov 27, 2015 at 01:26:51PM +0100, Ard Biesheuvel wrote:
>> On 27 November 2015 at 12:56, Leif Lindholm <leif.lindh...@linaro.org> wrote:
>> > On Fri, Nov 27, 2015 at 09:51:50AM +0100, Ard Biesheuvel wrote:
>> >> Since UEFI on 32-bit ARM does not allow floating point arithmetic in 
>> >> hardware,
>> >> running OpenSslLib unmodified requires a softfloat library.
>> >>
>> >> This series factors out the minimally required bits of 
>> >> StdLib/LibC/Softfloat,
>> >> and copies them into a new library ArmPkg/Library/ArmSoftFloatLib. This 
>> >> library
>> >> dependency is wired into OpenSslLib, and its resolution added to 
>> >> ArmVirt.dsc.inc
>> >>
>> >> Ard Biesheuvel (3):
>> >>   ArmPkg: factor out softfloat support from StdLib/LibC/SoftFloat
>> >>   CryptoPkg: add softfloat dependency for ARM
>> >>   ArmVirtPkg: add secure boot support to 32-bit ARM targets
>> >
>> > For 1(+2 if needed)/3:
>> > Reviewed-by: Leif Lindholm <leif.lindh...@linaro.org>
>> >
>>
>> Thanks Leif.
>>
>> I was considering adding the following to the .INF:
>>
>> """
>> [Binaries]
>>   # The softfloat library can only be built with GCC, so provide
>>   # a prebuilt binary for RVCT users.
>>   LIB|ArmSoftFloatLib.lib|*|RVCT
>> """
>>
>> and including the binary .lib, so that RVCT users (i.e., Eugene) are
>> not left out in the cold.
>
> Why is this needed? (A quick skim reveals no reason why RVCT should
> fail to build this.)
>
> Could this be solved by:
> 1) Making the softfloat build with RVCT.
> 2) Pulling in some parts of the RVCT C library?
>

I got failures on missing system libraries, but actually, ripping out
all #include <.../...> lines works fine.
I'll add that to a separate patch, though.
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to