From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by mx.groups.io with SMTP id smtpd.web10.4065.1646371322101154313 for ; Thu, 03 Mar 2022 21:22:03 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=permanent DNS error (domain: byosoft.com.cn, ip: 58.240.74.242, mailfrom: gaoliming@byosoft.com.cn) Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP for ; Fri, 04 Mar 2022 13:21:55 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming" To: , References: In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gQnVpbGQgZWRrMiBmYWls?= Date: Fri, 4 Mar 2022 13:22:00 +0800 Message-ID: <024b01d82f87$c6764600$5362d200$@byosoft.com.cn> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQCXu9VjCMGyf9PiIkWdISUYZS2PVK8vl3/A Content-Type: multipart/alternative; boundary="----=_NextPart_000_024C_01D82FCA.D49A9770" Content-Language: zh-cn ------=_NextPart_000_024C_01D82FCA.D49A9770 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Please update nasm to 2.15.05 or later.=20 =20 Thanks Liming =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Yang, Lixiao =B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA3=D4=C23=C8=D5 10:21 =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io =D6=F7=CC=E2: [edk2-devel] Build edk2 fail =20 Hi, I encountered a failure when trying to build edk2 on March 1st.=20 Here is the failure: /build/lxy/edk2_thirdone/MdeModulePkg/Include /home/build/lxy/edk2_thirdone/ShellPkg/Library/UefiShellDebug1CommandsLib/C= o mp.c /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:339: error: parser: instruction expected /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:340: warning: label alone on a line without a colon might b= e in error [-w+orphan-labels] /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:341: error: parser: instruction expected /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:343: error: parser: instruction expected /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:345: error: parser: instruction expected /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:347: error: symbol `incsspq' redefined /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:347: error: parser: instruction expected /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.iii:444: warning: label alone on a line without a colon might b= e in error [-w+orphan-labels] make: *** [GNUmakefile:312: /home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Libra= r y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Excepti= o nHandlerAsm.obj] Error 1 =20 My OS:=20 NAME=3D"Red Hat Enterprise Linux" VERSION=3D"8.3 (Ootpa)" ID=3D"rhel" ID_LIKE=3D"fedora" VERSION_ID=3D"8.3" PLATFORM_ID=3D"platform:el8" PRETTY_NAME=3D"Red Hat Enterprise Linux 8.3 (Ootpa)" ANSI_COLOR=3D"0;31" CPE_NAME=3D"cpe:/o:redhat:enterprise_linux:8.3:GA" HOME_URL=3Dhttps://www.redhat.com/ BUG_REPORT_URL=3Dhttps://bugzilla.redhat.com/ =20 REDHAT_BUGZILLA_PRODUCT=3D"Red Hat Enterprise Linux 8" REDHAT_BUGZILLA_PRODUCT_VERSION=3D8.3 REDHAT_SUPPORT_PRODUCT=3D"Red Hat Enterprise Linux" REDHAT_SUPPORT_PRODUCT_VERSION=3D"8.3" =20 My kernel version: Linux vmm-build-rhel8 4.18.0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 GNU/Linux =20 My gcc version: gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5) =20 Reproducing steps: [vmm@vmm-build-rhel8 lxy]$ git clone https://github.com/tianocore/edk2.git edk2_thirdone Cloning into 'edk2_thirdone'... remote: Enumerating objects: 367486, done. remote: Counting objects: 100% (31/31), done. remote: Compressing objects: 100% (21/21), done. remote: Total 367486 (delta 13), reused 19 (delta 10), pack-reused 367455 Receiving objects: 100% (367486/367486), 300.44 MiB | 12.18 MiB/s, done. Resolving deltas: 100% (266217/266217), done. Updating files: 100% (8317/8317), done. [vmm@vmm-build-rhel8 lxy]$ cd edk2_thirdone/ [vmm@vmm-build-rhel8 edk2_thirdone]$ git submodule init > /dev/null;git submodule update --recursive Submodule 'SoftFloat' (https://github.com/ucb-bar/berkeley-softfloat-3.git) registered for path 'ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3' Submodule 'BaseTools/Source/C/BrotliCompress/brotli' (https://github.com/google/brotli) registered for path 'BaseTools/Source/C/BrotliCompress/brotli' Submodule 'CryptoPkg/Library/OpensslLib/openssl' (https://github.com/openssl/openssl) registered for path 'CryptoPkg/Library/OpensslLib/openssl' Submodule 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli' (https://github.com/google/brotli) registered for path 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli' Submodule 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma' (https://github.com/kkos/oniguruma) registered for path 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma' Submodule 'RedfishPkg/Library/JsonLib/jansson' (https://github.com/akheron/jansson) registered for path 'RedfishPkg/Library/JsonLib/jansson' Submodule 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka' (https://github.com/tianocore/edk2-cmocka.git) registered for path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka' Cloning into '/home/build/lxy/edk2_thirdone/ArmPkg/Library/ArmSoftFloatLib/berkeley-soft= f loat-3'... Cloning into '/home/build/lxy/edk2_thirdone/BaseTools/Source/C/BrotliCompress/brotli'... Cloning into '/home/build/lxy/edk2_thirdone/CryptoPkg/Library/OpensslLib/openssl'... Cloning into '/home/build/lxy/edk2_thirdone/MdeModulePkg/Library/BrotliCustomDecompressL= i b/brotli'... Cloning into '/home/build/lxy/edk2_thirdone/MdeModulePkg/Universal/RegularExpressionDxe/= o niguruma'... Cloning into '/home/build/lxy/edk2_thirdone/RedfishPkg/Library/JsonLib/jansson'... Cloning into '/home/build/lxy/edk2_thirdone/UnitTestFrameworkPkg/Library/CmockaLib/cmock= a '... Submodule path 'ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3': checked out 'b64af41c3276f97f0e181920400ee056b9c88037' Submodule path 'BaseTools/Source/C/BrotliCompress/brotli': checked out 'f4153a09f87cbb9c826d8fc12c74642bb2d879ea' Submodule path 'CryptoPkg/Library/OpensslLib/openssl': checked out '52c587d60be67c337364b830dd3fdc15404a2f04' Submodule path 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli': checked out 'f4153a09f87cbb9c826d8fc12c74642bb2d879ea' Submodule path 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma': checked out 'abfc8ff81df4067f309032467785e06975678f0d' Submodule path 'RedfishPkg/Library/JsonLib/jansson': checked out 'e9ebfa7e77a6bee77df44e096b100e7131044059' Submodule path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka': checked out '1cc9cde3448cdd2e000886a26acf1caac2db7cf1' [vmm@vmm-build-rhel8 edk2_thirdone]$ OvmfPkg/build.sh -a X64 -n &> make_edk= . log =20 The log file is attached. Is this a bug? If not, please tell me what I should do to build edk2 successfully. =20 Thanks! Yang Lixiao ------=_NextPart_000_024C_01D82FCA.D49A9770 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable

Please update nasm to 2.15.05 or la= ter.

 

Thanks

Liming

=

= =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io <devel@edk2.groups.= io> =B4=FA=B1=ED <= /b>Yang, Lixiao
=B7=A2=CB=CD=CA=B1=BC=E4: 2022=C4=EA3=D4=C23=C8=D5 10:21<= br>=CA=D5=BC=FE=C8=CB: devel@edk2.groups.io
=D6=F7=CC=E2: [edk2-devel] Build edk2 fail=

 <= /o:p>

Hi,

I encountered a failure when = trying to build edk2 on March 1st.

Here is the failure:<= /b>

/build/lxy/edk2_thirdone/Mde= ModulePkg/Include /home/build/lxy/edk2_thirdone/ShellPkg/Library/UefiShellD= ebug1CommandsLib/Comp.c

/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCp= uPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xc= ode5ExceptionHandlerAsm.iii:339: error: parser: instruction expected

/home/build/lxy/edk2= _thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library/CpuExceptionHandl= erLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5ExceptionHandlerAsm.iii:34= 0: warning: label alone on a line without a colon might be in error [-w+orp= han-labels]

/h= ome/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library= /CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio= nHandlerAsm.iii:341: error: parser: instruction expected<= /p>

/home/build/lxy/edk2_thirdone/Bu= ild/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpu= ExceptionHandlerLib/OUTPUT/X64/Xcode5ExceptionHandlerAsm.iii:343: error: pa= rser: instruction expected

/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/Uef= iCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64= /Xcode5ExceptionHandlerAsm.iii:345: error: parser: instruction expected

/home/build/lxy/e= dk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library/CpuExceptionHa= ndlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5ExceptionHandlerAsm.iii= :347: error: symbol `incsspq' redefined

/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG= _GCC5/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuExceptionHandlerL= ib/OUTPUT/X64/Xcode5ExceptionHandlerAsm.iii:347: error: parser: instruction= expected

/hom= e/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library/C= puExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5ExceptionH= andlerAsm.iii:444: warning: label alone on a line without a colon might be = in error [-w+orphan-labels]

make: *** [GNUmakefile:312: /home/build/lxy/edk2_thirdone/Bui= ld/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Library/CpuExceptionHandlerLib/PeiCpuE= xceptionHandlerLib/OUTPUT/X64/Xcode5ExceptionHandlerAsm.obj] Error 1

 

My OS:

NAME=3D"Red Hat Enter= prise Linux"

VERSION=3D"8.3 (Ootpa)"

ID=3D"rhel"

ID_LIKE=3D"fedora"

VERSION_ID=3D"8.3"=

PLATFORM_ID= =3D"platform:el8"

PRETTY_NAME=3D"Red Hat Enterprise Linux 8.3 (Ootpa)"= ;

ANSI_COLOR= =3D"0;31"

CPE_NAME=3D"cpe:/o:redhat:enterprise_linux:8.3:GA"

HOME_URL=3Dhttps://www.redhat.com/

<= p class=3DMsoNormal>BUG_REPORT_URL=3Dhttps://bugzilla.redhat.com/

 

REDHAT_BUGZILLA_PRODUCT=3D"Red Hat E= nterprise Linux 8"

REDHAT_BUGZILLA_PRODUCT_VERSION=3D8.3

REDHAT_SUPPORT_PRODUCT=3D"Red Hat En= terprise Linux"

REDHAT_SUPPORT_PRODUCT_VERSION=3D"8.3"=

 

My kernel version:

Linux vmm-build-rhel8 4.18= .0-240.el8.x86_64 #1 SMP Wed Sep 23 05:13:10 EDT 2020 x86_64 x86_64 x86_64 = GNU/Linux

 

My gcc v= ersion:

gc= c (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)

 

Reproducing steps:

[vmm@vmm-build-rhel8 lxy]$ git clone https://github.com/tianocore/ed= k2.git edk2_thirdone

Cloning into 'edk2_thirdone'...

remote: Enumerating objects: 367486, done.

remote: Counting = objects: 100% (31/31), done.

remote: Compressing objects: 100% (21/21), done.<= /span>

remote: Total 367486 (del= ta 13), reused 19 (delta 10), pack-reused 367455

Receiving objects: 100% (367486/367486),= 300.44 MiB | 12.18 MiB/s, done.

= Resolving deltas: 100% (266217/266217), done.=

Updating files: 100% (83= 17/8317), done.

[vmm@vmm-build-rhel8 lxy]$ cd edk2_thirdone/

[vmm@vmm-build-rhel8 edk2_thirdone]$ git s= ubmodule init > /dev/null;git submodule update --recursive

Submodule 'SoftFloat' (https://github.= com/ucb-bar/berkeley-softfloat-3.git) registered for path 'ArmPkg/Libra= ry/ArmSoftFloatLib/berkeley-softfloat-3'

Submodule 'BaseTools/Source/C/BrotliCompress/bro= tli' (https://github.com/googl= e/brotli) registered for path 'BaseTools/Source/C/BrotliCompress/brotli= '

Submodule 'C= ryptoPkg/Library/OpensslLib/openssl' (https://github.com/openssl/openssl) registered for path 'Cryp= toPkg/Library/OpensslLib/openssl'

Submodule 'MdeModulePkg/Library/BrotliCustomDecompressL= ib/brotli' (https://github.com= /google/brotli) registered for path 'MdeModulePkg/Library/BrotliCustomD= ecompressLib/brotli'

Submodule 'MdeModulePkg/Universal/RegularExpressionDxe/oniguruma' = (https://github.com/kkos/onig= uruma) registered for path 'MdeModulePkg/Universal/RegularExpressionDxe= /oniguruma'

Su= bmodule 'RedfishPkg/Library/JsonLib/jansson' (https://github.com/akheron/jansson) registered for pa= th 'RedfishPkg/Library/JsonLib/jansson'

Submodule 'UnitTestFrameworkPkg/Library/CmockaLib= /cmocka' (https://= github.com/tianocore/edk2-cmocka.git) registered for path 'UnitTestFram= eworkPkg/Library/CmockaLib/cmocka'

Cloning into '/home/build/lxy/edk2_thirdone/ArmPkg/Lib= rary/ArmSoftFloatLib/berkeley-softfloat-3'...

Cloning into '/home/build/lxy/edk2_thirdone= /BaseTools/Source/C/BrotliCompress/brotli'...

Cloning into '/home/build/lxy/edk2_thirdone= /CryptoPkg/Library/OpensslLib/openssl'...

Cloning into '/home/build/lxy/edk2_thirdone/Mde= ModulePkg/Library/BrotliCustomDecompressLib/brotli'...

Cloning into '/home/build/lxy/edk2= _thirdone/MdeModulePkg/Universal/RegularExpressionDxe/oniguruma'...

Cloning into '/home/b= uild/lxy/edk2_thirdone/RedfishPkg/Library/JsonLib/jansson'...

Cloning into '/home/build/l= xy/edk2_thirdone/UnitTestFrameworkPkg/Library/CmockaLib/cmocka'...

Submodule path 'ArmPkg= /Library/ArmSoftFloatLib/berkeley-softfloat-3': checked out 'b64af41c3276f9= 7f0e181920400ee056b9c88037'

Submodule path 'BaseTools/Source/C/BrotliCompress/brotli': ch= ecked out 'f4153a09f87cbb9c826d8fc12c74642bb2d879ea'

<= p class=3DMsoNormal>Submodule path 'CryptoPkg/Library/Op= ensslLib/openssl': checked out '52c587d60be67c337364b830dd3fdc15404a2f04'

Submodule path = 'MdeModulePkg/Library/BrotliCustomDecompressLib/brotli': checked out 'f4153= a09f87cbb9c826d8fc12c74642bb2d879ea'

Submodule path 'MdeModulePkg/Universal/RegularExpres= sionDxe/oniguruma': checked out 'abfc8ff81df4067f309032467785e06975678f0d'<= o:p>

Submodule path= 'RedfishPkg/Library/JsonLib/jansson': checked out 'e9ebfa7e77a6bee77df44e0= 96b100e7131044059'

Submodule path 'UnitTestFrameworkPkg/Library/CmockaLib/cmocka': checke= d out '1cc9cde3448cdd2e000886a26acf1caac2db7cf1'

[vmm@vmm-build-rhel8 edk2_thirdone]$ Ovm= fPkg/build.sh -a X64 -n &> make_edk.log

 

The log file is attached.

Is this a bug? If not, please tell me= what I should do to build edk2 successfully.

 

Thanks!

= Yang Lixiao

------=_NextPart_000_024C_01D82FCA.D49A9770--