From: "gaoliming" <gaoliming@byosoft.com.cn>
To: <devel@edk2.groups.io>, <lixiao.yang@intel.com>
Subject: 回复: [edk2-devel] Build edk2 fail
Date: Fri, 4 Mar 2022 13:22:00 +0800 [thread overview]
Message-ID: <024b01d82f87$c6764600$5362d200$@byosoft.com.cn> (raw)
In-Reply-To: <CY4PR1101MB22302617406C0F5C6C9B89C7EA049@CY4PR1101MB2230.namprd11.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 6925 bytes --]
Please update nasm to 2.15.05 or later.
Thanks
Liming
发件人: devel@edk2.groups.io <devel@edk2.groups.io> 代表 Yang, Lixiao
发送时间: 2022年3月3日 10:21
收件人: devel@edk2.groups.io
主题: [edk2-devel] Build edk2 fail
Hi,
I encountered a failure when trying to build edk2 on March 1st.
Here is the failure:
/build/lxy/edk2_thirdone/MdeModulePkg/Include
/home/build/lxy/edk2_thirdone/ShellPkg/Library/UefiShellDebug1CommandsLib/Co
mp.c
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:339: error: parser: instruction expected
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:340: warning: label alone on a line without a colon might be
in error [-w+orphan-labels]
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:341: error: parser: instruction expected
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:343: error: parser: instruction expected
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:345: error: parser: instruction expected
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:347: error: symbol `incsspq' redefined
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.iii:347: error: parser: instruction expected
/home/build/lxy/edk2_thirdone/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.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/Build/OvmfX64/DEBUG_GCC5/X64/UefiCpuPkg/Librar
y/CpuExceptionHandlerLib/PeiCpuExceptionHandlerLib/OUTPUT/X64/Xcode5Exceptio
nHandlerAsm.obj] Error 1
My OS:
NAME="Red Hat Enterprise Linux"
VERSION="8.3 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.3"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.3 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8.3:GA"
HOME_URL=https://www.redhat.com/
BUG_REPORT_URL=https://bugzilla.redhat.com/
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 8"
REDHAT_BUGZILLA_PRODUCT_VERSION=8.3
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="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 version:
gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5)
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-softf
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/BrotliCustomDecompressLi
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/cmocka
'...
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
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
[-- Attachment #2: Type: text/html, Size: 14868 bytes --]
next prev parent reply other threads:[~2022-03-04 5:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-03 2:21 Build edk2 fail lixiao.yang
2022-03-04 5:22 ` gaoliming [this message]
2022-06-15 7:45 ` [edk2-devel] " Corvin Köhne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='024b01d82f87$c6764600$5362d200$@byosoft.com.cn' \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox