public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Pedro Falcato" <pedro.falcato@gmail.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
	Rebecca Cran <quic_rcran@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>,
	Jiewen Yao <jiewen.yao@intel.com>,
	 Jordan Justen <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 19:02:53 +0100	[thread overview]
Message-ID: <CAKbZUD1TZ-2VPAR1cdndUYiqV1faiNigWen4ULf08gzUnf+s1Q@mail.gmail.com> (raw)
In-Reply-To: <d6fd4fea-0f0b-8403-7580-600e893f6cfa@quicinc.com>

[-- 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 --]

  reply	other threads:[~2022-05-25 18:03 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 [this message]
2022-05-25 23:45   ` Yao, Jiewen

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=CAKbZUD1TZ-2VPAR1cdndUYiqV1faiNigWen4ULf08gzUnf+s1Q@mail.gmail.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