From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: Pedro Falcato <pedro.falcato@gmail.com>,
edk2-devel-groups-io <devel@edk2.groups.io>,
Rebecca Cran <quic_rcran@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
"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
Date: Wed, 25 May 2022 23:45:19 +0000 [thread overview]
Message-ID: <MW4PR11MB587287E2B34D753A1E6C07C48CD69@MW4PR11MB5872.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CAKbZUD1TZ-2VPAR1cdndUYiqV1faiNigWen4ULf08gzUnf+s1Q@mail.gmail.com>
[-- 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 --]
prev parent reply other threads:[~2022-05-25 23:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MW4PR11MB587287E2B34D753A1E6C07C48CD69@MW4PR11MB5872.namprd11.prod.outlook.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox