<br><br>On Monday, April 30, 2012, Martin Jansa &lt;<a href="mailto:martin.jansa@gmail.com">martin.jansa@gmail.com</a>&gt; wrote:<br>&gt; On Mon, Apr 30, 2012 at 09:25:31AM -0700, Saul Wold wrote:<br>&gt;&gt; On 04/29/2012 02:27 PM, Martin Jansa wrote:<br>
&gt;&gt; &gt; * g_once_init_enter.patch shouldn&#39;t be needed after upstream commit<br>&gt;&gt; &gt;    794c1a30bc27b4c8d77537813acb1213d5ac80f2<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; * LIC_FILES_CHKSUM change is only because PCRE was upgraded and now<br>
&gt;&gt; &gt;    pcre.h says &quot;Copyright (c) 1997-2012 University of Cambridge&quot; instead<br>&gt;&gt; &gt;    of 2010 and COPYING file<br>&gt;&gt; &gt;    &quot;Please see the file LICENCE in the PCRE distribution for licensing<br>
&gt;&gt; &gt;    details.&quot;  but LICENSE file is not part of glib distribution (but still<br>&gt;&gt; &gt;    BSD in standalone PCRE)<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Signed-off-by: Martin Jansa&lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt;&gt; &gt; ---<br>&gt;&gt; &gt;   .../glib-2.0/glib-2.0/configure-libtool.patch      |   54 ++++++++++++++------<br>&gt;&gt; &gt;   .../glib-2.0/glib-2.0/g_once_init_enter.patch      |   24 ---------<br>&gt;&gt; &gt;   .../{<a href="http://glib-2.0_2.30.3.bb">glib-2.0_2.30.3.bb</a> =&gt;  <a href="http://glib-2.0_2.32.1.bb">glib-2.0_2.32.1.bb</a>}     |    6 +--<br>
&gt;&gt; &gt;   meta/recipes-core/glib-2.0/glib.inc                |    2 +-<br>&gt;&gt; &gt;   4 files changed, 41 insertions(+), 45 deletions(-)<br>&gt;&gt; &gt;   delete mode 100644 meta/recipes-core/glib-2.0/glib-2.0/g_once_init_enter.patch<br>
&gt;&gt; &gt;   rename meta/recipes-core/glib-2.0/{<a href="http://glib-2.0_2.30.3.bb">glib-2.0_2.30.3.bb</a> =&gt;  <a href="http://glib-2.0_2.32.1.bb">glib-2.0_2.32.1.bb</a>} (91%)<br>&gt;&gt; &gt;<br>&gt;&gt; Martin:<br>
&gt;&gt;<br>&gt;&gt; Did you see any issue similar to what was reported in<br>&gt;&gt; <a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=2369">https://bugzilla.yoctoproject.org/show_bug.cgi?id=2369</a>?<br>&gt;&gt;<br>
&gt;&gt; There is a new alignment check at configure time requiring updating the<br>&gt;&gt; site file?<br>&gt;<br>&gt; not while building, but in runtime I&#39;ve seen some<br>&gt; Floating point exceptions where I&#39;m not sure if they are caused by new<br>
&gt; gcc or glib or something completely different if that&#39;s what reporter meant by<br>&gt; &quot;div0 crashes in glib&quot;<br>&gt;<br><br>That patch is good it should be applied along with this upgrade<br>And its got formatted so no need for it to resend to ml<br>
&gt; so probably worth trying<br>&gt;<br>&gt;&gt;<br>&gt;&gt; Sau!<br>&gt;&gt;<br>&gt;&gt; &gt; diff --git a/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch b/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch<br>
&gt;&gt; &gt; index c21e378..1d69a3f 100644<br>&gt;&gt; &gt; --- a/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch<br>&gt;&gt; &gt; +++ b/meta/recipes-core/glib-2.0/glib-2.0/configure-libtool.patch<br>&gt;&gt; &gt; @@ -1,15 +1,31 @@<br>
&gt;&gt; &gt; -# Poky renames libtool to $host_alias-libtool.<br>&gt;&gt; &gt; -# ./$host_alias-libtool isn&#39;t created until after configure runs with libtool&gt;= 2.2.2<br>&gt;&gt; &gt; -# so we can&#39;t call # it at this point. We can safely assume a version is available<br>
&gt;&gt; &gt; -# from PATH though<br>&gt;&gt; &gt; -# Rebased to glib-2.27.3 by Dongxiao Xu&lt;<a href="mailto:dongxiao.xu@intel.com">dongxiao.xu@intel.com</a>&gt;<br>&gt;&gt; &gt; +From 1c5718648d49e795efee91c220a2bf9386c184f2 Mon Sep 17 00:00:00 2001<br>
&gt;&gt; &gt; +From: Martin Jansa&lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>&gt;&gt; &gt; +Date: Sat, 28 Apr 2012 18:24:50 +0200<br>&gt;&gt; &gt; +Subject: [PATCH] configure: use $host_alias-libtool instead of libtool<br>
&gt;&gt; &gt; + directly<br>&gt;&gt; &gt; +<br>&gt;&gt; &gt; +Poky renames libtool to $host_alias-libtool.<br>&gt;&gt; &gt; +./$host_alias-libtool isn&#39;t created until after configure runs with<br>&gt;&gt; &gt; +libtool&gt;= 2.2.2<br>
&gt;&gt; &gt; +so we can&#39;t call # it at this point. We can safely assume a version is<br>&gt;&gt; &gt; +available<br>&gt;&gt; &gt; +from PATH though<br>&gt;&gt; &gt; +<br>&gt;&gt; &gt; +Rebased to glib-2.27.3 by Dongxiao Xu&lt;<a href="mailto:dongxiao.xu@intel.com">dongxiao.xu@intel.com</a>&gt;<br>
&gt;&gt; &gt; +Rebased to glib-2.32.1 by Martin Jansa&lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;   Upstream-Status: Inappropriate [configuration]<br>&gt;&gt; &gt;<br>
&gt;&gt; &gt; -diff -ruN glib-2.27.3-orig/<a href="http://configure.ac">configure.ac</a> glib-2.27.3/<a href="http://configure.ac">configure.ac</a><br>&gt;&gt; &gt; ---- glib-2.27.3-orig/<a href="http://configure.ac">configure.ac</a>  2010-11-03 11:02:05.000000000 +0800<br>
&gt;&gt; &gt; -+++ glib-2.27.3/<a href="http://configure.ac">configure.ac</a>       2010-11-16 12:38:12.610485990 +0800<br>&gt;&gt; &gt; -@@ -1385,7 +1385,7 @@<br>&gt;&gt; &gt; +Signed-off-by: Martin Jansa&lt;<a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a>&gt;<br>
&gt;&gt; &gt; +---<br>&gt;&gt; &gt; + <a href="http://configure.ac">configure.ac</a> |    8 ++++----<br>&gt;&gt; &gt; + 1 files changed, 4 insertions(+), 4 deletions(-)<br>&gt;&gt; &gt; +<br>&gt;&gt; &gt; +diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a><br>
&gt;&gt; &gt; +index a6478c6..9a93d60 100644<br>&gt;&gt; &gt; +--- a/<a href="http://configure.ac">configure.ac</a><br>&gt;&gt; &gt; ++++ b/<a href="http://configure.ac">configure.ac</a><br>&gt;&gt; &gt; +@@ -1470,7 +1470,7 @@ if test x&quot;$glib_native_win32&quot; = xyes; then<br>
&gt;&gt; &gt;      G_MODULE_LDFLAGS=<br>&gt;&gt; &gt;    else<br>&gt;&gt; &gt;      export SED<br>&gt;&gt; &gt; @@ -18,16 +34,19 @@ diff -ruN glib-2.27.3-orig/<a href="http://configure.ac">configure.ac</a> glib-2.27.3/<a href="http://configure.ac">configure.ac</a><br>
&gt;&gt; &gt;    fi<br>&gt;&gt; &gt;    dnl G_MODULE_IMPL= don&#39;t reset, so cmd-line can override<br>&gt;&gt; &gt;    G_MODULE_NEED_USCORE=0<br>&gt;&gt; &gt; -@@ -1450,7 +1450,7 @@<br>&gt;&gt; &gt; +@@ -1535,9 +1535,9 @@ if test &quot;$G_MODULE_IMPL&quot; = &quot;G_MODULE_IMPL_DL&quot;; then<br>
&gt;&gt; &gt;     LDFLAGS=&quot;$LDFLAGS $G_MODULE_LDFLAGS&quot;<br>&gt;&gt; &gt;    dnl *** check for OSF1/5.0 RTLD_GLOBAL brokenness<br>&gt;&gt; &gt;     echo &quot;void glib_plugin_test(void) { }&quot;&gt;  plugin.c<br>
&gt;&gt; &gt; --  ${SHELL} ./libtool --mode=compile ${CC} -shared \<br>&gt;&gt; &gt; -+  ${SHELL} ./$host_alias-libtool --mode=compile ${CC} -shared \<br>&gt;&gt; &gt; -           -export-dynamic -o plugin.o plugin.c 2&gt;&amp;1&gt;/dev/null<br>
&gt;&gt; &gt; -   AC_CACHE_CHECK([for RTLD_GLOBAL brokenness],<br>&gt;&gt; &gt; -           glib_cv_rtldglobal_broken,[<br>&gt;&gt; &gt; -@@ -1524,7 +1524,7 @@<br>&gt;&gt; &gt; +-  ${SHELL} ./libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \<br>
&gt;&gt; &gt; ++  ${SHELL} ./$host_alias-libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \<br>&gt;&gt; &gt; +   --<br>&gt; Martin &#39;JaMa&#39; Jansa     jabber: <a href="mailto:Martin.Jansa@gmail.com">Martin.Jansa@gmail.com</a><br>
&gt;