[edk2-devel] Issues with edk2 compilation with xcode5 on mac OS - files compiled but strange behaviors

crudo.daniele at gmail.com crudo.daniele at gmail.com
Thu Oct 15 15:22:53 UTC 2020


Good morning, I have an issue with compiled OVMF_CODE.fd and OVMF_VARS.fd with xcode5 on mac os - Catalina 10.15.7 (I tried v. 202005 and v. 202008 stable releases from github).
My commands for v. 202008, on mac OS:

git clone https://github.com/tianocore/edk2.git
cd edk2
git clean -ffdx
git reset --hard
git submodule deinit --force --all
git checkout edk2-stable202008
git submodule update --init --force
source edksetup.sh
nice make -C "$EDK_TOOLS_PATH" -j $(getconf _NPROCESSORS_ONLN)
build -a X64 -b RELEASE -p OvmfPkg/OvmfPkgX64.dsc -t XCODE5

Files are compiled and saved (apparently correctly).
And I'm using OVMF_CODE.fd and OVMF_VARS.fd to boot a mac OS vm with QEMU/KVM.
I noticed that with that files I have no tianocore logo at boot and moreover, since I have gpu passthrough I cannot boot the vm if hdmi is not attached (2 monitors setup, hdmi<-->hdmi and dvi<-->dvi to vga adapter<-->vga).
If I have hdmi attached I can boot without any problem.

I tried to compile with the same commands edk2 on kali linux, except for the last line which became:
build -a X64 -b RELEASE -p OvmfPkg/OvmfPkgX64.dsc -t GCC5

and the generated files work well (I have the tianocore logo and I can boot without hdmi attached, i.e. only one monitor).

What's going on?
Anybody can explain?
Is xcode5 incompatible, is there something wrong in the code or is it my fault?
At the beginning I thought about an edk2 bug, so I opened an issue into the bugtracker, full history here:
Bug 3006 ( https://bugzilla.tianocore.org/show_bug.cgi?id=3006 )

I attach also the compilation log from mac OS.

Thanks

Daniele


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#66272): https://edk2.groups.io/g/devel/message/66272
Mute This Topic: https://groups.io/mt/77532086/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201015/36192116/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-macOs.txt.zip
Type: application/zip
Size: 94123 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20201015/36192116/attachment.zip>


More information about the edk2-devel-archive mailing list