<?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>7721</bug_id>
          
          <creation_ts>2015-05-06 04:49:39 +0000</creation_ts>
          <short_desc>dbus fails with PowerPC GCC 5.1</short_desc>
          <delta_ts>2015-10-14 11:01:05 +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>devtools / tool chain</component>
          <version>1.4.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Armin Kuster">akuster</reporter>
          <assigned_to name="Khem Raj">raj.khem</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
          
          <qa_contact name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50810</commentid>
    <comment_count>0</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-06 04:49:39 +0000</bug_when>
    <thetext>When test building GCC 5.1 using qemuppc dbus build fails.

powerpc-poky-linux-libtool: link: powerpc-poky-linux-gcc -m32 -mhard-float -mcpu=7400 --sysroot=/home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc -Wall -Wextra -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wno-address -Wfloat-equal -Wdeclaration-after-statement -Wno-unused-label -Wno-missing-field-initializers -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign -Wno-type-limits -fno-common -fno-strict-aliasing -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o dbus-launch dbus-launch.o dbus-launch-x11.o  -L/home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libSM.so /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libICE.so /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libX11.so /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libxcb.so /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libXau.so /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libXdmcp.so -ldl
| /home/akuster/oss/mylayers/poky/build/tmp/sysroots/qemuppc/usr/lib/libX11.so: undefined reference to `.LCL2&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50811</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-06 04:50:20 +0000</bug_when>
    <thetext>This seems to be related to a gcc bug 65779

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50812</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-06 04:55:15 +0000</bug_when>
    <thetext>
Build Configuration:
BB_VERSION        = &quot;1.27.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;
TARGET_SYS        = &quot;powerpc-poky-linux&quot;
MACHINE           = &quot;qemuppc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.8+snapshot-20150506&quot;
TUNE_FEATURES     = &quot;m32 fpu-hard ppc7400 altivec&quot;
TARGET_FPU        = &quot;&quot;
meta              
meta-yocto        = &quot;gcc5xx:0838b58a1762a4a80d3b583e03a96f151f1f2f05&quot;
meta-oe           
meta-python       
meta-perl         
meta-networking   
meta-gnome        
meta-xfce         
meta-ruby         = &quot;master:3c20f2a1147720c81e3dd09c0a959dccda66c10b&quot;
meta-security     = &quot;master:c5dce443eedd22f5621b80d00ea5dbfbaa01c2c8&quot;



local.conf
MACHINE = &quot;qemuppc&quot;
IMAGE_INSTALL_append = &quot; packagegroup-core-security clamav suricata sleuthkit&quot;
IMAGE_INSTALL_append = &quot; ruby ruby-dev bundler&quot;

GCCVERSION = &quot;5.1%&quot;
SDKGCCVERSION = &quot;5.1%&quot;


core-image-minimal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50813</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-06 04:56:45 +0000</bug_when>
    <thetext>cherry picked from


http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/master

especially commit

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&amp;id=bb18926a5d41a8cea231bab148d654c6259056bf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50814</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-06 05:09:15 +0000</bug_when>
    <thetext>additional info
https://www.marc.info/?l=gcc-patches&amp;m=143053726226538&amp;w=2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50852</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-05-07 15:01:22 +0000</bug_when>
    <thetext>Can you please provide a patch for 5.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50859</commentid>
    <comment_count>6</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2015-05-07 16:10:19 +0000</bug_when>
    <thetext>(In reply to comment #5)
&gt; Can you please provide a patch for 5.1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50885</commentid>
    <comment_count>7</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2015-05-09 14:29:31 +0000</bug_when>
    <thetext>Can you testout the patch posted here

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&amp;id=741d3bf91144973d26de647039fa60b87a09edf1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50886</commentid>
    <comment_count>8</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-09 15:36:45 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Can you testout the patch posted here
&gt; 
&gt; http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/
&gt; master&amp;id=741d3bf91144973d26de647039fa60b87a09edf1

will do. later today or tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50887</commentid>
    <comment_count>9</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-05-10 14:05:02 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Can you testout the patch posted here
&gt; 
&gt; http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/
&gt; master&amp;id=741d3bf91144973d26de647039fa60b87a09edf1

yep. that fixed Libx11.


those changes also cleaned up a few other packages too.
thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51979</commentid>
    <comment_count>10</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2015-06-28 17:13:31 +0000</bug_when>
    <thetext>See previous comment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55288</commentid>
    <comment_count>11</comment_count>
    <who name="Bogdan Alexandru Voiculescu">bogdanx.a.voiculescu</who>
    <bug_when>2015-10-14 11:01:05 +0000</bug_when>
    <thetext>Successful build with gcc5.2

Build Configuration:
BB_VERSION        = &quot;1.27.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-15.04&quot;
TARGET_SYS        = &quot;powerpc-poky-linux&quot;
MACHINE           = &quot;qemuppc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.8+snapshot-20151014&quot;
TUNE_FEATURES     = &quot;m32 fpu-hard ppc7400 altivec&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:7b86c771c80d0759c2ca0e57c46c4c966f89c49e&quot;
meta-security     = &quot;master:b7ceefc96d89c08d338de112fc2a87ab306838f1&quot;
meta-oe
meta-ruby
meta-perl
meta-python
meta-networking   = &quot;master:47f7d287a09329734629cb9d194ef4e077117d79&quot;

local.conf
IMAGE_INSTALL_append = &quot; packagegroup-core-security clamav suricata sleuthkit&quot;
IMAGE_INSTALL_append = &quot; ruby ruby-dev bundler libseccomp&quot;

 ls ../../..//sysroots/qemuppc/usr/lib/libX11* -ila
14176497 -rw-r--r-- 3 autobuilder autobuilder 22815380 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.a
14176491 -rwxr-xr-x 3 autobuilder autobuilder     1012 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.la
11415455 lrwxrwxrwx 1 autobuilder autobuilder       15 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.so -&gt; libX11.so.6.3.0
11415456 lrwxrwxrwx 1 autobuilder autobuilder       15 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.so.6 -&gt; libX11.so.6.3.0
15216783 -rwxr-xr-x 2 autobuilder autobuilder  1216496 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.so.6.3.0
14176498 -rw-r--r-- 3 autobuilder autobuilder    49130 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.a
14176495 -rwxr-xr-x 3 autobuilder autobuilder     1060 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.la
11415454 lrwxrwxrwx 1 autobuilder autobuilder       19 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.so -&gt; libX11-xcb.so.1.0.0
11415457 lrwxrwxrwx 1 autobuilder autobuilder       19 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.so.1 -&gt; libX11-xcb.so.1.0.0
15216784 -rwxr-xr-x 2 autobuilder autobuilder     3448 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.so.1.0.0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>