Bug 10143

Summary: meta-mingw no longer builds on krogoth
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Juro Bystricky <juro.bystricky>
Component: layersAssignee: Juro Bystricky <juro.bystricky>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher, sgw
Version: 2.1.2   
Target Milestone: 2.1.2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: Don't know
Attachments:
Description Flags
test script i686
none
test script x86_64 none

Description Juro Bystricky 2016-08-15 17:26:19 UTC
All Krogoth recipes fail to cross-compile for Windows using meta-mingw layer.
In particular, the following should/used to work (jethro with meta-mingw layer):

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
TCLIBC="baremetal"

bitbake gcc-cross-canadian-i586

or 

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
bitbake meta-toolchain

or 

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
bitbake nativesdk-make
Comment 1 Juro Bystricky 2016-08-17 23:32:35 UTC
Various patches in:

http://git.yoctoproject.org/cgit.cgi/meta-mingw-contrib/log/?h=juro/krogoth

I am able to build:

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
TCLIBC="baremetal"
bitbake gcc-cross-canadian-i586


SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
bitbake meta-toolchain

SDKMACHINE="i686-mingw32"
MACHINE="qemux86"
bitbake core-image-minimal -c populate_sdk

However, the resulting SDKs still need to be repacked (.xz is not supported by Windows) and also there is a bunch of unneeded compiler variants (musl, UClibc),
which are actually all identical.
Comment 2 Juro Bystricky 2016-08-20 18:09:10 UTC
Sent patches to mailing list:
https://lists.yoctoproject.org/pipermail/yocto/2016-August/031639.html
Comment 3 Juro Bystricky 2016-08-20 18:10:32 UTC
Created attachment 3373 [details]
test script i686
Comment 4 Juro Bystricky 2016-08-20 18:11:20 UTC
Created attachment 3374 [details]
test script x86_64
Comment 5 Juro Bystricky 2016-09-30 16:40:00 UTC
Patches merged with meta-mingw (new branch for "krogoth")
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mingw/log/?h=krogoth