On 2021/5/13 19:29, Feng, Bob C wrote:
Could you try the python3?
We have tried to set the default version of python to 3.7, but the error is still there.
From: email@example.com <firstname.lastname@example.org> On Behalf Of wenyi,xie via groups.io
Sent: Thursday, May 13, 2021 7:20 PM
To: Andrew (EFI) Fish <email@example.com>; firstname.lastname@example.org
Subject: Re: [edk2-discuss] compile error
And this error only occurred in a specific environment. We trace the commit log and find this error relate to the feature "BaseTools Enable multiple-thread autogen".
Maybe this environment doesn't support multi thread well, the root cause is still unknown.
May I ask whether there's a way to disable this feature, or any other workaround for this problem.
On 2021/5/12 23:23, Andrew (EFI) Fish wrote:
That is an error in a Python build tool, not a compiler error?
Sent from my iPhone
On May 12, 2021, at 2:41 AM, wenyi,xie via groups.io <email@example.com> wrote:.
When we update EDK2 version from 201903 to 202011, we meet a compile error, the error message like below. we roll back the EDK2 version and find the error starts from 201908.
Our env is
4.15.0-45-generic #86-Ubuntu SMP X86_64 python 2.7.17 Does anyone
know how to solve this compile error.
/home/phisik3/jenkins_home/workspace/C_56173/work_code/bios/output/edk2/ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf [AARCH64] Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/home/phisik3/jenkins_home/workspace/C_56173/work_code/bios/output/edk2/BaseTools/Source/Python/AutoGen/AutoGenWorker.py", line 85, in run
log_message = self.log_q.get()
File "/usr/lib/python2.7/multiprocessing/queues.py", line 117, in get
res = self._recv()
UnpicklingError: invalid load key, ''.