All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-mingw][PATCH 0/7] Updates for krogoth/master
@ 2016-08-20 18:03 Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth Juro Bystricky
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

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

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

This patchset updates meta-mingw layer so the above work for krogoth as well.
There is no "krogoth" branch for meta-mingw, these patches should go there once the
branch exists.
FWIW, I tested these patches with the current poky master as well, and succeed in cross-compiling
of the most common recipes (for both SDKMACHINE=i686-mingw32 and SDKMACHINE=x86_64-mingw32)
such as:
    bitbake gcc-cross-canadian-i586
    bitbake gdb-cross-canadian-i586
    bitbake meta-toolchain
    bitbake core-image-minimal -c populate_sdk

[YOCTO#10143]



Juro Bystricky (7):
  *-mingw32.conf: Upgrade for krogoth
  gettext_0.19.4.bbappend: Update for later versions
  binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions
  gcc-runtime: Drop libitm for mingw32 runtime
  gmp_6.0.0.bbappend: Removed
  mpfr_3.1.3.bbappend: Work with all 3.1.% versions
  gdb-cross-canadian_7.9.1: Work with all 7.% versions

 conf/machine-sdk/i686-mingw32.conf                               | 7 ++++++-
 conf/machine-sdk/x86_64-mingw32.conf                             | 7 ++++++-
 recipes-core/gettext/gettext_0.19.%.bbappend                     | 6 ++++++
 recipes-core/gettext/gettext_0.19.4.bbappend                     | 2 --
 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend  | 5 +++++
 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -----
 recipes-devtools/gcc/gcc-runtime_%.bbappend                      | 1 +
 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend             | 7 +++++++
 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend           | 5 -----
 recipes-support/gmp/gmp_6.0.0.bbappend                           | 3 ---
 recipes-support/mpfr/mpfr_3.1.%.bbappend                         | 1 +
 recipes-support/mpfr/mpfr_3.1.3.bbappend                         | 1 -
 12 files changed, 32 insertions(+), 18 deletions(-)
 create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
 delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend
 create mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
 delete mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
 create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
 delete mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
 delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend
 create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
 delete mode 100644 recipes-support/mpfr/mpfr_3.1.3.bbappend

-- 
2.7.4



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
@ 2016-08-20 18:03 ` Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions Juro Bystricky
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

Use explicit mingw32 override for

   PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial

to avoid multiple providers and consequently broken builds.

Allow building static libraries, disabled by default.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 conf/machine-sdk/i686-mingw32.conf   | 7 ++++++-
 conf/machine-sdk/x86_64-mingw32.conf | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/conf/machine-sdk/i686-mingw32.conf b/conf/machine-sdk/i686-mingw32.conf
index 0bdedaa..d426fe3 100644
--- a/conf/machine-sdk/i686-mingw32.conf
+++ b/conf/machine-sdk/i686-mingw32.conf
@@ -3,7 +3,8 @@ SDK_OS = "mingw32"
 
 GCCTHREADS_mingw32 = "win32"
 
-PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc = "nativesdk-mingw-w64-runtime"
+PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc_mingw32 = "nativesdk-mingw-w64-runtime"
+PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial_mingw32 = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libc = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv"
@@ -29,3 +30,7 @@ export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
 export RC = "${WINDRES}"
 
 BB_HASHBASE_WHITELIST_append = " WINDRES RC"
+
+# Needed to override no-static-libs.inc
+DISABLE_STATIC_mingw32 = ""
+
diff --git a/conf/machine-sdk/x86_64-mingw32.conf b/conf/machine-sdk/x86_64-mingw32.conf
index 5e80dfa..b9706f9 100644
--- a/conf/machine-sdk/x86_64-mingw32.conf
+++ b/conf/machine-sdk/x86_64-mingw32.conf
@@ -3,7 +3,8 @@ SDK_OS = "mingw32"
 
 GCCTHREADS_mingw32 = "win32"
 
-PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc = "nativesdk-mingw-w64-runtime"
+PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-for-gcc_mingw32 = "nativesdk-mingw-w64-runtime"
+PREFERRED_PROVIDER_virtual/nativesdk-${SDK_PREFIX}libc-initial_mingw32 = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libc = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libintl = "nativesdk-mingw-w64-runtime"
 PREFERRED_PROVIDER_virtual/nativesdk-libiconv = "nativesdk-libiconv"
@@ -29,3 +30,7 @@ export WINDRES = "${HOST_PREFIX}windres --include-dir=${STAGING_INCDIR}"
 export RC = "${WINDRES}"
 
 BB_HASHBASE_WHITELIST_append = " WINDRES RC"
+
+# Needed to override no-static-libs.inc
+DISABLE_STATIC_mingw32 = ""
+
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth Juro Bystricky
@ 2016-08-20 18:03 ` Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 3/7] binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions Juro Bystricky
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

Modified to work properly with later versions.
Only static build supported.
(Tested up to 0.19.8.1)

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-core/gettext/gettext_0.19.%.bbappend | 6 ++++++
 recipes-core/gettext/gettext_0.19.4.bbappend | 2 --
 2 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
 delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend

diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend b/recipes-core/gettext/gettext_0.19.%.bbappend
new file mode 100644
index 0000000..efd10d6
--- /dev/null
+++ b/recipes-core/gettext/gettext_0.19.%.bbappend
@@ -0,0 +1,6 @@
+DEPENDS_append_mingw32 = " pthreads-win32"
+LDFLAGS_prepend_mingw32 = " -lpthread "
+
+CFLAGS_append_mingw32 = " -DLIBXML_STATIC"
+EXTRA_OECONF_append_mingw32 = " --enable-threads=windows --enable-static --disable-shared "
+
diff --git a/recipes-core/gettext/gettext_0.19.4.bbappend b/recipes-core/gettext/gettext_0.19.4.bbappend
deleted file mode 100644
index ac76feb..0000000
--- a/recipes-core/gettext/gettext_0.19.4.bbappend
+++ /dev/null
@@ -1,2 +0,0 @@
-DEPENDS_append_mingw32 = " pthreads-win32"
-LDFLAGS_prepend_mingw32 = " -lpthread "
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 3/7] binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions Juro Bystricky
@ 2016-08-20 18:03 ` Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 4/7] gcc-runtime: Drop libitm for mingw32 runtime Juro Bystricky
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

Tested up to 2.27

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend  | 5 +++++
 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -----
 2 files changed, 5 insertions(+), 5 deletions(-)
 create mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
 delete mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend

diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
new file mode 100644
index 0000000..026c932
--- /dev/null
+++ b/recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
@@ -0,0 +1,5 @@
+EXTRA_OECONF_append_sdkmingw32 = " --disable-plugins --disable-nls"
+LDFLAGS_append_sdkmingw32 = " -Wl,-static"
+
+DEPENDS_remove_sdkmingw32 = "nativesdk-gettext"
+DEPENDS_remove_sdkmingw32 = "nativesdk-flex"
diff --git a/recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend b/recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
deleted file mode 100644
index 026c932..0000000
--- a/recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
+++ /dev/null
@@ -1,5 +0,0 @@
-EXTRA_OECONF_append_sdkmingw32 = " --disable-plugins --disable-nls"
-LDFLAGS_append_sdkmingw32 = " -Wl,-static"
-
-DEPENDS_remove_sdkmingw32 = "nativesdk-gettext"
-DEPENDS_remove_sdkmingw32 = "nativesdk-flex"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 4/7] gcc-runtime: Drop libitm for mingw32 runtime
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (2 preceding siblings ...)
  2016-08-20 18:03 ` [meta-mingw][PATCH 3/7] binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions Juro Bystricky
@ 2016-08-20 18:03 ` Juro Bystricky
  2016-08-20 18:03 ` [meta-mingw][PATCH 5/7] gmp_6.0.0.bbappend: Removed Juro Bystricky
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

libitm mingw build presently not supported, so don't build it.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-devtools/gcc/gcc-runtime_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-devtools/gcc/gcc-runtime_%.bbappend b/recipes-devtools/gcc/gcc-runtime_%.bbappend
index b068dfd..df0ac9e 100644
--- a/recipes-devtools/gcc/gcc-runtime_%.bbappend
+++ b/recipes-devtools/gcc/gcc-runtime_%.bbappend
@@ -4,5 +4,6 @@ FILES_libssp_append_mingw32 = " ${bindir}/libssp*.dll"
 # FILES_libgomp_append_mingw32 = " ${bindir}/libgomp*.dll"
 
 RUNTIMETARGET_remove_mingw32 = "libatomic libgomp"
+RUNTIMETARGET_remove_mingw32 = "libitm"
 
 DEPENDS_append_mingw32 = " pthreads-win32"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 5/7] gmp_6.0.0.bbappend: Removed
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (3 preceding siblings ...)
  2016-08-20 18:03 ` [meta-mingw][PATCH 4/7] gcc-runtime: Drop libitm for mingw32 runtime Juro Bystricky
@ 2016-08-20 18:03 ` Juro Bystricky
  2016-08-20 18:04 ` [meta-mingw][PATCH 6/7] mpfr_3.1.3.bbappend: Work with all 3.1.% versions Juro Bystricky
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:03 UTC (permalink / raw)
  To: yocto

Not needed anymore.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-support/gmp/gmp_6.0.0.bbappend | 3 ---
 1 file changed, 3 deletions(-)
 delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend

diff --git a/recipes-support/gmp/gmp_6.0.0.bbappend b/recipes-support/gmp/gmp_6.0.0.bbappend
deleted file mode 100644
index 7f25fe2..0000000
--- a/recipes-support/gmp/gmp_6.0.0.bbappend
+++ /dev/null
@@ -1,3 +0,0 @@
-do_install_append_mingw32 () {
-	ln -s libgmp.lib ${D}${libdir}/gmp.lib 
-}
\ No newline at end of file
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 6/7] mpfr_3.1.3.bbappend: Work with all 3.1.% versions
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (4 preceding siblings ...)
  2016-08-20 18:03 ` [meta-mingw][PATCH 5/7] gmp_6.0.0.bbappend: Removed Juro Bystricky
@ 2016-08-20 18:04 ` Juro Bystricky
  2016-08-20 18:04 ` [meta-mingw][PATCH 7/7] gdb-cross-canadian_7.9.1: Work with all 7.% versions Juro Bystricky
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:04 UTC (permalink / raw)
  To: yocto

Tested with 3.1.4.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-support/mpfr/mpfr_3.1.%.bbappend | 1 +
 recipes-support/mpfr/mpfr_3.1.3.bbappend | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
 create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
 delete mode 100644 recipes-support/mpfr/mpfr_3.1.3.bbappend

diff --git a/recipes-support/mpfr/mpfr_3.1.%.bbappend b/recipes-support/mpfr/mpfr_3.1.%.bbappend
new file mode 100644
index 0000000..4252e8d
--- /dev/null
+++ b/recipes-support/mpfr/mpfr_3.1.%.bbappend
@@ -0,0 +1 @@
+EXTRA_OECONF_append_mingw32 = " --disable-shared"
\ No newline at end of file
diff --git a/recipes-support/mpfr/mpfr_3.1.3.bbappend b/recipes-support/mpfr/mpfr_3.1.3.bbappend
deleted file mode 100644
index 4252e8d..0000000
--- a/recipes-support/mpfr/mpfr_3.1.3.bbappend
+++ /dev/null
@@ -1 +0,0 @@
-EXTRA_OECONF_append_mingw32 = " --disable-shared"
\ No newline at end of file
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [meta-mingw][PATCH 7/7] gdb-cross-canadian_7.9.1: Work with all 7.% versions
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (5 preceding siblings ...)
  2016-08-20 18:04 ` [meta-mingw][PATCH 6/7] mpfr_3.1.3.bbappend: Work with all 3.1.% versions Juro Bystricky
@ 2016-08-20 18:04 ` Juro Bystricky
  2016-08-20 18:38 ` [meta-mingw][PATCH 0/7] Updates for krogoth/master Khem Raj
  2016-09-28 14:06 ` Ioan-Adrian Ratiu
  8 siblings, 0 replies; 11+ messages in thread
From: Juro Bystricky @ 2016-08-20 18:04 UTC (permalink / raw)
  To: yocto

Tested with 7.11.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
---
 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend   | 7 +++++++
 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend | 5 -----
 2 files changed, 7 insertions(+), 5 deletions(-)
 create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
 delete mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend

diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
new file mode 100644
index 0000000..54b975a
--- /dev/null
+++ b/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
@@ -0,0 +1,7 @@
+LDFLAGS_append_sdkmingw32 = " -Wl,-static"
+EXEEXT_sdkmingw32 = ".exe"
+DEPENDS_remove_sdkmingw32 = "nativesdk-ncurses nativesdk-readline nativesdk-python"
+RDEPENDS_${PN}_remove_sdkmingw32 = "nativesdk-python-core nativesdk-python-lang nativesdk-python-re nativesdk-python-codecs nativesdk-python-netclient"
+EXTRA_OECONF_append_sdkmingw32 = "--without-curses --without-system-readline --with-python=no"
+PACKAGECONFIG_remove_sdkmingw32 = "readline"
+PACKAGECONFIG_remove_sdkmingw32 = "python"
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
deleted file mode 100644
index bf4bd75..0000000
--- a/recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
+++ /dev/null
@@ -1,5 +0,0 @@
-LDFLAGS_append_sdkmingw32 = " -Wl,-static"
-EXEEXT_sdkmingw32 = ".exe"
-DEPENDS_remove_sdkmingw32 = "nativesdk-ncurses nativesdk-readline nativesdk-python"
-RDEPENDS_${PN}_remove_sdkmingw32 = "nativesdk-python-core nativesdk-python-lang nativesdk-python-re nativesdk-python-codecs nativesdk-python-netclient"
-EXTRA_OECONF_append_sdkmingw32 = "--without-curses --without-system-readline --with-python=no"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 11+ messages in thread

* Re: [meta-mingw][PATCH 0/7] Updates for krogoth/master
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (6 preceding siblings ...)
  2016-08-20 18:04 ` [meta-mingw][PATCH 7/7] gdb-cross-canadian_7.9.1: Work with all 7.% versions Juro Bystricky
@ 2016-08-20 18:38 ` Khem Raj
  2016-09-28 14:06 ` Ioan-Adrian Ratiu
  8 siblings, 0 replies; 11+ messages in thread
From: Khem Raj @ 2016-08-20 18:38 UTC (permalink / raw)
  To: Juro Bystricky; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3244 bytes --]


> On Aug 20, 2016, at 11:03 AM, Juro Bystricky <juro.bystricky@intel.com> wrote:
> 
> 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
> 
> SDKMACHINE="i686-mingw32"
> MACHINE="qemux86"
> bitbake meta-toolchain
> 
> This patchset updates meta-mingw layer so the above work for krogoth as well.
> There is no "krogoth" branch for meta-mingw, these patches should go there once the
> branch exists.
> FWIW, I tested these patches with the current poky master as well, and succeed in cross-compiling
> of the most common recipes (for both SDKMACHINE=i686-mingw32 and SDKMACHINE=x86_64-mingw32)
> such as:
>    bitbake gcc-cross-canadian-i586
>    bitbake gdb-cross-canadian-i586
>    bitbake meta-toolchain
>    bitbake core-image-minimal -c populate_sdk
> 
> [YOCTO#10143]

Whole series is fine.

> 
> 
> 
> Juro Bystricky (7):
>  *-mingw32.conf: Upgrade for krogoth
>  gettext_0.19.4.bbappend: Update for later versions
>  binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions
>  gcc-runtime: Drop libitm for mingw32 runtime
>  gmp_6.0.0.bbappend: Removed
>  mpfr_3.1.3.bbappend: Work with all 3.1.% versions
>  gdb-cross-canadian_7.9.1: Work with all 7.% versions
> 
> conf/machine-sdk/i686-mingw32.conf                               | 7 ++++++-
> conf/machine-sdk/x86_64-mingw32.conf                             | 7 ++++++-
> recipes-core/gettext/gettext_0.19.%.bbappend                     | 6 ++++++
> recipes-core/gettext/gettext_0.19.4.bbappend                     | 2 --
> recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend  | 5 +++++
> recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -----
> recipes-devtools/gcc/gcc-runtime_%.bbappend                      | 1 +
> recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend             | 7 +++++++
> recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend           | 5 -----
> recipes-support/gmp/gmp_6.0.0.bbappend                           | 3 ---
> recipes-support/mpfr/mpfr_3.1.%.bbappend                         | 1 +
> recipes-support/mpfr/mpfr_3.1.3.bbappend                         | 1 -
> 12 files changed, 32 insertions(+), 18 deletions(-)
> create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
> delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend
> create mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
> delete mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
> create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
> delete mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
> delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend
> create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
> delete mode 100644 recipes-support/mpfr/mpfr_3.1.3.bbappend
> 
> --
> 2.7.4
> 
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-mingw][PATCH 0/7] Updates for krogoth/master
  2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
                   ` (7 preceding siblings ...)
  2016-08-20 18:38 ` [meta-mingw][PATCH 0/7] Updates for krogoth/master Khem Raj
@ 2016-09-28 14:06 ` Ioan-Adrian Ratiu
  2016-09-28 15:15   ` Richard Purdie
  8 siblings, 1 reply; 11+ messages in thread
From: Ioan-Adrian Ratiu @ 2016-09-28 14:06 UTC (permalink / raw)
  To: Juro Bystricky, yocto

On Sat, 20 Aug 2016, Juro Bystricky <juro.bystricky@intel.com> wrote:
> 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
>
> SDKMACHINE="i686-mingw32"
> MACHINE="qemux86"
> bitbake meta-toolchain
>
> This patchset updates meta-mingw layer so the above work for krogoth as well.
> There is no "krogoth" branch for meta-mingw, these patches should go there once the
> branch exists.
> FWIW, I tested these patches with the current poky master as well, and succeed in cross-compiling
> of the most common recipes (for both SDKMACHINE=i686-mingw32 and SDKMACHINE=x86_64-mingw32)
> such as:
>     bitbake gcc-cross-canadian-i586
>     bitbake gdb-cross-canadian-i586
>     bitbake meta-toolchain
>     bitbake core-image-minimal -c populate_sdk
>
> [YOCTO#10143]

Ping? Any info when this series will be integrated?

Thank you,
Ionel

>
>
>
> Juro Bystricky (7):
>   *-mingw32.conf: Upgrade for krogoth
>   gettext_0.19.4.bbappend: Update for later versions
>   binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions
>   gcc-runtime: Drop libitm for mingw32 runtime
>   gmp_6.0.0.bbappend: Removed
>   mpfr_3.1.3.bbappend: Work with all 3.1.% versions
>   gdb-cross-canadian_7.9.1: Work with all 7.% versions
>
>  conf/machine-sdk/i686-mingw32.conf                               | 7 ++++++-
>  conf/machine-sdk/x86_64-mingw32.conf                             | 7 ++++++-
>  recipes-core/gettext/gettext_0.19.%.bbappend                     | 6 ++++++
>  recipes-core/gettext/gettext_0.19.4.bbappend                     | 2 --
>  recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend  | 5 +++++
>  recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend | 5 -----
>  recipes-devtools/gcc/gcc-runtime_%.bbappend                      | 1 +
>  recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend             | 7 +++++++
>  recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend           | 5 -----
>  recipes-support/gmp/gmp_6.0.0.bbappend                           | 3 ---
>  recipes-support/mpfr/mpfr_3.1.%.bbappend                         | 1 +
>  recipes-support/mpfr/mpfr_3.1.3.bbappend                         | 1 -
>  12 files changed, 32 insertions(+), 18 deletions(-)
>  create mode 100644 recipes-core/gettext/gettext_0.19.%.bbappend
>  delete mode 100644 recipes-core/gettext/gettext_0.19.4.bbappend
>  create mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.2%.bbappend
>  delete mode 100644 recipes-devtools/binutils/binutils-cross-canadian_2.25%.bbappend
>  create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
>  delete mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.9.1.bbappend
>  delete mode 100644 recipes-support/gmp/gmp_6.0.0.bbappend
>  create mode 100644 recipes-support/mpfr/mpfr_3.1.%.bbappend
>  delete mode 100644 recipes-support/mpfr/mpfr_3.1.3.bbappend
>
> -- 
> 2.7.4
>
> -- 
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [meta-mingw][PATCH 0/7] Updates for krogoth/master
  2016-09-28 14:06 ` Ioan-Adrian Ratiu
@ 2016-09-28 15:15   ` Richard Purdie
  0 siblings, 0 replies; 11+ messages in thread
From: Richard Purdie @ 2016-09-28 15:15 UTC (permalink / raw)
  To: Ioan-Adrian Ratiu, Juro Bystricky, yocto

On Wed, 2016-09-28 at 17:06 +0300, Ioan-Adrian Ratiu wrote:
> On Sat, 20 Aug 2016, Juro Bystricky <juro.bystricky@intel.com> wrote:
> > 
> > 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
> > 
> > SDKMACHINE="i686-mingw32"
> > MACHINE="qemux86"
> > bitbake meta-toolchain
> > 
> > This patchset updates meta-mingw layer so the above work for
> > krogoth as well.
> > There is no "krogoth" branch for meta-mingw, these patches should
> > go there once the
> > branch exists.
> > FWIW, I tested these patches with the current poky master as well,
> > and succeed in cross-compiling
> > of the most common recipes (for both SDKMACHINE=i686-mingw32 and
> > SDKMACHINE=x86_64-mingw32)
> > such as:
> >     bitbake gcc-cross-canadian-i586
> >     bitbake gdb-cross-canadian-i586
> >     bitbake meta-toolchain
> >     bitbake core-image-minimal -c populate_sdk
> > 
> > [YOCTO#10143]
> Ping? Any info when this series will be integrated?

I'd tried multiple times to untangle which set of patches this needed
to be applied on top of (several of Mark Hatle's). I think I've finally
figured it out and have pushed things.

Cheers,

Richard


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-28 15:15 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-20 18:03 [meta-mingw][PATCH 0/7] Updates for krogoth/master Juro Bystricky
2016-08-20 18:03 ` [meta-mingw][PATCH 1/7] *-mingw32.conf: Upgrade for krogoth Juro Bystricky
2016-08-20 18:03 ` [meta-mingw][PATCH 2/7] gettext_0.19.4.bbappend: Update for later versions Juro Bystricky
2016-08-20 18:03 ` [meta-mingw][PATCH 3/7] binutils-cross-canadian_2.25%.bbappend: Work with all 2.2* versions Juro Bystricky
2016-08-20 18:03 ` [meta-mingw][PATCH 4/7] gcc-runtime: Drop libitm for mingw32 runtime Juro Bystricky
2016-08-20 18:03 ` [meta-mingw][PATCH 5/7] gmp_6.0.0.bbappend: Removed Juro Bystricky
2016-08-20 18:04 ` [meta-mingw][PATCH 6/7] mpfr_3.1.3.bbappend: Work with all 3.1.% versions Juro Bystricky
2016-08-20 18:04 ` [meta-mingw][PATCH 7/7] gdb-cross-canadian_7.9.1: Work with all 7.% versions Juro Bystricky
2016-08-20 18:38 ` [meta-mingw][PATCH 0/7] Updates for krogoth/master Khem Raj
2016-09-28 14:06 ` Ioan-Adrian Ratiu
2016-09-28 15:15   ` Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.