Jump to content
8755 posts in this topic

Recommended Posts

Short version: OC boots with Legacy OROM/CSM Enabled. OC hangs with EFI ROM/CSM Disabled.

 

So I found out yesterday that a beta BIOS for my Z68 (in sig) surfaced a while back that enabled UEFI GOP booting. This had been broken in the official BIOS releases so although my BIOS was "UEFI" I always had to boot in Legacy/CSM mode.

 

After updating and checking it out by booting Windows, I tried OpenCore. However, it's hanging on the [EB|LOG:EXITBS:START] line when I try to boot with UEFI GOP enabled. With Legacy ROM/CSM enabled it boots fine (as this is how I've been booting it from the start). I've gone through all the troubleshooting steps in Dortania's guide and experimented with enabling/disabling various quirks.

 

I tried some older macOS USB installers and Yosemite booted fine but anything later hung at this line. I'm assuming it's some kind of memory allocation thing but looking through the configuration manual I can't really see what I should change.

 

I've attached debug logs from uefi and legacy boots. Nothing is jumping out at me from looking through them though. Is it possible the BIOS is lacking some UEFI driver that is causing the hang?

 

 

 

opencore-2021-04-10-085946-UEFI.txt opencore-2021-04-10-090041-LEGACY.txt

Edited by Riley Freeman
Added debug logs

Hi guys,

i know it's slightly off-topic but my EFI partition is too small to host all the kexts i need and also a decent set of icons for OpenCore Canopy  Resources. Is there a way to resize the EFI partition without losing data on the AFPS partition ?

 

Thanks

mattia

 

1 hour ago, tmbt said:

Hi guys,

i know it's slightly off-topic but my EFI partition is too small to host all the kexts i need and also a decent set of icons for OpenCore Canopy  Resources. Is there a way to resize the EFI partition without losing data on the AFPS partition ?

 

Thanks

mattia

 

Standard size of the EFI partition is 200 MB. An OpenCore 0.6.8 EFI folder with OpenCanopy theme and 13 kexts is less than 10 MB. It's strange what you say. How big is your EFI partition? How big is /EF/OC/Resources/Audio folder?

  • Like 1
On 11/15/2020 at 1:27 AM, Stefanalmare said:

For sure you are right. I used VerifyMsrE2.efi and it saes "This firmware has LOCKED MSR 0xE2 register!". That means I have CFG Lock. But I just can't get the offset. I put here the bios and hope a guru will help me! :)

sp96086.exe

 

Hi @Stefanalmare,

Do you still have somewhere this BIOS file?

I can't download it from HP, their server is down..

Thanks!

 

Edit: Forget it, HP FTP server is up again.

Edited by pit256
Solved
4 hours ago, eSaF said:

I suspect his EFI Folder is oversize because he has all the Audio files in the Resources Folder instead of just choosing the one for his native language.

But this happened with past versions, when Audio folder sometimes barely fit on the EFI partition. Now in 0.6.8 with all MP3 files (currently 365) Audio folder size is less than 8 MB. It's strange what @tmbt says.

5 hours ago, tmbt said:

Hi guys,

i know it's slightly off-topic but my EFI partition is too small to host all the kexts i need and also a decent set of icons for OpenCore Canopy  Resources. Is there a way to resize the EFI partition without losing data on the AFPS partition ?

 

Thanks

mattia

 

Tried emptying the recycle bin of the efi partition? It might be full 

  • Like 2
20 minutes ago, miliuco said:

@eSaF  @antuneddu

 

Both of you are right, @tmbt has to empty and regenerate the Audio (Resources maybe) folder and check if there are files in EFI volume's bin. :thumbsup_anim:

 

At the beginning I also mounted the EFI trashed and trashed by changing the image folder and disassembled the EFI .. I thought that emptying the trash normally would also empty the trash of EFI partition ... but it is not as you well know until I found myself as @tmbt I could put nothing more. I think there is no other plausible explanation for his problem :D

  • Like 1
19 minutes ago, antuneddu said:

At the beginning I also mounted the EFI trashed and trashed by changing the image folder and disassembled the EFI .. I thought that emptying the trash normally would also empty the trash of EFI partition ... but it is not as you well know until I found myself as @tmbt I could put nothing more. I think there is no other plausible explanation for his problem :D

Mount EFI partition, then clear a trash.

  • Like 2

Following 0.6.6, I have updated the Bootstrap process and has LauncherOption = Full (ie. There is an OpenCore option in my BIOS).

 

The upgrading process on Dortania regarding this aspect and may have been the cause of me having to reflash my BIOS during upgrading to subsequent OpenCore version.

 

So, may I clarify what is the correct process?

 

Do I need to remove LauncherOption entry from BIOS prior to updating OpenCore?

 

What is the easiest step-by-step process?

 

Thanks

Hi all,

 

I'm trying to compile OpenCore 0.6.8 from source on Catalina 10.15.7 with XCode 12.4 (I've also tried Big Sur 11.2.3.)  I was able to do this no problem for 0.6.7 last month, but now I'm getting errors.

 

If I compile the latest 0.6.9 commit, it's fine.  But I can't seem to compile the 0.6.8 tag specifically?

 

EDIT: I looked through the commits on Github, and I see commit de65178 (Sync with edk2-stable202102) introduces OrderedCollectionsLib, which is what my build is failing on.  I guess this is breaking my ability to compile version 0.6.8?  I guess I could just compile 0.6.9 as it's basically the same at the moment, it's not a huge deal.

 

Here's the commands I'm running with output:

tomj@Eddie ~/Hack/source $ git clone https://github.com/acidanthera/OpenCorePkg
Cloning into 'OpenCorePkg'...
........

tomj@Eddie ~/Hack/source $ cd OpenCorePkg
tomj@Eddie ~/Hack/source/OpenCorePkg (master)$ git checkout 0.6.8
Note: switching to '0.6.8'.

........

HEAD is now at c5285973 OcAppleEventLib: Log resolution determination
tomj@Eddie ~/Hack/source/OpenCorePkg ()$ ./build_oc.tool

 

The errors I get are as follows:

build.py...
/Users/tomj/Hack/source/OpenCorePkg/UDK/OpenCorePkg/OpenCorePkg.dsc(...): error 4000: Instance of library class [OrderedCollectionLib] is not found
    in [/Users/tomj/Hack/source/OpenCorePkg/UDK/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf] [X64]
    consumed by module [/Users/tomj/Hack/source/OpenCorePkg/UDK/Conf/.cache/EA4BB293-2D7F-4456-A681-1F22F42CD0BCShell.inf]

 

And here's the full build log:

tomj@Eddie ~/Hack/source/OpenCorePkg ()$ ./build_oc.tool
Building on Darwin
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   153  100   153    0     0    529      0 --:--:-- --:--:-- --:--:--   529
100    65  100    65    0     0    115      0 --:--:-- --:--:-- --:--:--   298
Primary toolchain XCODE5 and arch X64
Cloning into 'UDK'...
remote: Enumerating objects: 9200, done.
remote: Counting objects: 100% (9200/9200), done.
remote: Compressing objects: 100% (8023/8023), done.
remote: Total 9200 (delta 2678), reused 2749 (delta 1010), pack-reused 0
Receiving objects: 100% (9200/9200), 14.55 MiB | 6.44 MiB/s, done.
Resolving deltas: 100% (2678/2678), done.
Current branch master is up to date.
Submodule 'SoftFloat' (https://github.com/ucb-bar/berkeley-softfloat-3.git) registered for path 'ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3'
Submodule 'BaseTools/Source/C/BrotliCompress/brotli' (https://github.com/google/brotli) registered for path 'BaseTools/Source/C/BrotliCompress/brotli'
Submodule 'CryptoPkg/Library/OpensslLib/openssl' (https://github.com/openssl/openssl) registered for path 'CryptoPkg/Library/OpensslLib/openssl'
Submodule 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli' (https://github.com/google/brotli) registered for path 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli'
Submodule 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma' (https://github.com/kkos/oniguruma) registered for path 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma'
Submodule 'RedfishPkg/Library/JsonLib/jansson' (https://github.com/akheron/jansson) registered for path 'RedfishPkg/Library/JsonLib/jansson'
Submodule 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka' (https://git.cryptomilk.org/projects/cmocka.git) registered for path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka'
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/BaseTools/Source/C/BrotliCompress/brotli'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/CryptoPkg/Library/OpensslLib/openssl'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/MdeModulePkg/Universal/RegularExpressionDxe/oniguruma'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/RedfishPkg/Library/JsonLib/jansson'...
Cloning into '/Users/tomj/Hack/source/OpenCorePkg/UDK/UnitTestFrameworkPkg/Library/CmockaLib/cmocka'...
Submodule path 'ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3': checked out 'b64af41c3276f97f0e181920400ee056b9c88037'
Submodule path 'BaseTools/Source/C/BrotliCompress/brotli': checked out '666c3280cc11dc433c303d79a83d4ffbdd12cc8d'
Submodule path 'CryptoPkg/Library/OpensslLib/openssl': checked out 'e2e09d9fba1187f8d6aafaa34d4172f56f1ffb72'
Submodule path 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli': checked out '666c3280cc11dc433c303d79a83d4ffbdd12cc8d'
Submodule path 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma': checked out 'abfc8ff81df4067f309032467785e06975678f0d'
Submodule path 'RedfishPkg/Library/JsonLib/jansson': checked out 'e9ebfa7e77a6bee77df44e096b100e7131044059'
Submodule path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka': checked out '1cc9cde3448cdd2e000886a26acf1caac2db7cf1'
[master 67c84f7] Applied patch ../Patches/0001-MdeModulePkg-SataControllerDxe-Add-support-for-drive.patch
 1 file changed, 2 insertions(+), 2 deletions(-)
[master 8d6ac7c] Applied patch ../Patches/0001-ShellPkg-Add-support-for-input-with-separately-repor.patch
 4 files changed, 58 insertions(+), 24 deletions(-)
[master 429ddc0] Applied patch ../Patches/0002-MdeModulePkg-AtaAtapiPassThru-Add-support-for-drives.patch
 1 file changed, 7 insertions(+), 1 deletion(-)
[master 30da7ef] Applied patch ../Patches/0003-MdeModulePkg-AtaAtapiPassThru-Reduce-timeout.patch
 1 file changed, 1 insertion(+), 1 deletion(-)
[master 5691610] Applied patch ../Patches/0004-OvmfPkg-SioBusDxe-Add-PS2-mouse-support.patch
 1 file changed, 6 insertions(+), 1 deletion(-)
[master f950c8a] Applied patch ../Patches/0005-ShellPkg-Devices-shell-command-support-misaligned-de.patch
 1 file changed, 27 insertions(+)
Using EDK2 in-source Basetools
WORKSPACE: /Users/tomj/Hack/source/OpenCorePkg/UDK
EDK_TOOLS_PATH: /Users/tomj/Hack/source/OpenCorePkg/UDK/BaseTools
CONF_PATH: /Users/tomj/Hack/source/OpenCorePkg/UDK/Conf
Copying $EDK_TOOLS_PATH/Conf/build_rule.template
     to /Users/tomj/Hack/source/OpenCorePkg/UDK/Conf/build_rule.txt
Copying $EDK_TOOLS_PATH/Conf/tools_def.template
     to /Users/tomj/Hack/source/OpenCorePkg/UDK/Conf/tools_def.txt
Copying $EDK_TOOLS_PATH/Conf/target.template
     to /Users/tomj/Hack/source/OpenCorePkg/UDK/Conf/target.txt
Testing...
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Source/C
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Source/Python
make[1]: Nothing to be done for `all'.
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
mkdir ./libs
mkdir ./bin
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C VfrCompile VfrLexer.h
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Common
BIN_DIR='.' /Applications/Xcode.app/Contents/Developer/usr/bin/make -C Pccts/dlg
BIN_DIR='.' /Applications/Xcode.app/Contents/Developer/usr/bin/make -C Pccts/antlr
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  BasePeCoff.c -o BasePeCoff.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  BinderFuncs.c -o BinderFuncs.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  CommonLib.c -o CommonLib.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  Crc32.c -o Crc32.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  Decompress.c -o Decompress.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  EfiCompress.c -o EfiCompress.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  EfiUtilityMsgs.c -o EfiUtilityMsgs.o
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_p.c
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  FirmwareVolumeBuffer.c -o FirmwareVolumeBuffer.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  antlr.c -o antlr.o
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_a.c
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  FvLib.c -o FvLib.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  scan.c -o scan.o
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c main.c
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  MemoryFile.c -o MemoryFile.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  err.c -o err.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  err.c -o err.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  MyAlloc.c -o MyAlloc.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  bits.c -o bits.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 ../support/set/set.c
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  OsPath.c -o OsPath.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  support.c -o support.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  build.c -o build.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  ParseGuidedSectionTools.c -o ParseGuidedSectionTools.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  output.c -o output.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  fset2.c -o fset2.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  ParseInf.c -o ParseInf.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  relabel.c -o relabel.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  fset.c -o fset.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  PeCoffLoaderEx.c -o PeCoffLoaderEx.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  automata.c -o automata.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  gen.c -o gen.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  SimpleFileParsing.c -o SimpleFileParsing.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  globals.c -o globals.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  StringFuncs.c -o StringFuncs.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  hash.c -o hash.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  TianoCompress.c -o TianoCompress.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  lex.c -o lex.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  main.c -o main.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  misc.c -o misc.o
gcc -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536 -c -o set.o ../support/set/set.c
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  pred.c -o pred.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  egman.c -o egman.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  mrhoist.c -o mrhoist.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  fcache.c -o fcache.o
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -o ./dlg dlg_p.o dlg_a.o main.o err.o set.o support.o output.o relabel.o automata.o
ar crs ../libs/libCommon.a BasePeCoff.o BinderFuncs.o CommonLib.o Crc32.o Decompress.o EfiCompress.o EfiUtilityMsgs.o FirmwareVolumeBuffer.o FvLib.o MemoryFile.o MyAlloc.o OsPath.o ParseGuidedSectionTools.o ParseInf.o PeCoffLoaderEx.o SimpleFileParsing.o StringFuncs.o TianoCompress.o
gcc -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536 -o ./antlr antlr.o scan.o err.o bits.o build.o fset2.o fset.o gen.o globals.o hash.o lex.o main.o misc.o set.o pred.o egman.o mrhoist.o fcache.o
Pccts/antlr/antlr -CC -e3 -ck 3 -k 2 -fl VfrParser.dlg -ft VfrTokens.h -o . VfrSyntax.g
Antlr parser generator   Version 1.33MR33   1989-2001
VfrSyntax.g, line 3526: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3535: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3544: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3554: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3584: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3593: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
Pccts/dlg/dlg -C2 -i -CC -cl VfrLexer -o . VfrParser.dlg
dlg  Version 1.33MR33   1989-2001

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C BrotliCompress
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C VfrCompile
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C EfiRom
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C GenFfs
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C GenFv
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C GenFw
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C GenSec
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C GenCrc32
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C LzmaCompress
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C TianoCompress
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C VolInfo
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C DevicePath
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  EfiRom.c -o EfiRom.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenFfs.c -o GenFfs.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenSec.c -o GenSec.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenCrc32.c -o GenCrc32.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenFv.c -o GenFv.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  TianoCompress.c -o TianoCompress.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenFw.c -o GenFw.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  VolInfo.c -o VolInfo.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  GenFvInternalLib.c -o GenFvInternalLib.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  ElfConvert.c -o ElfConvert.o
g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2  Pccts/h/AParser.cpp -o AParser.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  Elf32Convert.c -o Elf32Convert.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST LzmaCompress.c -o LzmaCompress.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  DevicePath.c -o DevicePath.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  Elf64Convert.c -o Elf64Convert.o
g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2  Pccts/h/DLexerBase.cpp -o DLexerBase.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  UefiDevicePathLib.c -o UefiDevicePathLib.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/Alloc.c -o Sdk/C/Alloc.o
g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2  Pccts/h/ATokenBuffer.cpp -o ATokenBuffer.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/LzFind.c -o Sdk/C/LzFind.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  DevicePathFromText.c -o DevicePathFromText.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  BrotliCompress.c -o BrotliCompress.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  DevicePathUtilities.c -o DevicePathUtilities.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/LzmaDec.c -o Sdk/C/LzmaDec.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  EfiVfrParser.cpp -o EfiVfrParser.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/common/dictionary.c -o brotli/c/common/dictionary.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/LzmaEnc.c -o Sdk/C/LzmaEnc.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  VfrLexer.cpp -o VfrLexer.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/common/transform.c -o brotli/c/common/transform.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/7zFile.c -o Sdk/C/7zFile.o
g++ -c -DPCCTS_USE_NAMESPACE_STD -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2  VfrSyntax.cpp -o VfrSyntax.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/bit_reader.c -o brotli/c/dec/bit_reader.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  VfrFormPkg.cpp -o VfrFormPkg.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/7zStream.c -o Sdk/C/7zStream.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/decode.c -o brotli/c/dec/decode.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  VfrError.cpp -o VfrError.o
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  -D_7ZIP_ST Sdk/C/Bra86.c -o Sdk/C/Bra86.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/huffman.c -o brotli/c/dec/huffman.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  VfrUtilityLib.cpp -o VfrUtilityLib.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/state.c -o brotli/c/dec/state.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/backward_references.c -o brotli/c/enc/backward_references.o
g++ -c -I Pccts/h -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -Wno-unused-result -O2  VfrCompiler.cpp -o VfrCompiler.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/backward_references_hq.c -o brotli/c/enc/backward_references_hq.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/bit_cost.c -o brotli/c/enc/bit_cost.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/block_splitter.c -o brotli/c/enc/block_splitter.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/brotli_bit_stream.c -o brotli/c/enc/brotli_bit_stream.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/cluster.c -o brotli/c/enc/cluster.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/compress_fragment.c -o brotli/c/enc/compress_fragment.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/compress_fragment_two_pass.c -o brotli/c/enc/compress_fragment_two_pass.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/dictionary_hash.c -o brotli/c/enc/dictionary_hash.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/encode.c -o brotli/c/enc/encode.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/encoder_dict.c -o brotli/c/enc/encoder_dict.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/entropy_encode.c -o brotli/c/enc/entropy_encode.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/histogram.c -o brotli/c/enc/histogram.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/literal_cost.c -o brotli/c/enc/literal_cost.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/memory.c -o brotli/c/enc/memory.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/metablock.c -o brotli/c/enc/metablock.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/static_dict.c -o brotli/c/enc/static_dict.o
gcc  -c -I ./brotli/c/include -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/utf8_util.c -o brotli/c/enc/utf8_util.o
gcc -o ../bin/GenCrc32   GenCrc32.o -L../libs -lCommon
gcc -o ../bin/GenFfs   GenFfs.o -L../libs -lCommon
gcc -o ../bin/GenSec   GenSec.o -L../libs -lCommon
gcc -o ../bin/VolInfo   VolInfo.o -L../libs -lCommon
gcc -o ../bin/EfiRom   EfiRom.o -L../libs -lCommon
gcc -o ../bin/DevicePath   DevicePath.o UefiDevicePathLib.o DevicePathFromText.o  DevicePathUtilities.o -L../libs -lCommon
gcc -o ../bin/GenFv   GenFv.o GenFvInternalLib.o -L../libs -lCommon
gcc -o ../bin/GenFw   GenFw.o ElfConvert.o Elf32Convert.o Elf64Convert.o -L../libs -lCommon
gcc -o ../bin/TianoCompress   TianoCompress.o -L../libs -lCommon
gcc -o ../bin/LzmaCompress   LzmaCompress.o Sdk/C/Alloc.o Sdk/C/LzFind.o Sdk/C/LzmaDec.o Sdk/C/LzmaEnc.o Sdk/C/7zFile.o Sdk/C/7zStream.o Sdk/C/Bra86.o -L../libs -lCommon
gcc -o ../bin/BrotliCompress   BrotliCompress.o brotli/c/common/dictionary.o brotli/c/common/transform.o brotli/c/dec/bit_reader.o brotli/c/dec/decode.o brotli/c/dec/huffman.o brotli/c/dec/state.o brotli/c/enc/backward_references.o brotli/c/enc/backward_references_hq.o brotli/c/enc/bit_cost.o brotli/c/enc/block_splitter.o brotli/c/enc/brotli_bit_stream.o brotli/c/enc/cluster.o brotli/c/enc/compress_fragment.o brotli/c/enc/compress_fragment_two_pass.o brotli/c/enc/dictionary_hash.o brotli/c/enc/encode.o brotli/c/enc/encoder_dict.o brotli/c/enc/entropy_encode.o brotli/c/enc/histogram.o brotli/c/enc/literal_cost.o brotli/c/enc/memory.o brotli/c/enc/metablock.o brotli/c/enc/static_dict.o brotli/c/enc/utf8_util.o -L../libs -lm
g++ -o ../bin/VfrCompile  AParser.o DLexerBase.o ATokenBuffer.o EfiVfrParser.o VfrLexer.o VfrSyntax.o VfrFormPkg.o VfrError.o VfrUtilityLib.o VfrCompiler.o -L../libs -lCommon
Finished building BaseTools C Tools with HOST_ARCH=X64
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C Tests
testHelp (TianoCompress.Tests) ... ok
testRandomDataCycles (TianoCompress.Tests) ... ok
test_AmlToC_AmlToC (CheckPythonSyntax.Tests) ... ok
test_AutoGen_AutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen_AutoGenWorker (CheckPythonSyntax.Tests) ... ok
test_AutoGen_BuildEngine (CheckPythonSyntax.Tests) ... ok
test_AutoGen_DataPipe (CheckPythonSyntax.Tests) ... ok
test_AutoGen_GenC (CheckPythonSyntax.Tests) ... ok
test_AutoGen_GenDepex (CheckPythonSyntax.Tests) ... ok
test_AutoGen_GenMake (CheckPythonSyntax.Tests) ... ok
test_AutoGen_GenPcdDb (CheckPythonSyntax.Tests) ... ok
test_AutoGen_GenVar (CheckPythonSyntax.Tests) ... ok
test_AutoGen_IdfClassObject (CheckPythonSyntax.Tests) ... ok
test_AutoGen_IncludesAutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen_InfSectionParser (CheckPythonSyntax.Tests) ... ok
test_AutoGen_ModuleAutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen_ModuleAutoGenHelper (CheckPythonSyntax.Tests) ... ok
test_AutoGen_PlatformAutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen_StrGather (CheckPythonSyntax.Tests) ... ok
test_AutoGen_UniClassObject (CheckPythonSyntax.Tests) ... ok
test_AutoGen_ValidCheckingInfoObject (CheckPythonSyntax.Tests) ... ok
test_AutoGen_WorkspaceAutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen___init__ (CheckPythonSyntax.Tests) ... ok
test_BPDG_BPDG (CheckPythonSyntax.Tests) ... ok
test_BPDG_GenVpd (CheckPythonSyntax.Tests) ... ok
test_BPDG_StringTable (CheckPythonSyntax.Tests) ... ok
test_BPDG___init__ (CheckPythonSyntax.Tests) ... ok
test_Capsule_GenerateCapsule (CheckPythonSyntax.Tests) ... ok
test_Capsule_GenerateWindowsDriver (CheckPythonSyntax.Tests) ... ok
test_Capsule_WindowsCapsuleSupportHelper (CheckPythonSyntax.Tests) ... ok
test_CommonDataClass_CommonClass (CheckPythonSyntax.Tests) ... ok
test_CommonDataClass_DataClass (CheckPythonSyntax.Tests) ... ok
test_CommonDataClass_Exceptions (CheckPythonSyntax.Tests) ... ok
test_CommonDataClass_FdfClass (CheckPythonSyntax.Tests) ... ok
test_CommonDataClass___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_BuildToolError (CheckPythonSyntax.Tests) ... ok
test_Common_BuildVersion (CheckPythonSyntax.Tests) ... ok
test_Common_DataType (CheckPythonSyntax.Tests) ... ok
test_Common_Edk2_Capsule_FmpPayloadHeader (CheckPythonSyntax.Tests) ... ok
test_Common_Edk2_Capsule___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_Edk2___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_EdkLogger (CheckPythonSyntax.Tests) ... ok
test_Common_Expression (CheckPythonSyntax.Tests) ... ok
test_Common_GlobalData (CheckPythonSyntax.Tests) ... ok
test_Common_LongFilePathOs (CheckPythonSyntax.Tests) ... ok
test_Common_LongFilePathOsPath (CheckPythonSyntax.Tests) ... ok
test_Common_LongFilePathSupport (CheckPythonSyntax.Tests) ... ok
test_Common_Misc (CheckPythonSyntax.Tests) ... ok
test_Common_MultipleWorkspace (CheckPythonSyntax.Tests) ... ok
test_Common_Parsing (CheckPythonSyntax.Tests) ... ok
test_Common_RangeExpression (CheckPythonSyntax.Tests) ... ok
test_Common_StringUtils (CheckPythonSyntax.Tests) ... ok
test_Common_TargetTxtClassObject (CheckPythonSyntax.Tests) ... ok
test_Common_ToolDefClassObject (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi_Capsule_CapsuleDependency (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi_Capsule_FmpAuthHeader (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi_Capsule_FmpCapsuleHeader (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi_Capsule_UefiCapsuleHeader (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi_Capsule___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_Uefi___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_VariableAttributes (CheckPythonSyntax.Tests) ... ok
test_Common_VpdInfoFile (CheckPythonSyntax.Tests) ... ok
test_Common___init__ (CheckPythonSyntax.Tests) ... ok
test_Common_caching (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser3_CLexer (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser3_CParser (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser3___init__ (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser4_CLexer (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser4_CListener (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser4_CParser (CheckPythonSyntax.Tests) ... ok
test_Ecc_CParser4___init__ (CheckPythonSyntax.Tests) ... ok
test_Ecc_Check (CheckPythonSyntax.Tests) ... ok
test_Ecc_CodeFragment (CheckPythonSyntax.Tests) ... ok
test_Ecc_CodeFragmentCollector (CheckPythonSyntax.Tests) ... ok
test_Ecc_Configuration (CheckPythonSyntax.Tests) ... ok
test_Ecc_Database (CheckPythonSyntax.Tests) ... ok
test_Ecc_EccGlobalData (CheckPythonSyntax.Tests) ... ok
test_Ecc_EccMain (CheckPythonSyntax.Tests) ... ok
test_Ecc_EccToolError (CheckPythonSyntax.Tests) ... ok
test_Ecc_Exception (CheckPythonSyntax.Tests) ... ok
test_Ecc_FileProfile (CheckPythonSyntax.Tests) ... ok
test_Ecc_MetaDataParser (CheckPythonSyntax.Tests) ... ok
test_Ecc_MetaFileWorkspace_MetaDataTable (CheckPythonSyntax.Tests) ... ok
test_Ecc_MetaFileWorkspace_MetaFileParser (CheckPythonSyntax.Tests) ... ok
test_Ecc_MetaFileWorkspace_MetaFileTable (CheckPythonSyntax.Tests) ... ok
test_Ecc_MetaFileWorkspace___init__ (CheckPythonSyntax.Tests) ... ok
test_Ecc_ParserWarning (CheckPythonSyntax.Tests) ... ok
test_Ecc_Xml_XmlRoutines (CheckPythonSyntax.Tests) ... ok
test_Ecc_Xml___init__ (CheckPythonSyntax.Tests) ... ok
test_Ecc___init__ (CheckPythonSyntax.Tests) ... ok
test_Ecc_c (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser3_CLexer (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser3_CParser (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser3___init__ (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser4_CLexer (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser4_CListener (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser4_CParser (CheckPythonSyntax.Tests) ... ok
test_Eot_CParser4___init__ (CheckPythonSyntax.Tests) ... ok
test_Eot_CodeFragment (CheckPythonSyntax.Tests) ... ok
test_Eot_CodeFragmentCollector (CheckPythonSyntax.Tests) ... ok
test_Eot_Database (CheckPythonSyntax.Tests) ... ok
test_Eot_EotGlobalData (CheckPythonSyntax.Tests) ... ok
test_Eot_EotMain (CheckPythonSyntax.Tests) ... ok
test_Eot_EotToolError (CheckPythonSyntax.Tests) ... ok
test_Eot_FileProfile (CheckPythonSyntax.Tests) ... ok
test_Eot_Identification (CheckPythonSyntax.Tests) ... ok
test_Eot_InfParserLite (CheckPythonSyntax.Tests) ... ok
test_Eot_Parser (CheckPythonSyntax.Tests) ... ok
test_Eot_ParserWarning (CheckPythonSyntax.Tests) ... ok
test_Eot_Report (CheckPythonSyntax.Tests) ... ok
test_Eot___init__ (CheckPythonSyntax.Tests) ... ok
test_Eot_c (CheckPythonSyntax.Tests) ... ok
test_GenFds_AprioriSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_Capsule (CheckPythonSyntax.Tests) ... ok
test_GenFds_CapsuleData (CheckPythonSyntax.Tests) ... ok
test_GenFds_CompressSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_DataSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_DepexSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_EfiSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_Fd (CheckPythonSyntax.Tests) ... ok
test_GenFds_FdfParser (CheckPythonSyntax.Tests) ... ok
test_GenFds_Ffs (CheckPythonSyntax.Tests) ... ok
test_GenFds_FfsFileStatement (CheckPythonSyntax.Tests) ... ok
test_GenFds_FfsInfStatement (CheckPythonSyntax.Tests) ... ok
test_GenFds_Fv (CheckPythonSyntax.Tests) ... ok
test_GenFds_FvImageSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_GenFds (CheckPythonSyntax.Tests) ... ok
test_GenFds_GenFdsGlobalVariable (CheckPythonSyntax.Tests) ... ok
test_GenFds_GuidSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_OptRomFileStatement (CheckPythonSyntax.Tests) ... ok
test_GenFds_OptRomInfStatement (CheckPythonSyntax.Tests) ... ok
test_GenFds_OptionRom (CheckPythonSyntax.Tests) ... ok
test_GenFds_Region (CheckPythonSyntax.Tests) ... ok
test_GenFds_Rule (CheckPythonSyntax.Tests) ... ok
test_GenFds_RuleComplexFile (CheckPythonSyntax.Tests) ... ok
test_GenFds_RuleSimpleFile (CheckPythonSyntax.Tests) ... ok
test_GenFds_Section (CheckPythonSyntax.Tests) ... ok
test_GenFds_UiSection (CheckPythonSyntax.Tests) ... ok
test_GenFds_VerSection (CheckPythonSyntax.Tests) ... ok
test_GenFds___init__ (CheckPythonSyntax.Tests) ... ok
test_GenPatchPcdTable_GenPatchPcdTable (CheckPythonSyntax.Tests) ... ok
test_GenPatchPcdTable___init__ (CheckPythonSyntax.Tests) ... ok
test_PatchPcdValue_PatchPcdValue (CheckPythonSyntax.Tests) ... ok
test_PatchPcdValue___init__ (CheckPythonSyntax.Tests) ... ok
test_Pkcs7Sign_Pkcs7Sign (CheckPythonSyntax.Tests) ... ok
test_Rsa2048Sha256Sign_Rsa2048Sha256GenerateKeys (CheckPythonSyntax.Tests) ... ok
test_Rsa2048Sha256Sign_Rsa2048Sha256Sign (CheckPythonSyntax.Tests) ... ok
test_Split_Split (CheckPythonSyntax.Tests) ... ok
test_Split___init__ (CheckPythonSyntax.Tests) ... ok
test_Table_Table (CheckPythonSyntax.Tests) ... ok
test_Table_TableDataModel (CheckPythonSyntax.Tests) ... ok
test_Table_TableDec (CheckPythonSyntax.Tests) ... ok
test_Table_TableDsc (CheckPythonSyntax.Tests) ... ok
test_Table_TableEotReport (CheckPythonSyntax.Tests) ... ok
test_Table_TableFdf (CheckPythonSyntax.Tests) ... ok
test_Table_TableFile (CheckPythonSyntax.Tests) ... ok
test_Table_TableFunction (CheckPythonSyntax.Tests) ... ok
test_Table_TableIdentifier (CheckPythonSyntax.Tests) ... ok
test_Table_TableInf (CheckPythonSyntax.Tests) ... ok
test_Table_TablePcd (CheckPythonSyntax.Tests) ... ok
test_Table_TableQuery (CheckPythonSyntax.Tests) ... ok
test_Table_TableReport (CheckPythonSyntax.Tests) ... ok
test_Table___init__ (CheckPythonSyntax.Tests) ... ok
test_TargetTool_TargetTool (CheckPythonSyntax.Tests) ... ok
test_TargetTool___init__ (CheckPythonSyntax.Tests) ... ok
test_Trim_Trim (CheckPythonSyntax.Tests) ... ok
test_UPT_BuildVersion (CheckPythonSyntax.Tests) ... ok
test_UPT_Core_DependencyRules (CheckPythonSyntax.Tests) ... ok
test_UPT_Core_DistributionPackageClass (CheckPythonSyntax.Tests) ... ok
test_UPT_Core_FileHook (CheckPythonSyntax.Tests) ... ok
test_UPT_Core_IpiDb (CheckPythonSyntax.Tests) ... ok
test_UPT_Core_PackageFile (CheckPythonSyntax.Tests) ... ok
test_UPT_Core___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_GenMetaFile_GenDecFile (CheckPythonSyntax.Tests) ... ok
test_UPT_GenMetaFile_GenInfFile (CheckPythonSyntax.Tests) ... ok
test_UPT_GenMetaFile_GenMetaFileMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_GenMetaFile_GenXmlFile (CheckPythonSyntax.Tests) ... ok
test_UPT_GenMetaFile___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_InstallPkg (CheckPythonSyntax.Tests) ... ok
test_UPT_InventoryWs (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_CommentGenerating (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_CommentParsing (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_DataType (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_ExpressionValidate (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_GlobalData (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_Misc (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_ParserValidate (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_Parsing (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_StringUtils (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_UniClassObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_Xml_XmlRoutines (CheckPythonSyntax.Tests) ... ok
test_UPT_Library_Xml___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_Library___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_Logger_Log (CheckPythonSyntax.Tests) ... ok
test_UPT_Logger_StringTable (CheckPythonSyntax.Tests) ... ok
test_UPT_Logger_ToolError (CheckPythonSyntax.Tests) ... ok
test_UPT_Logger___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_MkPkg (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_POM_CommonObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_POM_ModuleObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_POM_PackageObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_POM___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_DecObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfBinaryObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfBuildOptionObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfCommonObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfDefineCommonObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfDefineObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfDepexObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfGuidObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfHeaderObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfLibraryClassesObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfPackagesObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfPcdObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfPpiObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfProtocolObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfSoucesObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser_InfUserExtensionObject (CheckPythonSyntax.Tests) ... ok
test_UPT_Object_Parser___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_Object___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_DecParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_DecParserMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfAsBuiltProcess (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfBinarySectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfBuildOptionSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfDefineSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfDepexSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfGuidPpiProtocolSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfLibrarySectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfPackageSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfParserMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfPcdSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser_InfSourceSectionParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Parser___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_PomAdapter_DecPomAlignment (CheckPythonSyntax.Tests) ... ok
test_UPT_PomAdapter_InfPomAlignment (CheckPythonSyntax.Tests) ... ok
test_UPT_PomAdapter_InfPomAlignmentMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_PomAdapter___init__ (CheckPythonSyntax.Tests) ... ok
test_UPT_ReplacePkg (CheckPythonSyntax.Tests) ... ok
test_UPT_RmPkg (CheckPythonSyntax.Tests) ... ok
test_UPT_TestInstall (CheckPythonSyntax.Tests) ... ok
test_UPT_UPT (CheckPythonSyntax.Tests) ... ok
test_UPT_UnitTest_CommentGeneratingUnitTest (CheckPythonSyntax.Tests) ... ok
test_UPT_UnitTest_CommentParsingUnitTest (CheckPythonSyntax.Tests) ... ok
test_UPT_UnitTest_DecParserTest (CheckPythonSyntax.Tests) ... ok
test_UPT_UnitTest_DecParserUnitTest (CheckPythonSyntax.Tests) ... ok
test_UPT_UnitTest_InfBinarySectionTest (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_CommonXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_GuidProtocolPpiXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_IniToXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_ModuleSurfaceAreaXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_PackageSurfaceAreaXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_PcdXml (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_XmlParser (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml_XmlParserMisc (CheckPythonSyntax.Tests) ... ok
test_UPT_Xml___init__ (CheckPythonSyntax.Tests) ... ok
test_Workspace_BuildClassObject (CheckPythonSyntax.Tests) ... ok
test_Workspace_DecBuildData (CheckPythonSyntax.Tests) ... ok
test_Workspace_DscBuildData (CheckPythonSyntax.Tests) ... ok
test_Workspace_InfBuildData (CheckPythonSyntax.Tests) ... ok
test_Workspace_MetaDataTable (CheckPythonSyntax.Tests) ... ok
test_Workspace_MetaFileCommentParser (CheckPythonSyntax.Tests) ... ok
test_Workspace_MetaFileParser (CheckPythonSyntax.Tests) ... ok
test_Workspace_MetaFileTable (CheckPythonSyntax.Tests) ... ok
test_Workspace_WorkspaceCommon (CheckPythonSyntax.Tests) ... ok
test_Workspace_WorkspaceDatabase (CheckPythonSyntax.Tests) ... ok
test_Workspace___init__ (CheckPythonSyntax.Tests) ... ok
test_build_BuildReport (CheckPythonSyntax.Tests) ... ok
test_build___init__ (CheckPythonSyntax.Tests) ... ok
test_build_build (CheckPythonSyntax.Tests) ... ok
test_build_buildoptions (CheckPythonSyntax.Tests) ... ok
test_sitecustomize (CheckPythonSyntax.Tests) ... ok
test_tests_Split_test_split (CheckPythonSyntax.Tests) ... ok
test32bitUnicodeCharInUtf8Comment (CheckUnicodeSourceFiles.Tests) ... ok
test32bitUnicodeCharInUtf8File (CheckUnicodeSourceFiles.Tests) ... ok
testSupplementaryPlaneUnicodeCharInUtf16File (CheckUnicodeSourceFiles.Tests) ... ok
testSurrogatePairUnicodeCharInUtf16File (CheckUnicodeSourceFiles.Tests) ... ok
testSurrogatePairUnicodeCharInUtf8File (CheckUnicodeSourceFiles.Tests) ... ok
testSurrogatePairUnicodeCharInUtf8FileWithBom (CheckUnicodeSourceFiles.Tests) ... ok
testUtf16InUniFile (CheckUnicodeSourceFiles.Tests) ... ok
testValidUtf8File (CheckUnicodeSourceFiles.Tests) ... ok
testValidUtf8FileWithBom (CheckUnicodeSourceFiles.Tests) ... ok

----------------------------------------------------------------------
Ran 285 tests in 1.100s

OK
Building...
Building OpenCorePkg/OpenCorePkg.dsc for X64 in DEBUG with XCODE5...
.Build failed!
Build environment: macOS-10.15.7-x86_64-i386-64bit
Build start time: 12:55:49, Apr.11 2021

WORKSPACE        = /Users/tomj/Hack/source/OpenCorePkg/UDK
EDK_TOOLS_PATH   = /Users/tomj/Hack/source/OpenCorePkg/UDK/BaseTools
CONF_PATH        = /Users/tomj/Hack/source/OpenCorePkg/UDK/Conf
PYTHON_COMMAND   = /usr/bin/python3


Processing meta-data
.Architecture(s)  = X64
Build target     = DEBUG
Toolchain        = XCODE5

Active Platform          = /Users/tomj/Hack/source/OpenCorePkg/UDK/OpenCorePkg/OpenCorePkg.dsc


build.py...
/Users/tomj/Hack/source/OpenCorePkg/UDK/OpenCorePkg/OpenCorePkg.dsc(...): error 4000: Instance of library class [OrderedCollectionLib] is not found
    in [/Users/tomj/Hack/source/OpenCorePkg/UDK/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf] [X64]
    consumed by module [/Users/tomj/Hack/source/OpenCorePkg/UDK/Conf/.cache/EA4BB293-2D7F-4456-A681-1F22F42CD0BCShell.inf]


- Failed -
Build end time: 12:55:50, Apr.11 2021
Build total time: 00:00:01

./build_oc.tool: line 302: 13384 Terminated: 15          pingme $! build "$@"

 

Thanks in advance for any help.

Edited by TheBloke

I have found an issue with using OpenCore and Launcher Path "Full" mode. When I use this I have after every boot a "Recovered Files" directory in the Trash. When I set LauncherOption to Disabled, and do a NVRAM reset, I still have Recovered Files in my Trash. When I have set LauncherPath to EFI/BOOT/BOOTx64.efi, and do a NVRANM reset again, after boot, I have no more Recovered Files in the Trash. 

Isn't it strange that EFI could cause Recovered Files in Trash of macOS?  

 

Edit: Removed iStat Menus from my system and the "Recovered Files" after start-up are gone. It's not a OC fault. 

Edited by Planet X
Fixed
20 minutes ago, Planet X said:

I have found an issue with using OpenCore and Launcher Path "Full" mode. When I use this I have after every boot a "Recovered Files" directory in the Trash. When I set LauncherOption to Disabled, and do a NVRAM reset, I still have Recovered Files in my Trash. When I have set LauncherPath to EFI/BOOT/BOOTx64.efi, and do a NVRANM reset again, after boot, I have no more Recovered Files in the Trash. 

Isn't it strange that EFI could cause Recovered Files in Trash of macOS?  

 

I don't have this issue. With LauncherOption=Disabled I don't see that "Recovered Files" directory in the Trash. Having LauncherPath=Default.

  • Thanks 1
On 4/10/2021 at 7:13 AM, tmbt said:

Hi guys,

i know it's slightly off-topic but my EFI partition is too small to host all the kexts i need and also a decent set of icons for OpenCore Canopy  Resources. Is there a way to resize the EFI partition without losing data on the AFPS partition ?

 

Thanks

mattia

 

Your ESP/EFI partition is whatever size you want to make it (within reason).  The ESP is a separate partition from an APFS container/partition.

 

You can download gparted.iso and burn it to a usb stick and boot it to view and resize your partitions.  You can install clover, open core and refit all on the same ESP/EFI partition. 

 

See here for more information:

 

https://www.insanelymac.com/forum/topic/347139-big-sur-113b4-multibooting-chainloading-tweaks-brew-migrating-apps/

 

tags: Big Sur 11.3b4 multibooting chainloading tweaks brew migrating apps
 
Some updated tips and observations concerning Big Sur 11.3 b4 installation to an available APFS HDD container/partition.  Assumes an existing working ESP bootloader.  System file modifications are made in recovery terminal with SIP disabled (csrutil disable and csrutil authenticated-root disable)  Any changes to the system files in recovery console require creating a new shapshot to be retained.


1. Go ahead and make your USB installer with OC 0.6.5 or later, but if you have an existing install of Catalina you can save time by starting the Big Sur installer directly from Catalina, choosing the target partition, and letting the installer copy over the install files rather than waiting on USB to boot and copy. You can then use the USB installer to reboot Big Sur as required to complete the installation.


2. If you are a linux multi-booter and using GRUB2 as your main bootloader, and if you have an existing Catalina install with a working chainloaded Open Core or Clover, suggest you don't disturb/break your existing bootloader by making tweaks for Big Sur.  You can make an additional small 200MB FAT32 partition on your HDD and put your Big Sur bootloader there.  Note that if you choose to use clover you can directly chainload from GRUB2 by adding this entry to your grub.cfg file (where xxxx-xxxx is your Big Sur bootloder partition from lsblk -f or sudo blkid terminal output in Linux):


menuentry "Clover"{
    insmod part_gpt
    search --no-floppy --set=root --fs-uuid xxxx-xxxx
    chainloader /EFI/CLOVER/CLOVERX64.efi  # or whatever path you use
}


With Open Core version 0.6.4 and earlier chainloading from GRUB2 was relatively simple with grub.cfg menu entry:


menuentry "Open_Core"{
    insmod part_gpt
    search --no-floppy --set=root --fs-uuid xxxx-xxxx
    chainloader /EFI/OC/OpenCore.efi  # or whatever path you use
}


It now appears that Open Core 0.6.5 and newer have undergone code change that prevents directly chainloading OpenCore.efi from GRUB2.
 
However, if you want to continue to use GRUB2 as your main ESP bootloader, you can work around this issue by installing Refind 0.13.2 to the same ESP with GRUB2 and chainload to Refind in grub.cfg with the following menu entry (where xxxx:xxxx is your ESP UUID}:


menuentry "refind"{
   insmod part_gpt
   search --no-floppy --set=root --fs-uuid xxxx-xxxx
   chainloader /EFI/refind/refind_x64.efi
}


You can launch Open Core from the Refind GUI.  Here is a sample refind.conf that will chainload Open Core 0.6.7 (where xxxx is the volume name or UUID name of your Open Core partition):


menuentry "OpenCore" {
    icon /EFI/refind/icons/os_mac.png
    volume xxxx
    loader /EFI/OC/OpenCore.efi
    options "-v"   
}


You may have to change the Vault configuration in Open Core config.plist from Secure to Optional.


This chainloading is an extra step but it preserves GRUB2 as the main bootloader and facilitates use of newer Open Core versions.


Note that you can install GRUB2, Refind and Open Core all on the ESP or you can install Open Core to a separate partition in order to edit/tweak your Big Sur bootloader settings without breaking an existing working ESP bootloader.  
 
When editing config.plist files, if you are not comfortable using an XML editor, and you have Catalina installed, you can download ProperTree from github and launch it from Catalina.  For Linux multibooters, you can modify your linux /etc/grub.d/40_custom to include any custom bootloader menu entries you want to keep, and then run update-grub from within Linux.

Edited by HenryV
  • Like 1

I've answered my own question and am leaving this for others who have temporary lapses in logic (like me)...

Based on the Dortania instant wake fix here, OC first performs ACPI > Patch and then performs ACPI > Add.  For the instant wake fix, OC first renames Method GPRW to XPRW (ACPI > Patch) and then adds new Method GPRW (ACPI>Add).  OC's order of operations is ACPI > Patch followed by ACPI > Add.

 

In my question below, in order to add Method _SUB to a renamed device _XYZ (renamed from _ABC), the SSDT would add Method _XYZ._SUB (adding _SUB to the Method AFTER it is renamed).

 

---------------------------------- 
 

Hi, everyone - I have a fairly remedial question that my sleep-deprived brain is having trouble with right now.  Better to ask and research at the same time...

 

I need to configure my OC config.plist to rename a Device in my DSDT and to insert a Method into the renamed Device.  I'm not certain of OC's order of precedence for ACPI > Patch and ACPI > Add.  Details below...

 

I'm using OC's ACPI >Patch to rename Device '_ABC' to '_XYZ' in my DSDT.  I also need to insert a Method '_SUB' into Device '_ABC' that I'm renaming to '_XYZ'.  I'm using OC's ACPI > Add to inject an SSDT that adds Method _SUB.  Does my SSDT patch need to inject the Method into Device '_ABC' before the Device is renamed or after it is renamed to '_XYZ'?  In other words, should my SSDT patch inject Method _SUB as _ABC._SUB or as _XYZ._SUB?

 

Thanks for patience with this remedial question.

Edited by tonyx86
Added Answer to question
  • Like 2
5 hours ago, hardcorehenry said:

 

Maybe my SAT0 to SATA rename(via SSDT only) gives you some ideas...

 

According to the OpenCore guide, SATA patches are purely cosmetic in macOS now.
- change SAT0 to SATA
- change SAT1 to SATA.


Do you rename SAT0 to SATA for some specific reason? Do you need it in your system?

 

  • Like 2
On 4/11/2021 at 4:52 PM, miliuco said:

 

I don't have this issue. With LauncherOption=Disabled I don't see that "Recovered Files" directory in the Trash. Having LauncherPath=Default.

To make it complete, I have Recovered Files in my Trash after reboot when I don't use EFI/BOOT/BOOTx64.efi as LauncherPath. It doesn't make a difference if I use LauncherOption=Full or Disabled.

Does anybody have an explanation for this? What could be the cause?  

Edited by Planet X

@miliuco Yes you're right the reasons I have them are purely cosmetic. I posted them as an example, how to rename devices only via ACPI>Add + inject Method when needed(+ no ACPI conflicts with other OSes). @Andrey1970 I've been using this patches for months and I didn’t experienced any negative effects(I’d gladly find out about those harmful effects, if you could post some links). To avoid putting other users in danger, I removed my harmful patches.

Edited by hardcorehenry
  • Like 2
1 hour ago, Andrey1970 said:

I took look at user's config.plist.

Spoiler

2006721904_ScreenShot2021-04-12at8_58_29PM.png.ebcb36332fa2cfa0b4aef9e275af258e.png

In his case TableSignature should be empty, because renames are applied only to DSDT and OEM SSDT-Sata names are left untouched. I can only admit: Cosmetics not properly used, can be harmful.

Edited by hardcorehenry
1 hour ago, hardcorehenry said:

In his case TableSignature should be empty, because renames are applied only to DSDT and OEM SSDT-Sata names are left untouched. I can only admit: Cosmetics not properly used, can be harmful.

Yes not successful example. But there were also other problems with this patch. To me laziness search on a forum and bugtracker.

×
×
  • Create New...