public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ghorai, Sukumar" <sukumar.ghorai@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: need help - edk2 build issue
Date: Tue, 5 Apr 2022 20:09:55 +0000	[thread overview]
Message-ID: <CO1PR11MB52031FD82024FD6FAC6585F09DE49@CO1PR11MB5203.namprd11.prod.outlook.com> (raw)
In-Reply-To: <CO1PR11MB520390D1D192CF6640A27BEE9DE49@CO1PR11MB5203.namprd11.prod.outlook.com>

Hi,

would you pl help me to resolve this edk2 build issue (TOT codebase)?

sghorai@sghorai-desk3:~/work/edk2-tianocore/edk2-april05/edk2$ build -p UefiPayloadPkg/UefiPayloadPkg.dsc -a IA32 -a X64 -t GCC5 -D BOOTLOADER=COREBOOT
Build environment: Linux-5.13.0-35-generic-x86_64-with-glibc2.29
Build start time: 12:23:43, Apr.05 2022

WORKSPACE        = /home/sghorai/work/edk2-tianocore/edk2-april05/edk2
EDK_TOOLS_PATH   = /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/BaseTools
CONF_PATH        = /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Conf
PYTHON_COMMAND   = /usr/bin/python3.8


Processing meta-data .
Architecture(s)  = IA32 X64
Build target     = DEBUG
Toolchain        = GCC5

Active Platform          = /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/UefiPayloadPkg/UefiPayloadPkg.dsc
... done!
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiLib/UefiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiScsiLib/UefiScsiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/UefiPayloadPkg/Library/DxeHobListLib/DxeHobListLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf [X64]
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf [X64]
make: Nothing to be done for 'tbuild'.
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64]
Trim --asm-file -o /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.i -i /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/inc.lst /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/X64/LongJump.nasm
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/DxePcdLib/DxePcdLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/UefiPayloadPkg/Library/DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/UefiPayloadPkg/Library/DxeHobLib/DxeHobLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BasePrintLib/BasePrintLib.inf [X64]
make: Nothing to be done for 'tbuild'.
"gcc" -MMD -MF /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj.deps -E -x assembler-with-cpp -include AutoGen.h -DOPENSBI_EXTERNAL_SBI_TYPES=OpensbiTypes.h -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/X64 -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Include -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Test/UnitTest/Include -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Include/X64 /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/X64/LongJump.nasm > /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.ii
Trim --trim-long --source-code -o /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.ii
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/BootMaintenanceManagerUiLib.inf [X64]
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/BootManagerUiLib/BootManagerUiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/DeviceManagerUiLib/DeviceManagerUiLib.inf [X64]
make: Nothing to be done for 'tbuild'.
Building ... /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdeModulePkg/Library/FileExplorerLib/FileExplorerLib.inf [X64]
"nasm" -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/X64/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/X64/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/DEBUG/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Include/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Test/UnitTest/Include/ -I/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Include/X64/ -f elf64 -o /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii
/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:44: error: parser: instruction expected
/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.iii:49: error: parser: instruction expected
make: *** [GNUmakefile:742: /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib/OUTPUT/X64/LongJump.obj] Error 1


build.py...
: error 7000: Failed to execute command
        make tbuild [/home/sghorai/work/edk2-tianocore/edk2-april05/edk2/Build/UefiPayloadPkgX64/DEBUG_GCC5/X64/MdePkg/Library/BaseLib/BaseLib]


build.py...
: error F002: Failed to build module
        /home/sghorai/work/edk2-tianocore/edk2-april05/edk2/MdePkg/Library/BaseLib/BaseLib.inf [X64, GCC5, DEBUG]

- Failed -
Build end time: 12:23:48, Apr.05 2022
Build total time: 00:00:04

sghorai@sghorai-desk3:~/work/edk2-tianocore/edk2-april05/edk2$



Thx & rgds,
Sukumar


       reply	other threads:[~2022-04-05 20:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CO1PR11MB520390D1D192CF6640A27BEE9DE49@CO1PR11MB5203.namprd11.prod.outlook.com>
2022-04-05 20:09 ` Ghorai, Sukumar [this message]
2022-04-05 21:37   ` [edk2-devel] need help - edk2 build issue Andrew Fish
2022-04-05 21:38   ` Pedro Falcato

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=CO1PR11MB52031FD82024FD6FAC6585F09DE49@CO1PR11MB5203.namprd11.prod.outlook.com \
    --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