Re: [PATCH] CryptoPkg/FltUsedLib: Add FltUsedLib for float.

Ard Biesheuvel

On Tue, 14 Apr 2020 at 09:01, Jiang, Guomin <> wrote:

Summarize current status:

Problem Statement:
Openssl require _fltused to be defined as a constant anywhere floating point is used.
It may use float out of edk2 tree and need _fltused, for example, Microsoft’s OnScreenKeyboard and UiToolKit.

Current Proposal as below:

Proposal 1: Add FltUsed.c into exist library
Detail: Add FltUsed.c into EntryPointLib(PEIM, DXE).
Recommend: Ard Biesheuvel <>
Approve: Laszlo Ersek
Netual: Michael D Kinney <>
Benefit: Doesn’t need modify every .dsc description file.
Defection: I test that it will fail because of /GL option, the error show fatal error LNK1237: during code generation, compiler introduced reference to symbol '_fltused' defined in module 'UefiApplicationEntryPoint.lib(FltUsed.obj)' compiled with /GL
Can you elaborate on this issue? What does /GL do, and why is it
throwing this error?

Join to automatically receive all group messages.