Bug 10914 - [meta-mingw] nativesdk-mingw-w64-runtime_3.1.0.bb fails in do_configure
Summary: [meta-mingw] nativesdk-mingw-w64-runtime_3.1.0.bb fails in do_configure
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.3 M2
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 9460
  Show dependency tree
 
Reported: 2017-01-11 14:29 UTC by Joshua Lock
Modified: 2017-01-25 18:50 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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/