On Thu, May 21, 2020 at 14:58:56 +0200, Ard Biesheuvel wrote: > > Reviewed-by: Leif Lindholm <l...@nuviainc.com> > > Thanks! > > > > Apparently, GCC 10 is getting fixed so that we can set a #pragma in > MdePkg/Include/AArch64/ProcessorBind.h, and be done with it. > > That does mean you would need GCC 10.2 at least, or you get the error, > unless we merge this patch as well. That would mean the intrinsics are never > used in practice, but using a compiler that does use them will not break the > build. > > I am leaning towards omitting this patch, but I could be convinced to adopt > both mitigations. But the #pragma is strongly preferred.
What is the codesize impact on a full RELEASE image? If non-negligable, how about #ifdefing the whole content out unless some specific preprocessor flag is passed? Then at least there's a quick workaround for anyone who needs it. / Leif -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#60027): https://edk2.groups.io/g/devel/message/60027 Mute This Topic: https://groups.io/mt/74347980/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-