Bug 10914

Summary: [meta-mingw] nativesdk-mingw-w64-runtime_3.1.0.bb fails in do_configure
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 M2   
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    

Description Joshua Lock 2017-01-11 14:29:35 UTC
Trying to build meta-mingw with master of poky and SDKMACHINE = "x86_64-mingw32" I'm calling: bitbake core-image-minimal -c populate_sdk and the build fails in nativesdk-mingw-w64-runtime_3.1.0.bb fails in do_configure with:

checking whether we are cross compiling... yes
checking for suffix of object files... configure: error: in `/srv/builds/poky/tmp/work/x86_64-nativesdk-mingw32-pokysdk-mingw32/nativesdk-mingw-w64-runtime/3.1.0-r0/build':
configure: error: cannot compute suffix of object files: cannot compile
Comment 1 Joshua Lock 2017-01-11 14:33:28 UTC
Note: same failure with SDKMACHINE = "i686-mingw32"
Comment 2 Juro Bystricky 2017-01-11 18:09:17 UTC
I sent out bunch of patches to the mailing lists in October 2016 (not merged)

https://lists.yoctoproject.org/pipermail/yocto/2016-October/032306.html

which should fix the problem. The comment explicitly says tested with:


$ bitbake core-image-minimal -c populate_sdk
Comment 3 Joshua Lock 2017-01-11 21:45:25 UTC
I hadn't thought to check the list, especially not so far back. I can confirm those patches resolve this issue.
Comment 4 Juro Bystricky 2017-01-25 18:50:48 UTC
The needed patches were merged into meta-mingw:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw/log/