Skip to content

ovmf build fails on Ubuntu 20.04 #3

Description

@nicopal

Hi,

when running the command

nice build -v --cmd-len=64436 -DDEBUG_ON_SERIAL_PORT=TRUE -n 32 -t GCC5 -a X64 -p OvmfPkg/OvmfPkgX64.dsc

I get the following error:

[OUTPUT SKIPPED]

Building ... /home/host/AMDSEV/ovmf/OvmfPkg/Library/BlobVerifierLibNull/BlobVerifierLibNull.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/host/AMDSEV/ovmf/UefiCpuPkg/Library/MpInitLib/PeiMpInitLib.inf [X64]
"nasm" -I/home/host/AMDSEV/ovmf/MdePkg/Library/BaseLib/X64/ -I/home/host/AMDSEV/ovmf/MdePkg/Library/BaseLib/X64/ -I/home/host/AMDSEV/ovmf/MdePkg/Library/BaseLib/ -I/home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG/ -I/home/host/AMDSEV/ovmf/MdePkg/ -I/home/host/AMDSEV/ovmf/MdePkg/Include/ -I/home/host/AMDSEV/ovmf/MdePkg/Test/UnitTest/Include/ -I/home/host/AMDSEV/ovmf/MdePkg/Include/X64/ -f elf64 -o /home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj /home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii
/home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:44: error: parser: instruction expected
/home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:49: error: parser: instruction expected
make: *** [GNUmakefile:782: /home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj] Error 1

build.py...
: error 7000: Failed to execute command
make tbuild [/home/host/AMDSEV/ovmf/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib]

build.py...
: error F002: Failed to build module
/home/host/AMDSEV/ovmf/MdePkg/Library/BaseLib/BaseLib.inf [X64, GCC5, DEBUG]

Any clues what might cause this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions