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'
This seems to be related to a gcc bug 65779 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65779
Build Configuration: BB_VERSION = "1.27.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-14.04" TARGET_SYS = "powerpc-poky-linux" MACHINE = "qemuppc" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20150506" TUNE_FEATURES = "m32 fpu-hard ppc7400 altivec" TARGET_FPU = "" meta meta-yocto = "gcc5xx:0838b58a1762a4a80d3b583e03a96f151f1f2f05" meta-oe meta-python meta-perl meta-networking meta-gnome meta-xfce meta-ruby = "master:3c20f2a1147720c81e3dd09c0a959dccda66c10b" meta-security = "master:c5dce443eedd22f5621b80d00ea5dbfbaa01c2c8" local.conf MACHINE = "qemuppc" IMAGE_INSTALL_append = " packagegroup-core-security clamav suricata sleuthkit" IMAGE_INSTALL_append = " ruby ruby-dev bundler" GCCVERSION = "5.1%" SDKGCCVERSION = "5.1%" core-image-minimal
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&id=bb18926a5d41a8cea231bab148d654c6259056bf
additional info https://www.marc.info/?l=gcc-patches&m=143053726226538&w=2
Can you please provide a patch for 5.1
(In reply to comment #5) > Can you please provide a patch for 5.1
Can you testout the patch posted here http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/master&id=741d3bf91144973d26de647039fa60b87a09edf1
(In reply to comment #7) > Can you testout the patch posted here > > http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/ > master&id=741d3bf91144973d26de647039fa60b87a09edf1 will do. later today or tomorrow.
(In reply to comment #7) > Can you testout the patch posted here > > http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/ > master&id=741d3bf91144973d26de647039fa60b87a09edf1 yep. that fixed Libx11. those changes also cleaned up a few other packages too. thanks.
See previous comment
Successful build with gcc5.2 Build Configuration: BB_VERSION = "1.27.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "Ubuntu-15.04" TARGET_SYS = "powerpc-poky-linux" MACHINE = "qemuppc" DISTRO = "poky" DISTRO_VERSION = "1.8+snapshot-20151014" TUNE_FEATURES = "m32 fpu-hard ppc7400 altivec" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:7b86c771c80d0759c2ca0e57c46c4c966f89c49e" meta-security = "master:b7ceefc96d89c08d338de112fc2a87ab306838f1" meta-oe meta-ruby meta-perl meta-python meta-networking = "master:47f7d287a09329734629cb9d194ef4e077117d79" local.conf IMAGE_INSTALL_append = " packagegroup-core-security clamav suricata sleuthkit" IMAGE_INSTALL_append = " ruby ruby-dev bundler libseccomp" 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 -> libX11.so.6.3.0 11415456 lrwxrwxrwx 1 autobuilder autobuilder 15 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11.so.6 -> 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 -> libX11-xcb.so.1.0.0 11415457 lrwxrwxrwx 1 autobuilder autobuilder 19 oct 13 18:51 ../../..//sysroots/qemuppc/usr/lib/libX11-xcb.so.1 -> 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