public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Error building OVMF on x86 macOS with Xcode 12.5
@ 2021-05-02  4:04 Rebecca Cran
  2021-05-02 18:04 ` [edk2-devel] " Michael D Kinney
  0 siblings, 1 reply; 7+ messages in thread
From: Rebecca Cran @ 2021-05-02  4:04 UTC (permalink / raw)
  To: devel, Andrew Fish, Laszlo Ersek

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/MonotonicCounterRuntimeDxe/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/MonotonicCounterRuntimeDxe/DEBUG/MonotonicCounterRuntimeDxe.dll 
-filelist
/Users/bcran/src/edk2/Build/OvmfX64/RELEASE_XCODE5/X64/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe/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



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-02 23:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-02  4:04 Error building OVMF on x86 macOS with Xcode 12.5 Rebecca Cran
2021-05-02 18:04 ` [edk2-devel] " Michael D Kinney
2021-05-02 19:06   ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox