Re: compile error


wenyi,xie
 

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.

Thanks
Wenyi

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 <xiewenyi2=huawei.com@groups.io> wrote:

´╗┐Hello everyone´╝î

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
Linux job-for-start-dev-docker-210-mxzlp-5vjvk-n9nt4 4.15.0-45-generic #86-Ubuntu SMP X86_64
python 2.7.17
Does anyone know how to solve this compile error.

Building ... /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
self.run()
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, ''.




.

Join discuss@edk2.groups.io to automatically receive all group messages.