Jump to content

Clover General discussion


ErmaC
30,171 posts in this topic

Recommended Posts

15 minutes ago, vector sigma said:

Hi, now is different.

Well, I guess you modify it do do something. I hope there's no longer need as I introduced in it a way to expand or compile Clover as you need.

if you create a script:


 ~/src/tools/Scripts/build.sh

this will be used to build Clover with your own parameters. buildme send the path to Clover ($1) and the toolchain ($2). 

 

if you create a script:


 ~/src/tools/Scripts/postbuild.sh

that script will be used to do additional things after you build Clover (e.g. adding drivers).

 

Hope it helps (only on github atm)

 

Great :) Thanks a lot

Link to comment
Share on other sites

10 hours ago, vector sigma said:

if you create a script:


 ~/src/tools/Scripts/build.sh

this will be used to build Clover with your own parameters. buildme send the path to Clover ($1) and the toolchain ($2)


 ~/src/tools/Scripts/postbuild.sh

that script will be used to do additional things after you build Clover

can you show us an example of content of the script?

Link to comment
Share on other sites

16 hours ago, Badruzeus said:

Is `build_gcc9.sh` missing from https://github.com/CloverHackyColor/CloverBootloader or it has no support yet?

No GCC 9.2 issue with ./ebuild.sh -fr -t GCC53 https://sourceforge.net/projects/cloverefiboot/ (EDK2 2019 Stable) though.

Thanks.

Screen Shot 2019-09-11 at 15.01.46.jpg

 

I have similar problem now with CloverHackyColor git and compilation with gcc53 tool chain ---> "build: : warning: Tool chain [gcc53] is not defined".  Looks like very recent commit broke it again (since it was working before).

 

Below is my build log using ./buildme gcc53 ...

fusion71aus-iMac:~ fusion71au$ cd /Users/fusion71au/src/CloverBootloader 
fusion71aus-iMac:CloverBootloader fusion71au$ ./buildme gcc53

------------------------------------------------------------------------
buildme, Clover v2.5k r5078 (SHA: ceb598f)
TOOLCHAIN: gcc53 (override example: './buildme GCC53')

1) build Clover			    7) update Clover (reset changes)
2) make pkg			    8) show diff
3) make iso			    9) open drivers directory
4) build all			   10) clean BaseTools
5) status			   11) quit
6) update Clover
Please enter your choice: 6
[UPDATE CLOVER]
Fetching origin
From https://github.com/CloverHackyColor/CloverBootloader
 * branch            master     -> FETCH_HEAD
Already up-to-date.

------------------------------------------------------------------------
buildme, Clover v2.5k r5078 (SHA: ceb598f)
TOOLCHAIN: gcc53 (override example: './buildme GCC53')

1) build Clover			    7) update Clover (reset changes)
2) make pkg			    8) show diff
3) make iso			    9) open drivers directory
4) build all			   10) clean BaseTools
5) status			   11) quit
6) update Clover
Please enter your choice: 1
[CHECK XCODE]
Loading previous configuration from /Users/fusion71au/src/CloverBootloader/Conf/BuildEnv.sh
WORKSPACE: /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH: /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH: /Users/fusion71au/src/CloverBootloader/Conf
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/fusion71au/src/opt/local
NASM_PREFIX: /Users/fusion71au/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/fusion71au/src/CloverBootloader
Building tools as they are not found
make -C Source/C
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
mkdir ./libs 
make -C Common
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
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  -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  -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
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  -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
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
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
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
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  -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  -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  PcdValueCommon.c -o PcdValueCommon.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 PcdValueCommon.o
mkdir ./bin
make -C VfrCompile VfrLexer.h
BIN_DIR='.' make -C Pccts/dlg
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_p.c
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c dlg_a.c
cc -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 -c main.c
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  err.c -o err.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536 ../support/set/set.c
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  support.c -o support.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  output.c -o output.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  relabel.c -o relabel.o
cc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN -DZZLEXBUFSIZE=65536  automata.c -o automata.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
BIN_DIR='.' make -C Pccts/antlr
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  antlr.c -o antlr.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  scan.c -o scan.o
gcc -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  bits.c -o bits.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  build.c -o build.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  fset2.c -o fset2.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  fset.c -o fset.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  gen.c -o gen.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  globals.c -o globals.o
gcc -c -O -I. -I../support/set -I../h -DUSER_ZZSYN  -DZZLEXBUFSIZE=65536  hash.c -o hash.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
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 3508: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3517: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
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 3536: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3566: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3575: 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

make -C BrotliCompress
gcc  -c -I ./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  tools/brotli.c -o tools/brotli.o
gcc  -c -I ./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  common/dictionary.c -o common/dictionary.o
gcc  -c -I ./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  common/transform.c -o common/transform.o
gcc  -c -I ./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  dec/bit_reader.c -o dec/bit_reader.o
gcc  -c -I ./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  dec/decode.c -o dec/decode.o
gcc  -c -I ./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  dec/huffman.c -o dec/huffman.o
gcc  -c -I ./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  dec/state.c -o dec/state.o
gcc  -c -I ./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  enc/backward_references.c -o enc/backward_references.o
gcc  -c -I ./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  enc/backward_references_hq.c -o enc/backward_references_hq.o
gcc  -c -I ./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  enc/bit_cost.c -o enc/bit_cost.o
gcc  -c -I ./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  enc/block_splitter.c -o enc/block_splitter.o
gcc  -c -I ./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  enc/brotli_bit_stream.c -o enc/brotli_bit_stream.o
gcc  -c -I ./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  enc/cluster.c -o enc/cluster.o
gcc  -c -I ./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  enc/compress_fragment.c -o enc/compress_fragment.o
gcc  -c -I ./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  enc/compress_fragment_two_pass.c -o enc/compress_fragment_two_pass.o
gcc  -c -I ./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  enc/dictionary_hash.c -o enc/dictionary_hash.o
gcc  -c -I ./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  enc/encode.c -o enc/encode.o
gcc  -c -I ./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  enc/encoder_dict.c -o enc/encoder_dict.o
gcc  -c -I ./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  enc/entropy_encode.c -o enc/entropy_encode.o
gcc  -c -I ./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  enc/histogram.c -o enc/histogram.o
gcc  -c -I ./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  enc/literal_cost.c -o enc/literal_cost.o
gcc  -c -I ./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  enc/memory.c -o enc/memory.o
gcc  -c -I ./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  enc/metablock.c -o enc/metablock.o
gcc  -c -I ./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  enc/static_dict.c -o enc/static_dict.o
gcc  -c -I ./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  enc/utf8_util.c -o enc/utf8_util.o
gcc -o ../bin/Brotli   tools/brotli.o common/dictionary.o common/transform.o dec/bit_reader.o dec/decode.o dec/huffman.o dec/state.o enc/backward_references.o enc/backward_references_hq.o enc/bit_cost.o enc/block_splitter.o enc/brotli_bit_stream.o enc/cluster.o enc/compress_fragment.o enc/compress_fragment_two_pass.o enc/dictionary_hash.o enc/encode.o enc/encoder_dict.o enc/entropy_encode.o enc/histogram.o enc/literal_cost.o enc/memory.o enc/metablock.o enc/static_dict.o enc/utf8_util.o -L../libs -lm
make -C VfrCompile
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
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
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
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
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
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
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
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
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
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
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
make -C EfiLdrImage
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  EfiLdrImage.c -o EfiLdrImage.o
gcc -o ../bin/EfiLdrImage   EfiLdrImage.o -L../libs -lCommon
make -C EfiRom
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 -o ../bin/EfiRom   EfiRom.o -L../libs -lCommon
make -C GenFfs
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 -o ../bin/GenFfs   GenFfs.o -L../libs -lCommon
make -C GenFv
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  GenFvInternalLib.c -o GenFvInternalLib.o
gcc -o ../bin/GenFv   GenFv.o GenFvInternalLib.o -L../libs -lCommon
make -C GenFw
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  ElfConvert.c -o ElfConvert.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  Elf64Convert.c -o Elf64Convert.o
gcc -o ../bin/GenFw   GenFw.o ElfConvert.o Elf32Convert.o Elf64Convert.o -L../libs -lCommon
make -C GenPage
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  GenPage.c -o GenPage.o
gcc -o ../bin/GenPage   GenPage.o -L../libs -lCommon
make -C GenSec
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 -o ../bin/GenSec   GenSec.o -L../libs -lCommon
make -C GenCrc32
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 -o ../bin/GenCrc32   GenCrc32.o -L../libs -lCommon
make -C LzmaCompress
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  -D_7ZIP_ST Sdk/C/Alloc.c -o Sdk/C/Alloc.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  -D_7ZIP_ST Sdk/C/LzmaDec.c -o Sdk/C/LzmaDec.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
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
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 .. -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 -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 
make -C Split
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  Split.c -o Split.o
gcc -o ../bin/Split   Split.o -L../libs -lCommon
make -C TianoCompress
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 -o ../bin/TianoCompress   TianoCompress.o -L../libs -lCommon
make -C VolInfo
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 -o ../bin/VolInfo   VolInfo.o -L../libs -lCommon
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  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  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  DevicePathFromText.c -o DevicePathFromText.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 -o ../bin/DevicePath   DevicePath.o UefiDevicePathLib.o DevicePathFromText.o  DevicePathUtilities.o -L../libs -lCommon
Finished building BaseTools C Tools with HOST_ARCH=X64
make -C Source/Python
make[1]: Nothing to be done for `all'.
make -C Tests
testHelp (TianoCompress.Tests) ... ok
testRandomDataCycles (TianoCompress.Tests) ... ok
test_AutoGen_AutoGen (CheckPythonSyntax.Tests) ... ok
test_AutoGen_AutoGenWorker (CheckPythonSyntax.Tests) ... ok
test_AutoGen_BuildEngine (CheckPythonSyntax.Tests) ... ok
test_AutoGen_CacheIR (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_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_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_buildoptions (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_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_sitecustomize (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 280 tests in 1.746s

OK

Running edk2 build for CloverX64 using the command:
build  --conf=/Users/fusion71au/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t gcc53 -n 5 

Build environment: Darwin-16.7.0-x86_64-i386-64bit
Build start time: 15:39:58, Sep.12 2019

WORKSPACE        = /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/fusion71au/src/CloverBootloader/Conf
build: : warning: Tool chain [gcc53] is not defined


build.py...
 : error 4000: Not available
	[gcc53] not defined. No toolchain available for build!


- Failed -
Build end time: 15:39:58, Sep.12 2019
Build total time: 00:00:00

No problem with default XCODE tool chain though :).

  • Like 1
Link to comment
Share on other sites

36 minutes ago, fusion71au said:

No problem with default XCODE tool chain though :).

svn = r5080

github = r5078, gcc9 only in 5079. Now should be ok

2 hours ago, Slice said:

The script buildme works but it compiles from begin to end. It is too long.

Yep, it actually compile boot7 and always use -fr. Two passage

 

2 hours ago, Slice said:

@vector sigma

 

Is there any way to make "Rebuild" with cashed compilation? For example one file changed and don't compile other files?

Try '5) test build (no autogen, no boot files)' on latest commit. ebuild.sh is called once:

./ebuild.sh -nb

very fast and rebuild only changed files. Drivers aren't copied to destinations so you only know if compilation succeded, as a test.

  • Thanks 2
Link to comment
Share on other sites

1 hour ago, fusion71au said:

 

I have similar problem now with CloverHackyColor git and compilation with gcc53 tool chain ---> "build: : warning: Tool chain [gcc53] is not defined".  Looks like very recent commit broke it again (since it was working before).

 

Below is my build log using ./buildme gcc53 ...

No problem with default XCODE tool chain though :).

..and why error logs are always differ on our case? #LOL

Anyway, I use ./ebuild.sh -fr -t GCC53 (GCC 9.2.0 is installed on /CloverHackyColor/opt/local/*)

Screen Shot 2019-09-12 at 14.36.33.jpg

Edited by Badruzeus
  • Like 1
Link to comment
Share on other sites

35 minutes ago, vector sigma said:

svn = r5080

github = r5078, gcc9 only in 5079. Now should be ok

 

15 minutes ago, Badruzeus said:

..and why error logs are always differ on our case? #LOL

Anyway, I use ./ebuild.sh -fr -t GCC53 (GCC 9.2.0 is installed on /CloverHackyColor/opt/local/*)

Screen Shot 2019-09-12 at 14.36.33.jpg

 

@vector sigma's latest commit fixed the "Tool chain [gcc53] is not defined" error, but now I get exactly the same error as @Badruzeus

 

With upgrade to gcc9, I get the build log below with ./buildme GCC53 using CloverHackyColor git...

fusion71aus-iMac:~ fusion71au$ cd /Users/fusion71au/src/CloverBootloader 
fusion71aus-iMac:CloverBootloader fusion71au$ ./buildme GCC53

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 7
[UPDATE CLOVER]
Fetching origin
From https://github.com/CloverHackyColor/CloverBootloader
 * branch            master     -> FETCH_HEAD
Already up-to-date.

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 1
Loading previous configuration from /Users/fusion71au/src/CloverBootloader/Conf/BuildEnv.sh
WORKSPACE: /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH: /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH: /Users/fusion71au/src/CloverBootloader/Conf
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/fusion71au/src/opt/local
NASM_PREFIX: /Users/fusion71au/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/fusion71au/src/CloverBootloader

Running edk2 build for CloverX64 using the command:
build  --conf=/Users/fusion71au/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t GCC53 -n 5 

Build environment: Darwin-16.7.0-x86_64-i386-64bit
Build start time: 17:59:00, Sep.12 2019

WORKSPACE        = /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/fusion71au/src/CloverBootloader/Conf


Architecture(s)  = X64

Processing meta-data .Build target     = RELEASE
Toolchain        = GCC53

Active Platform          = /Users/fusion71au/src/CloverBootloader/Clover.dsc
......... done!
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
[CC] UefiRuntimeServicesTableLib
[CC] DriverEntryPoint
[CC] Acpi
[NASM] CpuFlushTlb
[SLINK] UefiDriverEntryPoint
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
[SLINK] UefiRuntimeServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:142:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  142 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreeAlignedPages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:343:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  343 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePool':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:810:17: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  810 |   EFI_STATUS    Status;
      |                 ^~~~~~
[CC] PrintLib
[CC] DevicePathFromText
[CC] Console
[NASM] CpuSleep
[SLINK] BaseCpuLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
[CC] PrintLibInternal
[SLINK] BasePrintLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
[CC] CompareMemWrapper
[CC] UefiBootServicesTableLib
[SLINK] UefiBootServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseLib/BaseLib.inf [X64]
cc1: all warnings being treated as errors
make: *** [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/MemoryAllocationLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/BaseLib/BaseLib]


build.py...
 : error F002: Failed to build module
	/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 17:59:15, Sep.12 2019
Build total time: 00:00:15

 

Link to comment
Share on other sites

3 minutes ago, fusion71au said:

 

 

@vector sigma's latest commit fixed the "Tool chain [gcc53] is not defined" error, but now I get exactly the same error as @Badruzeus

 

With upgrade to gcc9, I get the build log below with ./buildme GCC53 using CloverHackyColor git...


fusion71aus-iMac:~ fusion71au$ cd /Users/fusion71au/src/CloverBootloader 
fusion71aus-iMac:CloverBootloader fusion71au$ ./buildme GCC53

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 7
[UPDATE CLOVER]
Fetching origin
From https://github.com/CloverHackyColor/CloverBootloader
 * branch            master     -> FETCH_HEAD
Already up-to-date.

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 1
Loading previous configuration from /Users/fusion71au/src/CloverBootloader/Conf/BuildEnv.sh
WORKSPACE: /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH: /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH: /Users/fusion71au/src/CloverBootloader/Conf
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/fusion71au/src/opt/local
NASM_PREFIX: /Users/fusion71au/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/fusion71au/src/CloverBootloader

Running edk2 build for CloverX64 using the command:
build  --conf=/Users/fusion71au/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t GCC53 -n 5 

Build environment: Darwin-16.7.0-x86_64-i386-64bit
Build start time: 17:59:00, Sep.12 2019

WORKSPACE        = /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/fusion71au/src/CloverBootloader/Conf


Architecture(s)  = X64

Processing meta-data .Build target     = RELEASE
Toolchain        = GCC53

Active Platform          = /Users/fusion71au/src/CloverBootloader/Clover.dsc
......... done!
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
[CC] UefiRuntimeServicesTableLib
[CC] DriverEntryPoint
[CC] Acpi
[NASM] CpuFlushTlb
[SLINK] UefiDriverEntryPoint
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
[SLINK] UefiRuntimeServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:142:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  142 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreeAlignedPages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:343:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  343 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePool':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:810:17: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  810 |   EFI_STATUS    Status;
      |                 ^~~~~~
[CC] PrintLib
[CC] DevicePathFromText
[CC] Console
[NASM] CpuSleep
[SLINK] BaseCpuLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
[CC] PrintLibInternal
[SLINK] BasePrintLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
[CC] CompareMemWrapper
[CC] UefiBootServicesTableLib
[SLINK] UefiBootServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseLib/BaseLib.inf [X64]
cc1: all warnings being treated as errors
make: *** [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/MemoryAllocationLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/BaseLib/BaseLib]


build.py...
 : error F002: Failed to build module
	/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 17:59:15, Sep.12 2019
Build total time: 00:00:15

 

Unused variable. MemoryAllocationLib.c is not the patched one. ASSERT change argument for RELEASE build, so 'Status' is unused. Should work I guess for DEBUG. 
Later I'll fix it.

  • Thanks 1
Link to comment
Share on other sites

41 minutes ago, fusion71au said:

 

 

@vector sigma's latest commit fixed the "Tool chain [gcc53] is not defined" error, but now I get exactly the same error as @Badruzeus

 

With upgrade to gcc9, I get the build log below with ./buildme GCC53 using CloverHackyColor git...


fusion71aus-iMac:~ fusion71au$ cd /Users/fusion71au/src/CloverBootloader 
fusion71aus-iMac:CloverBootloader fusion71au$ ./buildme GCC53

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 7
[UPDATE CLOVER]
Fetching origin
From https://github.com/CloverHackyColor/CloverBootloader
 * branch            master     -> FETCH_HEAD
Already up-to-date.

------------------------------------------------------------------------
buildme, Clover v2.5k r5080 (SHA: b6aadbd)
TOOLCHAIN: GCC53 (override example: './buildme GCC53')

 1) build Clover
 2) make pkg
 3) make iso
 4) build all
 5) test build (no autogen, no boot files)
 6) status
 7) update Clover
 8) update Clover (reset changes)
 9) show diff
10) open drivers directory
11) clean BaseTools
12) quit
Please enter your choice: 1
Loading previous configuration from /Users/fusion71au/src/CloverBootloader/Conf/BuildEnv.sh
WORKSPACE: /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH: /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH: /Users/fusion71au/src/CloverBootloader/Conf
[BUILD CLOVER]
TOOLCHAIN_DIR: /Users/fusion71au/src/opt/local
NASM_PREFIX: /Users/fusion71au/src/opt/local/bin/
NASM_VER: 2.14.02
Building from: /Users/fusion71au/src/CloverBootloader

Running edk2 build for CloverX64 using the command:
build  --conf=/Users/fusion71au/src/CloverBootloader/Conf -D USE_LOW_EBDA -p Clover.dsc  -a X64 -b RELEASE -t GCC53 -n 5 

Build environment: Darwin-16.7.0-x86_64-i386-64bit
Build start time: 17:59:00, Sep.12 2019

WORKSPACE        = /Users/fusion71au/src/CloverBootloader
EDK_TOOLS_PATH   = /Users/fusion71au/src/CloverBootloader/BaseTools
CONF_PATH        = /Users/fusion71au/src/CloverBootloader/Conf


Architecture(s)  = X64

Processing meta-data .Build target     = RELEASE
Toolchain        = GCC53

Active Platform          = /Users/fusion71au/src/CloverBootloader/Clover.dsc
......... done!
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseCpuLib/BaseCpuLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
[CC] UefiRuntimeServicesTableLib
[CC] DriverEntryPoint
[CC] Acpi
[NASM] CpuFlushTlb
[SLINK] UefiDriverEntryPoint
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
[SLINK] UefiRuntimeServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:142:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  142 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreeAlignedPages':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:343:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  343 |   EFI_STATUS  Status;
      |               ^~~~~~
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c: In function 'FreePool':
/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c:810:17: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  810 |   EFI_STATUS    Status;
      |                 ^~~~~~
[CC] PrintLib
[CC] DevicePathFromText
[CC] Console
[NASM] CpuSleep
[SLINK] BaseCpuLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
[CC] PrintLibInternal
[SLINK] BasePrintLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf [X64]
[CC] CompareMemWrapper
[CC] UefiBootServicesTableLib
[SLINK] UefiBootServicesTableLib
Building ... /Users/fusion71au/src/CloverBootloader/MdePkg/Library/BaseLib/BaseLib.inf [X64]
cc1: all warnings being treated as errors
make: *** [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib/OUTPUT/MemoryAllocationLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/fusion71au/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/BaseLib/BaseLib]


build.py...
 : error F002: Failed to build module
	/Users/fusion71au/src/CloverBootloader/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 17:59:15, Sep.12 2019
Build total time: 00:00:15

 

I committed changes to  MemoryAllocationLib. Clover can't be build to DEBUG and this library was wrong for RELEASE.

  • Like 2
Link to comment
Share on other sites

8 minutes ago, Zenith432 said:

@fusion71au: Add the line


#pragma GCC diagnostic ignored "-Wunused-but-set-variable"

in MdePkg/Library/UefiMemoryAllocationLib/MemoryAllocationLib.c to silence the warning.

also in all of these?

/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.c:143:15: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
  143 |   EFI_STATUS  Status;
      |               ^~~~~~
[CC] BitField
[CC] CopyMemWrapper
[NASM] IoFifo
[CC] CheckSum
[SLINK] BaseIoLibIntrinsic
[CC] IsZeroBufferWrapper
Building ... /Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf [X64]
[CC] ChkStkGcc
[CC] DebugLib
[CC] MemLibGeneric
[SLINK] BaseDebugLibNull
[CC] Cpu
Building ... /Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf [X64]
[CC] MemLibGuid
[CC] CpuDeadLoop
cc1: all warnings being treated as errors
make: *** [/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiLib/UefiLib/OUTPUT/UefiLib.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/UefiLib/UefiLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib]


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/MdePkg/Library/BaseLib/BaseLib]


build.py...
 : error F002: Failed to build module
	/Users/badruzeus/Projects/CloverHackyColor/CloverBootloader/MdePkg/Library/UefiLib/UefiLib.inf [X64, GCC53, RELEASE]

- Failed -

 

Link to comment
Share on other sites

There is somthing wrong with the settings in the github repository

In sf.net svn Patches_for_EDK2/Conf/tools_def.txt

DEFINE GCC46_IA32_CC_FLAGS           = DEF(GCC45_IA32_CC_FLAGS) -Wno-address -Wno-unused-but-set-variable
DEFINE GCC46_X64_CC_FLAGS            = DEF(GCC45_X64_CC_FLAGS) -Wno-unused-but-set-variable -mabi=ms

So -Wunused-but-set-variable is disabled for all GCC46 and later (including GCC53).

In CloverHackyColor tools_def.txt I see this warning disabled for GCC48 ONLY, but not for any other version of GCC

RELEASE_GCC48_X64_CC_FLAGS       = DEF(GCC48_X64_CC_FLAGS) -Os -Wno-unused-but-set-variable

So adding the pragma in the source files to silence the warning should not be necessary.  It is tools_def.txt settings for GCC that are not synchronized with sf.net for proper GCC compilation.

  • Like 3
Link to comment
Share on other sites

14 minutes ago, Slice said:

OK, I committed this. Look please if it is good.

[CC] FixBiosDsdt
/Users/vectorsigma/src/CloverBootloader/rEFIt_UEFI/Platform/HdaCodecDump.c: In function 'SaveHdaDumpTxt':
/Users/vectorsigma/src/CloverBootloader/rEFIt_UEFI/Platform/HdaCodecDump.c:349:12: error: 'Status' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  349 |     return Status;
      |            ^~~~~~
[CC] Hotkey
cc1: all warnings being treated as errors
make: *** [/Users/vectorsigma/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/HdaCodecDump.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/vectorsigma/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module

I guess this can be solved in code..

Link to comment
Share on other sites

1 hour ago, Slice said:

OK, I committed this. Look please if it is good.

It builds now.

Size of Clover GUI built from github with GCC 9.2

Quote

-rw-r--r--   1  zenith432 zenith432   943808 Sep 12 13:27 ./CloverPackage/CloverV2/EFI/BOOT/BOOTX64.efi

size of Clover GUI built from sf.net with GCC 9.2

Quote

-rw-r--r--   1  zenith432 zenith432   867392 Sep 12 13:28 ./CloverPackage/CloverV2/EFI/BOOT/BOOTX64.efi

so settings are not the same...

Link to comment
Share on other sites

1 hour ago, Zenith432 said:

It builds now.

Size of Clover GUI built from github with GCC 9.2

size of Clover GUI built from sf.net with GCC 9.2

so settings are not the same...

I see some differences

SF

DEFINE GCC_ALL_CC_FLAGS            = -g -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h

Git

DEFINE GCC_ALL_CC_FLAGS            = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common

sf

DEFINE GCC_IA32_X64_DLINK_FLAGS    = DEF(GCC_IA32_X64_DLINK_COMMON),--entry,_$(IMAGE_ENTRY_POINT),--file-alignment,0x20,--section-alignment,0x20,-Map,$(DEST_DIR_DEBUG)/$(BASE_NAME).map

git

DEFINE GCC_IA32_X64_DLINK_FLAGS    = DEF(GCC_IA32_X64_DLINK_COMMON) --entry _$(IMAGE_ENTRY_POINT) --file-alignment 0x20 --section-alignment 0x20 -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map

and so on.

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...