Bug 10143 - meta-mingw no longer builds on krogoth
Summary: meta-mingw no longer builds on krogoth
Status: RESOLVED FIXED
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: layers (show other bugs)
Version: 2.1.2
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 2.1.2
Assignee: Juro Bystricky
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-08-15 17:26 UTC by Juro Bystricky
Modified: 2016-09-30 16:40 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Used to work)
Verified:
Documentation change: Don't know


Attachments
test script i686 (3.83 KB, text/x-sh)
2016-08-20 18:10 UTC, Juro Bystricky
no flags Details
test script x86_64 (3.84 KB, text/x-sh)
2016-08-20 18:11 UTC, Juro Bystricky
no flags Details

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