<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2369</bug_id>
          
          <creation_ts>2012-04-25 12:56:03 +0000</creation_ts>
          <short_desc>Update site/arm-common to allow building recent version of glib-2.0</short_desc>
          <delta_ts>2012-05-14 18:22:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(P1)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tf">tf+bugs.yocto</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>Martin.Jansa</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>song.liu</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>20865</commentid>
    <comment_count>0</comment_count>
      <attachid>495</attachid>
    <who name="tf">tf+bugs.yocto</who>
    <bug_when>2012-04-25 12:56:03 +0000</bug_when>
    <thetext>Created attachment 495
Patch to add glib type alignment values to arm-common

Most recent releases of glib-2.0 (from 2.32 onwards, iirc) check for alignment of guint32, guint64 and unsigned long at configure time, so these need to be in the site file. 

The version of glib currently in Yocto does not needs this, but updating the site file will save someone debugging div0 crashes in glib when Yocto decides to update glib-2.0.

Patch to update arm-common is attached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20866</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-04-25 15:56:53 +0000</bug_when>
    <thetext>Thanks for the patch, can you send this direct to the openembedded-core@lists.openembedded.org mailing list?  We will be updated glib-2.0 at somepoint.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20976</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-05-02 07:29:20 +0000</bug_when>
    <thetext>glib-2.32.1 wasn&apos;t failing, but now when upgrading to glib-2.32.2 it does, so I&apos;ll  test this patch now


| checking for guint32... yes
| checking alignment of guint32... configure: error: in `/OE/shr-core/tmp-eglibc/work/armv7a-vfp-neon-oe-linux-gnueabi/glib-2.0/glib-2.0-1_2.32.2-r0/glib-2.32.2&apos;:
| configure: error: cannot compute alignment of guint32
| See `config.log&apos; for more details


conftest.c: In function &apos;main&apos;:
conftest.c:218:12: error: size of array &apos;test_array&apos; is negative
conftest.c:218:12: error: storage size of &apos;test_array&apos; isn&apos;t constant
conftest.c:218:12: warning: unused variable &apos;test_array&apos; [-Wunused-variable]
configure:28524: $? = 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21210</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-05-08 18:43:19 +0000</bug_when>
    <thetext>This patch has been applied along with patches for all arches


http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=feee16b82800231d88ff91f60757b791d4f33d62</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>495</attachid>
            <date>2012-04-25 12:56:03 +0000</date>
            <delta_ts>2012-04-25 12:56:03 +0000</delta_ts>
            <desc>Patch to add glib type alignment values to arm-common</desc>
            <filename>0001-site-arm-common-alignment-values-for-guin32-guin64-a.patch</filename>
            <type>text/plain</type>
            <size>944</size>
            <attacher name="tf">tf+bugs.yocto</attacher>
            
              <data encoding="base64">RnJvbSBiMTlmNDIxMGFkYzQ2MGQ4NDBmZmE1YTNlMTliMWZlOTJmYjY4OWZmIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBUb21hcyBGcnlkcnljaCA8dG9tYXNAc2xlZXBmaXZlLmNvbT4K
RGF0ZTogV2VkLCAyNSBBcHIgMjAxMiAxMzo0MToxMyArMDEwMApTdWJqZWN0OiBbUEFUQ0hdIHNp
dGUvYXJtLWNvbW1vbjogYWxpZ25tZW50IHZhbHVlcyBmb3IgZ3VpbjMyLCBndWluNjQgYW5kCiB1
bnNpZ25lZCBsb25nCgpUaGVzZSBhcmUgcmVxdWlyZWQgdG8gYnVpbGQgcmVjZW50IHZlcnNpb25z
IG9mIGdsaWItMi4wCi0tLQogbWV0YS9zaXRlL2FybS1jb21tb24gfCAgICAzICsrKwogMSBmaWxl
IGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL21ldGEvc2l0ZS9hcm0tY29t
bW9uIGIvbWV0YS9zaXRlL2FybS1jb21tb24KaW5kZXggZDVhNTViNi4uYzlkODFjMyAxMDA2NDQK
LS0tIGEvbWV0YS9zaXRlL2FybS1jb21tb24KKysrIGIvbWV0YS9zaXRlL2FybS1jb21tb24KQEAg
LTc2LDYgKzc2LDkgQEAgZ2xpYl9jdl9zaXplb2ZfcHRyZGlmZl90PSR7Z2xpYl9jdl9zaXplb2Zf
cHRyZGlmZl90PTR9CiBnbGliX2N2X3NpemVvZl9zaXplX3Q9JHtnbGliX2N2X3NpemVvZl9zaXpl
X3Q9NH0KIGdsaWJfY3Zfc2l6ZW9mX3N5c3RlbV90aHJlYWQ9JHtnbGliX2N2X3NpemVvZl9zeXN0
ZW1fdG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