public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"rebecca@bsdio.com" <rebecca@bsdio.com>,
	Andrew Fish <afish@apple.com>, Laszlo Ersek <lersek@redhat.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] Error building OVMF on x86 macOS with Xcode 12.5
Date: Sun, 2 May 2021 18:04:45 +0000	[thread overview]
Message-ID: <CO1PR11MB4929989067E316F39E134882D25C9@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <ea25e4d2-f2d6-838d-77b5-691a07f4a6e6@bsdio.com>

Please try this patch:

	https://edk2.groups.io/g/devel/message/74684

If it works, can you please also do a review?  Many community members are offline this week and I want to get these fixes in.

Mike

> -----Original Message-----
> From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Rebecca Cran
> Sent: Saturday, May 1, 2021 9:05 PM
> To: devel@edk2.groups.io; Andrew Fish <afish@apple.com>; Laszlo Ersek <lersek@redhat.com>
> Subject: [edk2-devel] Error building OVMF on x86 macOS with Xcode 12.5
> 
> I'm trying to build OVMF on an x86 Mac running Big Sur and Xcode 12.5.
> 
> If I run "./OvmfPkg/build.sh -a X64 -t XCODE5 -b RELEASE" it seems to
> get quite far, but then tries to run ld with "-z common-page-size",
> causing the error:
> 
> 
> "ld" -arch x86_64 -u __ModuleEntryPoint -e __ModuleEntryPoint -preload
> -segalign 0x20 -pie -all_load -dead_strip -seg1addr 0x240 -map
> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR
> untimeDxe/DEBUG/MonotonicCounterRuntimeDxe.map
> -z common-page-size=0x1000 -seg1addr 0x1000 -segalign 0x1000 -o
> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR
> untimeDxe/DEBUG/MonotonicCounterRuntimeDxe.dll
> -filelist
> /Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterR
> untimeDxe/OUTPUT/static_library_files.lst
> Building ... /Users/bcran/src/edk2/UefiCpuPkg/CpuMpPei/CpuMpPei.inf [X64]
> make: Nothing to be done for `tbuild'.
> ld: unknown option: -z
> 
> 
> --
> 
> Rebecca Cran
> 
> 
> 
> 
> 
> 


  reply	other threads:[~2021-05-02 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02  4:04 Error building OVMF on x86 macOS with Xcode 12.5 Rebecca Cran
2021-05-02 18:04 ` Michael D Kinney [this message]
2021-05-02 19:06   ` [edk2-devel] " Rebecca Cran
2021-05-02 20:20     ` Andrew Fish
2021-05-02 22:23       ` Michael D Kinney
2021-05-02 22:20     ` Michael D Kinney
2021-05-02 23:21       ` Rebecca Cran

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=CO1PR11MB4929989067E316F39E134882D25C9@CO1PR11MB4929.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