This surprised me. Maybe edksetup.sh can do something like "nasm -v" and flag this compat issue?
I used the following to update my Debian-based OS's like Ubuntu (bare-metal, WSL, etc). wget http://www.nasm.us/pub/nasm/releasebuilds/2.15.05/nasm-2.15.05.tar.bz2 tar xfj nasm-2.15.05.tar.bz2 cd nasm-2.15.05/ ./autogen.sh ./configure --prefix=/usr/local/ make sudo make install Vincent -----Original Message----- From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Michael D Kinney Sent: Tuesday, March 8, 2022 7:48 AM To: devel@edk2.groups.io; thomas.lenda...@amd.com; Kinney, Michael D <michael.d.kin...@intel.com> Subject: Re: [edk2-devel] Build failure NASM 2.15.05 is required. Mike > -----Original Message----- > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of > Lendacky, Thomas via groups.io > Sent: Tuesday, March 8, 2022 6:08 AM > To: devel@edk2.groups.io > Subject: [edk2-devel] Build failure > > Is there a new minimum version of NASM required for the build? The > following commit causes the build to fail on my Ubuntu 20.04 system: > > d3febfd9ade3 ("MdePkg: Replace Opcode with the corresponding > instructions.") > > Specifically the opcode changes in LongJump.nasm: > > /root/kernels/ovmf-build-X64/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:44: > error: > parser: instruction expected > /root/kernels/ovmf-build-X64/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:49: > error: > parser: instruction expected > make: *** [GNUmakefile:742: /root/kernels/ovmf-build- > X64/Build/OvmfX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT > /X64/LongJump.obj] Error 1 > > The most recent NASM version available on Ubuntu 20.04 is: > > # nasm -v > NASM version 2.14.02 > > Thanks, > Tom > > > > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#87364): https://edk2.groups.io/g/devel/message/87364 Mute This Topic: https://groups.io/mt/89637409/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-