public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Tero Laakso-Pitkäkoski" <tero.laakso-pitkakoski@creocenter.fi>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Building edk2 for qcs610
Date: Wed, 8 Mar 2023 13:55:05 +0000	[thread overview]
Message-ID: <VI1PR05MB5582FBE8B296CF8D1827FE60CDB49@VI1PR05MB5582.eurprd05.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3301 bytes --]

Hello,

I'm trying to build Yocto image for QCS610. The image includes edk2 package, and building that package fails with following trace. I'm using tagged version: LE.UM.6.2.4.r1-13000-QCS610.0 Do you have any suggestions on what goes wrong? Or should I try with different version. Looking at commit history this seemed to be the latest.

| make[1]: Leaving directory '/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/out/Build/DEBUG_CLANG35/AARCH64/QcomModulePkg/Application/LinuxLoader/LinuxLoader'
|
|
| build.py...
|  : error C0DE: Unknown fatal error when processing [/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/QcomModulePkg/Application/LinuxLoader/LinuxLoader.inf]
|
| (Please send email to devel@edk2.groups.io for help, attaching following call stack trace!)
|
| (Python 3.10.6 on linux) Traceback (most recent call last):
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2596, in Main
|     MyBuild.Launch()
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2391, in Launch
|     self._MultiThreadBuildPlatform()
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2271, in _MultiThreadBuildPlatform
|     self.CreateAsBuiltInf()
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/BinWrappers/PosixLike/../../Source/Python/build/build.py", line 2401, in CreateAsBuiltInf
|     Module.CreateAsBuiltInf()
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/AutoGen/ModuleAutoGen.py", line 1503, in CreateAsBuiltInf
|     PatchList = parsePcdInfoFromMapFile(
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py", line 56, in parsePcdInfoFromMapFile
|     return _parseForGCC(lines, efifilepath)
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/GenPatchPcdTable/GenPatchPcdTable.py", line 113, in _parseForGCC
|     efisecs = PeImageClass(efifilepath).SectionHeaderList
|   File "/home/tero/ap_oem/apps_proc/build-qti-distro-fullstack-perf/tmp-glibc/work/qcs610_odk_64-oe-linux/edk2/git-r0/edk2/BaseTools/Source/Python/Common/Misc.py", line 1638, in __init__
|     if ByteArray.tostring() != b'PE\0\0':
| AttributeError: 'array.array' object has no attribute 'tostring'
|
|
| - Failed -
| Build end time: 13:35:16, Mar.08 2023
| Build total time: 00:00:45

Thanks!
Tero Laakso-Pitkäkoski

Phone: +358 400894450
Email: tero.laakso-pitkakoski@creocenter.fi

[-- Attachment #2: Type: text/html, Size: 46072 bytes --]

                 reply	other threads:[~2023-03-08 13:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=VI1PR05MB5582FBE8B296CF8D1827FE60CDB49@VI1PR05MB5582.eurprd05.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