* [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
@ 2022-05-25 16:56 Rebecca Cran
2022-05-25 18:02 ` Pedro Falcato
0 siblings, 1 reply; 3+ messages in thread
From: Rebecca Cran @ 2022-05-25 16:56 UTC (permalink / raw)
To: edk2-devel-groups-io
Cc: Ard Biesheuvel, Jiewen Yao, Jordan Justen, Gerd Hoffmann
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t XCODE5` (with
Apple clang 12.0.5)) with the latest edk2 master
(07c0c2eb0a5970db614ebce1060fc79d6904bdfd).
GenSec -s EFI_SECTION_VERSION -n 1.0 -o
/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/FV/Ffs/BDCE85BB-FBAA-4f4e-9264-501A2C249581S3SaveStateDxe/BDCE85BB-FBAA-4f4e-9264-501A2C249581SEC4.ver
Building ...
/Users/bcran/src/uefi/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
[X64]
/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.iii:86:
error: symbol `_AsmRelocateApMailBoxLoopStart' not defined
make: ***
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.obj]
Error 1
build.py...
: error 7000: Failed to execute command
make tbuild
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe]
build.py...
: error 7000: Failed to execute command
make tbuild
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/CryptoPkg/Library/OpensslLib/OpensslLibCrypto]
build.py...
: error F002: Failed to build module
/Users/bcran/src/uefi/edk2/OvmfPkg/TdxDxe/TdxDxe.inf [X64, XCODE5,
DEBUG]
- Failed -
Build end time: 10:10:54, May.25 2022
Build total time: 00:01:00
--
Rebecca Cran
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
2022-05-25 16:56 [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined Rebecca Cran
@ 2022-05-25 18:02 ` Pedro Falcato
2022-05-25 23:45 ` Yao, Jiewen
0 siblings, 1 reply; 3+ messages in thread
From: Pedro Falcato @ 2022-05-25 18:02 UTC (permalink / raw)
To: edk2-devel-groups-io, Rebecca Cran
Cc: Ard Biesheuvel, Jiewen Yao, Jordan Justen, Gerd Hoffmann
[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]
Hi Rebecca,
That does indeed look like a bug for toolchains that prepend the underscore.
Our GSoC student already caught that bug and he's going to submit a patch
as soon as possible to fix it.
Mind waiting a few hours? This is a really nice way for him to learn the
ropes WRT edk2 patches :)
On Wed, May 25, 2022 at 5:56 PM Rebecca Cran <quic_rcran@quicinc.com> wrote:
> I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t XCODE5` (with
> Apple clang 12.0.5)) with the latest edk2 master
> (07c0c2eb0a5970db614ebce1060fc79d6904bdfd).
>
>
> GenSec -s EFI_SECTION_VERSION -n 1.0 -o
>
> /Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/FV/Ffs/BDCE85BB-FBAA-4f4e-9264-501A2C249581S3SaveStateDxe/BDCE85BB-FBAA-4f4e-9264-501A2C249581SEC4.ver
> Building ...
> /Users/bcran/src/uefi/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
>
> [X64]
> /Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.iii:86:
>
> error: symbol `_AsmRelocateApMailBoxLoopStart' not defined
> make: ***
> [/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.obj]
>
> Error 1
>
>
> build.py...
> : error 7000: Failed to execute command
> make tbuild
>
> [/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe]
>
>
> build.py...
> : error 7000: Failed to execute command
> make tbuild
>
> [/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/CryptoPkg/Library/OpensslLib/OpensslLibCrypto]
>
>
> build.py...
> : error F002: Failed to build module
> /Users/bcran/src/uefi/edk2/OvmfPkg/TdxDxe/TdxDxe.inf [X64, XCODE5,
> DEBUG]
>
> - Failed -
> Build end time: 10:10:54, May.25 2022
> Build total time: 00:01:00
>
>
> --
> Rebecca Cran
>
>
>
>
>
>
>
>
>
>
>
--
Pedro Falcato
[-- Attachment #2: Type: text/html, Size: 2443 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
2022-05-25 18:02 ` Pedro Falcato
@ 2022-05-25 23:45 ` Yao, Jiewen
0 siblings, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2022-05-25 23:45 UTC (permalink / raw)
To: Pedro Falcato, edk2-devel-groups-io, Rebecca Cran
Cc: Ard Biesheuvel, Justen, Jordan L, Gerd Hoffmann
[-- Attachment #1: Type: text/plain, Size: 2524 bytes --]
Thanks to catch this. Look forward to the patch.
I hope this can be resolved in this stable tag.
The mismatch on ASM_PFX seems a big problem.
If we can extend CI to catch it earlier, that would be great.
Thank you
Yao Jiewen
From: Pedro Falcato <pedro.falcato@gmail.com>
Sent: Thursday, May 26, 2022 2:03 AM
To: edk2-devel-groups-io <devel@edk2.groups.io>; Rebecca Cran <quic_rcran@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>; Yao, Jiewen <jiewen.yao@intel.com>; Justen, Jordan L <jordan.l.justen@intel.com>; Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined
Hi Rebecca,
That does indeed look like a bug for toolchains that prepend the underscore.
Our GSoC student already caught that bug and he's going to submit a patch as soon as possible to fix it.
Mind waiting a few hours? This is a really nice way for him to learn the ropes WRT edk2 patches :)
On Wed, May 25, 2022 at 5:56 PM Rebecca Cran <quic_rcran@quicinc.com<mailto:quic_rcran@quicinc.com>> wrote:
I noticed OvmfPkg/OvmfPkgX64.dsc doesn't build with `-t XCODE5` (with
Apple clang 12.0.5)) with the latest edk2 master
(07c0c2eb0a5970db614ebce1060fc79d6904bdfd).
GenSec -s EFI_SECTION_VERSION -n 1.0 -o
/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/FV/Ffs/BDCE85BB-FBAA-4f4e-9264-501A2C249581S3SaveStateDxe/BDCE85BB-FBAA-4f4e-9264-501A2C249581SEC4.ver
Building ...
/Users/bcran/src/uefi/edk2/MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
[X64]
/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.iii:86:
error: symbol `_AsmRelocateApMailBoxLoopStart' not defined
make: ***
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe/OUTPUT/X64/ApRunLoop.obj]
Error 1
build.py...
: error 7000: Failed to execute command
make tbuild
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/OvmfPkg/TdxDxe/TdxDxe]
build.py...
: error 7000: Failed to execute command
make tbuild
[/Users/bcran/src/uefi/edk2/Build/OvmfX64/DEBUG_XCODE5/X64/CryptoPkg/Library/OpensslLib/OpensslLibCrypto]
build.py...
: error F002: Failed to build module
/Users/bcran/src/uefi/edk2/OvmfPkg/TdxDxe/TdxDxe.inf [X64, XCODE5,
DEBUG]
- Failed -
Build end time: 10:10:54, May.25 2022
Build total time: 00:01:00
--
Rebecca Cran
--
Pedro Falcato
[-- Attachment #2: Type: text/html, Size: 5914 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-05-25 23:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-25 16:56 [edk2-devel] OvmfPkgX64 doesn't build with XCODE5 (Apple clang 12.0.5) - symbol `_AsmRelocateApMailBoxLoopStart' not defined Rebecca Cran
2022-05-25 18:02 ` Pedro Falcato
2022-05-25 23:45 ` Yao, Jiewen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox