slimbootloader/BaseTools/Source/C
Aiden Park 6295c4ec8f Build stuck on unicode locale Windows
This issue happens under two conditions
  1. Unicode language environment in Windows
  2. A python calls 'BaseTools/toolsetup.bat'
     (In EDKII, edksetup.bat directly in Windows command shell)

- 'BuildLoader.py' calls 'BaseTools/toolsetup.bat' in a subprocess
- 'BaseTools/toolsetup.bat' calls 'nmake cleanall'
- 'cleanall' target runs 'python NmakeSubdirs.py' directly
- 'NmakeSubdirs.py' creates multi-threads
-  The threads create another subprocesses

But, one of multi-threads is on deadlock when python handles stdout and
stderr in a subprocess pipe only if the output includes unicode chars.
Therefore, only stderr will be handled in the pipe same as a single
thread call.

Signed-off-by: Aiden Park <aiden.park@intel.com>
2019-12-11 13:35:31 -08:00
..
Common Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GenCrc32 Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GenFfs Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GenFv Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GenFw Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GenSec Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
Include Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
Lz4Compress Initial check-in for Slim Bootloader source 2018-09-13 16:11:07 -07:00
LzmaCompress Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
Makefiles Build stuck on unicode locale Windows 2019-12-11 13:35:31 -08:00
Split Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
VolInfo Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
GNUmakefile Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00
Makefile Sync up with EDK2 stable tag edk2-stable201905 2019-06-12 08:29:06 -07:00