Open x86-sec opened 2 years ago
Same error, I can build OVMF but not the app:
./run.sh app
[...] make[1]: Leaving directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib' Building ... /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/TestDecompressPkg/TestDecompress.inf [X64] make[1]: Entering directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress' cp -p -f /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug objcopy --strip-unneeded -R .eh_frame /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll objcopy --add-gnu-debuglink=/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll objcopy: /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/stQQdWHb: debuglink section already exists cp -p -f /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.debug /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompress.debug "GenFw" -e UEFI_APPLICATION -o /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/OUTPUT/TestDecompress.efi /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/DEBUG/TestDecompress.dll GenFw: ERROR 3000: Invalid Section address not aligned to its own alignment. make[1]: *** [GNUmakefile:351: /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress/OUTPUT/TestDecompress.efi] Error 2 make[1]: Leaving directory '/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress' build.py... : error 7000: Failed to execute command make tbuild [/home/steffens/kAFL/kafl/targets/uefi_ovmf_64/edk2.git/Build/TestDecompressPkg/DEBUG_GCC5/X64/TestDecompressPkg/TestDecompress] build.py... : error F002: Failed to build module /home/steffens/kAFL/kafl/targets/uefi_ovmf_64/TestDecompressPkg/TestDecompress.inf [X64, GCC5, DEBUG] - Failed -
Same error, I can build OVMF but not the app:
./run.sh app