Bug 10971

Summary: [meta-mingw] nativesdk-pthreads-win32 fails to build with poky master & meta-mingw master
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Joshua Lock <joshuagloe>
Component: layersAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher
Version: 2.3   
Target Milestone: 2.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 9460    
Attachments:
Description Flags
compilation log none

Description Joshua Lock 2017-01-25 21:48:23 UTC
Created attachment 3606 [details]
compilation log

With HEAD of poky master (aa7e2717d33c2d754ec486e9148f446c1d6a3b14) and HEAD of meta-mingw master (58dda8440c1943c15ee750eb40f0fc651e316f51) I'm trying to build a toolchain with:

$ bitbake core-image-minimal -c populate_sdk

do_compile fails with:

make[1]: x86_64-pokysdk-mingw32-gcc: Command not found
GNUmakefile:522: recipe for target 'attr.o' failed
make[1]: *** [attr.o] Error 127
make[1]: Leaving directory '/srv/builds/poky/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-pthreads-win32/2.9.1-r0/pthreads-w32-2-9-1-release'
GNUmakefile:478: recipe for target 'GC' failed
make: *** [GC] Error 2

Similar error with both SDKMACHINE = "x86_64-mingw32" and SDKMACHINE = "i686-mingw32".

Full compilation log attached.
Comment 1 Juro Bystricky 2017-01-26 20:39:37 UTC
Sent patch to the mailing list:
https://lists.yoctoproject.org/pipermail/yocto/2017-January/034179.html