Re: [edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Support CLANGPDB builds

2021-10-18 Thread Ard Biesheuvel
oups.io On Behalf Of Marvin > > Häuser > > Sent: Friday, October 15, 2021 3:06 AM > > To: devel@edk2.groups.io > > Cc: Ard Biesheuvel ; Sami Mujawar > > ; Yao, Jiewen ; Supreeth > > Venkatesh ; Vitaly Cheptsov > > ; Shi, Steven ; Yang, > > JiyangX

Re: [edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Support CLANGPDB builds

2021-10-17 Thread Steven Shi
ps.io > Cc: Ard Biesheuvel ; Sami Mujawar > ; Yao, Jiewen ; Supreeth > Venkatesh ; Vitaly Cheptsov > ; Shi, Steven ; Yang, > JiyangX > Subject: [edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Support > CLANGPDB builds > > Currently, the flag "-fpie" is passed for

[edk2-devel] [PATCH v2 1/1] StandaloneMmPkg: Support CLANGPDB builds

2021-10-14 Thread Marvin Häuser
Currently, the flag "-fpie" is passed for all builds with a GCC family toolchain, including CLANGPDB. CLANGPDB however does not support this flag as it generates PE/COFF files directly. As the flag is mostly required for ARM-specific self-relocation, drop it for other architectures and document th