Patch merged: https://github.com/tianocore/edk2/commit/f46c7d1e36c901e72cc0daee8429275bcb319eb9
Thanks, Chasel > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Chiu, Chasel > Sent: Wednesday, September 7, 2022 12:43 PM > To: devel@edk2.groups.io > Cc: Chiu, Chasel <chasel.c...@intel.com>; Desimone, Nathaniel L > <nathaniel.l.desim...@intel.com>; Zeng, Star <star.z...@intel.com> > Subject: [edk2-devel] [PATCH] IntelFsp2Pkg: Fix FspSecCoreI build failure. > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4049 > > Link error occurred in certain compiling environment when building > FspSecCoreI: unresolved external symbol _TempRamInitApi. > > Cc: Nate DeSimone <nathaniel.l.desim...@intel.com> > Cc: Star Zeng <star.z...@intel.com> > Signed-off-by: Chasel Chiu <chasel.c...@intel.com> > --- > IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm | 11 +++++++++++ > IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm | 11 +++++++++++ > 2 files changed, 22 insertions(+) > > diff --git a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm > b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm > index e9365d6832..e392ebed58 100644 > --- a/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm > +++ b/IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm > @@ -22,6 +22,17 @@ global ASM_PFX(FspApiCommonContinue) > ASM_PFX(FspApiCommonContinue): jmp $ > +;----------------------------------------- > -----------------------------------+; TempRamInit API+;+; Empty function for > WHOLEARCHIVE build > option+;+;---------------------------------------------------------- > ------------------+global ASM_PFX(TempRamInitApi)+ASM_PFX(TempRamInitApi):+ > jmp $+ ret+ > ;---------------------------------------------------------------------------- > ; > FspSmmInit API ;diff --git a/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm > b/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm > index e74bf0a26b..5c9ffbd569 100644 > --- a/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm > +++ b/IntelFsp2Pkg/FspSecCore/X64/FspApiEntryI.nasm > @@ -22,6 +22,17 @@ global ASM_PFX(FspApiCommonContinue) > ASM_PFX(FspApiCommonContinue): jmp $ > +;----------------------------------------- > -----------------------------------+; TempRamInit API+;+; Empty function for > WHOLEARCHIVE build > option+;+;---------------------------------------------------------- > ------------------+global ASM_PFX(TempRamInitApi)+ASM_PFX(TempRamInitApi):+ > jmp $+ ret+ > ;---------------------------------------------------------------------------- > ; > FspSmmInit API ;-- > 2.35.0.windows.1 > > > > -=-=-=-=-=-= > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#93455): https://edk2.groups.io/g/devel/message/93455 > Mute This Topic: https://groups.io/mt/93532998/1777047 > Group Owner: devel+ow...@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [chasel.c...@intel.com] -=- > =-=-=-=-= > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#93855): https://edk2.groups.io/g/devel/message/93855 Mute This Topic: https://groups.io/mt/93532998/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-