It looks like that function call takes a double as a parameter, which is a type of floating point number. I’m guessing that’s why the compiler is complaining that the ‘+nofp’ feature can’t be used with that function. From: devel@edk2.groups.io On Behalf Of Sami Mujawar via groups.io Sent: Friday, December 16, 2022 3:29 AM To: Vijayenthiran Subramaniam ; devel@edk2.groups.io Subject: Re: [edk2-devel] [edk2-platforms][PATCH] Platform/Sgi: Add VariableFlashInfoLib to fix missing dependency External email: Use caution opening links or attachments Hi Vijay, Thank you for this patch. This patch as such looks ok to me but I am getting a build the following failure when openssl library is being built. build -a AARCH64 -p Platform\ARM\SgiPkg\PlatformStandaloneMm2.dsc -t GCC5 -b DEBUG -n 1 -D EDK2_OUT_DIR=Build\ArmSgiPlatStmm2 -D SECURE_STORAGE_ENABLE ... "D:\linaro_toolchain\gcc-arm-11.2-2022.02-mingw-w64-i686-aarch64-none-elf\bin\aarch64-none-elf-gcc" @w:\edk2-maintenance\Build\SgiMmStandalone\DEBUG_GCC5\AARCH64\CryptoPkg\Library\OpensslLib\OpensslLib\OUTPUT\cc_resp.txt -c -o w:\ekd2-maintenance\Build\SgiMmStandalone\DEBUG_GCC5\AARCH64\CryptoPkg\Library\OpensslLib\OpensslLib\OUTPUT\openssl\crypto\rand\drbg_lib.obj w:\edk2-maintenance\edk2\CryptoPkg\Library\OpensslLib\openssl\crypto\rand\drbg_lib.c w:\edk2-maintenance\edk2\CryptoPkg\Library\OpensslLib\openssl\crypto\rand\drbg_lib.c: In function 'drbg_add': w:\edk2-maintenance\edk2\CryptoPkg\Library\OpensslLib\openssl\crypto\rand\drbg_lib.c:999:12: error: '+nofp' feature modifier is incompatible with the use of floating-point types 999 | static int drbg_add(const void *buf, int num, double randomness) | ^~~~~~~~ NMAKE : fatal error U1077: 'D:\linaro_toolchain\gcc-arm-11.2-2022.02-mingw-w64-i686-aarch64-none-elf\bin\aarch64-none-elf-gcc.EXE' : return code '0x1' Stop. ... This may not be related to your patch, but can you check, please? Regards, Sami Mujawar