I want to compile a riscv-edk2-master but the latest version is not fit #542

Closed
opened 2026-01-29 20:45:25 +00:00 by claunia · 11 comments
Owner

Originally created by @LunaticLegacy on GitHub (May 27, 2025).

So I have a question: WHICH VERSION's brotli should I fetch for the missing symbols?

devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$ make
make -C Source/C
make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C'
Attempting to detect HOST_ARCH from 'uname -m': x86_64
Detected HOST_ARCH of X64 using uname.
mkdir -p .
make -C Common
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
make -C BrotliCompress
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
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
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: ../bin/BrotliCompress: hidden symbol `kBrotliCopyExtra' isn't defined
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2
make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C'
make: *** [GNUmakefile:19: Source/C] Error 2
devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$
Originally created by @LunaticLegacy on GitHub (May 27, 2025). So I have a question: **WHICH VERSION**'s brotli should I fetch for the missing symbols? ``` wsl devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$ make make -C Source/C make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C' Attempting to detect HOST_ARCH from 'uname -m': x86_64 Detected HOST_ARCH of X64 using uname. mkdir -p . make -C Common make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' make -C BrotliCompress make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' 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 /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: ../bin/BrotliCompress: hidden symbol `kBrotliCopyExtra' isn't defined /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1 make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2 make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$ ```
Author
Owner

@LunaticLegacy commented on GitHub (May 27, 2025):

The latest version has no "dictionary.c" but "dictionary_hash.c".

@LunaticLegacy commented on GitHub (May 27, 2025): The latest version has no "dictionary.c" but "dictionary_hash.c".
Author
Owner

@eustas commented on GitHub (May 27, 2025):

I believe it is not about version, but about symbol visibility.

It seems that between compilation and linking of brotli it has been stripped. Or compiler was somewhat too aggressive.

Try compiling with -DBROTLI_INTERNAL=. That will disable some symbol hiding.

@eustas commented on GitHub (May 27, 2025): I believe it is not about version, but about symbol visibility. It seems that between compilation and linking of brotli it has been stripped. Or compiler was somewhat too aggressive. Try compiling with `-DBROTLI_INTERNAL=`. That will disable some symbol hiding.
Author
Owner

@LunaticLegacy commented on GitHub (May 27, 2025):

It's useless. Once I'm compiling edk2, the symbols above were hidden. But after I added CFLAGS += -DBROTLI_INTERNAL= into ${edk2_dir}/BaseTools/Source/C/BrotilCompress/Makefile, the same problem happened again.
So which MakeFile should I edit?

@LunaticLegacy commented on GitHub (May 27, 2025): It's useless. Once I'm compiling edk2, the symbols above were hidden. But after I added `CFLAGS += -DBROTLI_INTERNAL=` into `${edk2_dir}/BaseTools/Source/C/BrotilCompress/Makefile`, the same problem happened again. So which MakeFile should I edit?
Author
Owner

@eustas commented on GitHub (May 27, 2025):

Let's debug bottom-up. First try adding #define BROTLI_INTERNAL in c/include/brotli /port.h above line 242. Then clean-build.

@eustas commented on GitHub (May 27, 2025): Let's debug bottom-up. First try adding `#define BROTLI_INTERNAL` in `c/include/brotli /port.h` above line 242. Then clean-build.
Author
Owner

@LunaticLegacy commented on GitHub (May 27, 2025):

I did. I just modified that file, then make clean and make again.
But same problem happened, again.

make -C Source/C
make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/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
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
make[2]: Warning: File '../libs' has modification time 0.5 s in the future
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  TianoCompress.c -o TianoCompress.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
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
mkdir ./bin
make -C VfrCompile VfrLexer.h
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile'
BIN_DIR='.' make -C Pccts/dlg
make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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
make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/dlg'
BIN_DIR='.' make -C Pccts/antlr
make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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
mrhoist.c: In function ‘MR_ruleNamePlusOffset’:
mrhoist.c:2220:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2220 |       sprintf(ruleNameStatic2,"%s/%d",ruleNameStatic1,offset+1);
      |                                     ^
In file included from /usr/include/stdio.h:980,
                 from mrhoist.c:28:
In function ‘sprintf’,
    inlined from ‘MR_ruleNamePlusOffset’ at mrhoist.c:2220:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 61 bytes into a destination of size 60
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
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
make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/antlr'
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 3529: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3538: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3547: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3557: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3587: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3596: 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[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile'
make -C BrotliCompress
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  BrotliCompress.c -o BrotliCompress.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/common/dictionary.c -o brotli/c/common/dictionary.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/common/transform.c -o brotli/c/common/transform.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/bit_reader.c -o brotli/c/dec/bit_reader.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/decode.c -o brotli/c/dec/decode.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/huffman.c -o brotli/c/dec/huffman.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/backward_references.c -o brotli/c/enc/backward_references.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/utf8_util.c -o brotli/c/enc/utf8_util.o
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
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2
make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C'
make: *** [GNUmakefile:19: Source/C] Error 2make -C Source/C
make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/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
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
make[2]: Warning: File '../libs' has modification time 0.5 s in the future
gcc  -c  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  TianoCompress.c -o TianoCompress.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
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common'
mkdir ./bin
make -C VfrCompile VfrLexer.h
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile'
BIN_DIR='.' make -C Pccts/dlg
make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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
make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/dlg'
BIN_DIR='.' make -C Pccts/antlr
make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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
mrhoist.c: In function ‘MR_ruleNamePlusOffset’:
mrhoist.c:2220:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
 2220 |       sprintf(ruleNameStatic2,"%s/%d",ruleNameStatic1,offset+1);
      |                                     ^
In file included from /usr/include/stdio.h:980,
                 from mrhoist.c:28:
In function ‘sprintf’,
    inlined from ‘MR_ruleNamePlusOffset’ at mrhoist.c:2220:7:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 61 bytes into a destination of size 60
   30 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   31 |                                   __glibc_objsize (__s), __fmt,
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   32 |                                   __va_arg_pack ());
      |                                   ~~~~~~~~~~~~~~~~~
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
make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/antlr'
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 3529: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3538: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3547: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3557: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3587: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf )
VfrSyntax.g, line 3596: 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[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile'
make -C BrotliCompress
make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  BrotliCompress.c -o BrotliCompress.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/common/dictionary.c -o brotli/c/common/dictionary.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/common/transform.c -o brotli/c/common/transform.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/bit_reader.c -o brotli/c/dec/bit_reader.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/decode.c -o brotli/c/dec/decode.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/dec/huffman.c -o brotli/c/dec/huffman.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/backward_references.c -o brotli/c/enc/backward_references.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2  brotli/c/enc/utf8_util.c -o brotli/c/enc/utf8_util.o
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
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach'
/usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra'
/usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase'
/usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary'
/usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary'
/usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable'
/usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc'
/usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2':
/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table'
/usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1
make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress'
make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2
make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C'
make: *** [GNUmakefile:19: Source/C] Error 2
@LunaticLegacy commented on GitHub (May 27, 2025): I did. I just modified that file, then `make clean` and `make` again. But same problem happened, again. ``` make -C Source/C make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/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 make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' make[2]: Warning: File '../libs' has modification time 0.5 s in the future gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 TianoCompress.c -o TianoCompress.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 make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' mkdir ./bin make -C VfrCompile VfrLexer.h make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile' BIN_DIR='.' make -C Pccts/dlg make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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 make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/dlg' BIN_DIR='.' make -C Pccts/antlr make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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 mrhoist.c: In function ‘MR_ruleNamePlusOffset’: mrhoist.c:2220:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2220 | sprintf(ruleNameStatic2,"%s/%d",ruleNameStatic1,offset+1); | ^ In file included from /usr/include/stdio.h:980, from mrhoist.c:28: In function ‘sprintf’, inlined from ‘MR_ruleNamePlusOffset’ at mrhoist.c:2220:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 61 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/antlr' 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 3529: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3538: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3547: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3557: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3587: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3596: 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[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile' make -C BrotliCompress make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' 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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 BrotliCompress.c -o BrotliCompress.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/common/dictionary.c -o brotli/c/common/dictionary.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/common/transform.c -o brotli/c/common/transform.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/bit_reader.c -o brotli/c/dec/bit_reader.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/decode.c -o brotli/c/dec/decode.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/huffman.c -o brotli/c/dec/huffman.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/enc/backward_references.c -o brotli/c/enc/backward_references.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/enc/utf8_util.c -o brotli/c/enc/utf8_util.o 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 /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1 make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2 make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2make -C Source/C make[1]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/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 make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' make[2]: Warning: File '../libs' has modification time 0.5 s in the future gcc -c -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/ -MD -fshort-wchar -fno-strict-aliasing -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 TianoCompress.c -o TianoCompress.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 make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/Common' mkdir ./bin make -C VfrCompile VfrLexer.h make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile' BIN_DIR='.' make -C Pccts/dlg make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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 make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/dlg' BIN_DIR='.' make -C Pccts/antlr make[3]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/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 mrhoist.c: In function ‘MR_ruleNamePlusOffset’: mrhoist.c:2220:37: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 2220 | sprintf(ruleNameStatic2,"%s/%d",ruleNameStatic1,offset+1); | ^ In file included from /usr/include/stdio.h:980, from mrhoist.c:28: In function ‘sprintf’, inlined from ‘MR_ruleNamePlusOffset’ at mrhoist.c:2220:7: /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 3 and 61 bytes into a destination of size 60 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 make[3]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile/Pccts/antlr' 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 3529: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3538: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3547: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3557: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3587: warning: alts 1 and 2 of {..} ambiguous upon ( ";" RefreshGuid GuidOp Locked Image EndIf InconsistentIf DisableIf SuppressIf Default GrayOutIf ) VfrSyntax.g, line 3596: 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[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/VfrCompile' make -C BrotliCompress make[2]: Entering directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' 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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 BrotliCompress.c -o BrotliCompress.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/common/dictionary.c -o brotli/c/common/dictionary.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/common/transform.c -o brotli/c/common/transform.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/bit_reader.c -o brotli/c/dec/bit_reader.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/decode.c -o brotli/c/dec/decode.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/dec/huffman.c -o brotli/c/dec/huffman.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/enc/backward_references.c -o brotli/c/enc/backward_references.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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -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 -fwrapv -fno-delete-null-pointer-checks -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -O2 brotli/c/enc/utf8_util.c -o brotli/c/enc/utf8_util.o 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 /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: warning: relocation against `_kBrotliPrefixCodeRanges' in read-only section `.text' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x804): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x90c): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x9f1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0xc51): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/decode.o: in function `ReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0xe2c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:932:(.text+0x102c): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2ae1): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x2e61): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `BrotliDecoderAttachDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1608:(.text+0x5341): undefined reference to `BrotliSharedDictionaryAttach' /usr/bin/ld: brotli/c/dec/decode.o: in function `SafeReadBlockLength': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:951:(.text+0x5be3): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/dec/decode.o: in function `PrepareLiteralDecoding': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/decode.c:1247:(.text+0x5f4f): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateInit': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:105:(.text+0x11e): undefined reference to `BrotliSharedDictionaryCreateInstance' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x15b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:113:(.text+0x162): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/dec/state.o: in function `BrotliDecoderStateCleanup': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/dec/state.c:160:(.text+0x2ee): undefined reference to `BrotliSharedDictionaryDestroyInstance' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x52b): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x593): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x68e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x6f6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/backward_references_hq.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:236: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:457:(.text+0x9c6): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateZopfliNode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:269:(.text+0xca1): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/backward_references_hq.o: in function `UpdateNodes': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/backward_references_hq.c:576:(.text+0x1147): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: brotli/c/enc/bit_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x90): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xba): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x301): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x339): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x376): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/bit_cost.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1b5): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x3b0): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x735): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x73c): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x747): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x75a): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `NextBlockTypeCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:64:(.text+0x10fa): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BlockLengthPrefixCode': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:40:(.text+0x1278): undefined reference to `_kBrotliPrefixCodeRanges' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `BrotliStoreMetaBlock': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:960:(.text+0x2399): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `GetInsertExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/command.h:97:(.text+0x2a85): undefined reference to `kBrotliInsExtra' /usr/bin/ld: brotli/c/enc/brotli_bit_stream.o: in function `StoreCommandExtra': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:93:(.text+0x2a90): undefined reference to `kBrotliCopyBase' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:95:(.text+0x2a9e): undefined reference to `kBrotliCopyExtra' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/brotli_bit_stream.c:92:(.text+0x2aab): undefined reference to `kBrotliInsBase' /usr/bin/ld: brotli/c/enc/cluster.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x5d): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x359): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xeee): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x11c0): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1cfe): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/cluster.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `WriteMetaBlockInternal': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:492:(.text+0x878): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xf03): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xff5): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x10f3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x113e): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1240): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o: in function `ShouldUseComplexStaticContextMap': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:355:(.text+0x1423): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1537): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x156f): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15b6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x15ec): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x1932): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/encode.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: brotli/c/enc/encode.o: in function `EncodeData': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1070:(.text+0x21fd): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderPrepareDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1734:(.text+0x6fb5): undefined reference to `CreatePreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderDestroyPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1773:(.text+0x705d): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/encode.o: in function `BrotliEncoderAttachPreparedDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1826:(.text+0x717f): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encode.c:1803:(.text+0x71b1): undefined reference to `AttachPreparedDictionary' /usr/bin/ld: brotli/c/enc/encoder_dict.o: in function `BrotliCleanupSharedEncoderDictionary': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/encoder_dict.c:598:(.text+0x200): undefined reference to `DestroyPreparedDictionary' /usr/bin/ld: brotli/c/enc/histogram.o: in function `BrotliBuildHistogramsWithContext': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/histogram.c:72:(.text+0x178): undefined reference to `_kBrotliContextLookupTable' /usr/bin/ld: brotli/c/enc/literal_cost.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xd3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0xed): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c9): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4e3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/memory.o: in function `BrotliInitMemoryManager': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x1b): undefined reference to `BrotliDefaultAllocFunc' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/memory.c:49:(.text+0x22): undefined reference to `BrotliDefaultFreeFunc' /usr/bin/ld: brotli/c/enc/metablock.o: in function `FastLog2': /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x370): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3a6): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x3e8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4c3): undefined reference to `kBrotliLog2Table' /usr/bin/ld: /mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54:(.text+0x4f8): undefined reference to `kBrotliLog2Table' /usr/bin/ld: brotli/c/enc/metablock.o:/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress/brotli/c/enc/fast_log.h:54: more undefined references to `kBrotliLog2Table' follow /usr/bin/ld: warning: creating DT_TEXTREL in a PIE collect2: error: ld returned 1 exit status make[2]: *** [../Makefiles/app.makefile:18: ../bin/BrotliCompress] Error 1 make[2]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C/BrotliCompress' make[1]: *** [GNUmakefile:76: BrotliCompress] Error 2 make[1]: Leaving directory '/mnt/d/Git/riscv-edk2-master/BaseTools/Source/C' make: *** [GNUmakefile:19: Source/C] Error 2 ```
Author
Owner

@LunaticLegacy commented on GitHub (May 27, 2025):

Also, here's the directory I run make:

devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$ make
@LunaticLegacy commented on GitHub (May 27, 2025): Also, here's the directory I run `make`: ``` devcontainers@DESKTOP-LJC1PO2:/mnt/d/Git/riscv-edk2-master/BaseTools$ make ```
Author
Owner

@eustas commented on GitHub (May 27, 2025):

Is the thing you are trying to build on github, so I could try myself?

@eustas commented on GitHub (May 27, 2025): Is the thing you are trying to build on github, so I could try myself?
Author
Owner

@LunaticLegacy commented on GitHub (May 27, 2025):

Yes. I want to compile an essential UEFI for QEMU Windows for RISC-V. Because the iso file i have should be loaded via UEFI to install.

@LunaticLegacy commented on GitHub (May 27, 2025): Yes. I want to compile an essential UEFI for QEMU Windows for RISC-V. Because the iso file i have should be loaded via UEFI to install.
Author
Owner
@eustas commented on GitHub (May 27, 2025): This one: https://github.com/riscvarchive/riscv-edk2-platforms/blob/master/Platform/RISC-V/PlatformPkg/Readme.md ?
Author
Owner
@LunaticLegacy commented on GitHub (May 27, 2025): > This one: https://github.com/riscvarchive/riscv-edk2-platforms/blob/master/Platform/RISC-V/PlatformPkg/Readme.md ? idk, but I downloaded the source via: https://github.com/riscvarchive/riscv-edk2-platforms/tree/master
Author
Owner

@LunaticLegacy commented on GitHub (May 29, 2025):

This one: https://github.com/riscvarchive/riscv-edk2-platforms/blob/master/Platform/RISC-V/PlatformPkg/Readme.md ?

Problem fixed after I modified GNUMakefile via D:\Git\riscv-edk2-master\BaseTools\Source\C\BrotliCompress.

@LunaticLegacy commented on GitHub (May 29, 2025): > This one: https://github.com/riscvarchive/riscv-edk2-platforms/blob/master/Platform/RISC-V/PlatformPkg/Readme.md ? Problem fixed after I modified GNUMakefile via `D:\Git\riscv-edk2-master\BaseTools\Source\C\BrotliCompress`.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#542