Fixes for uclibc based builds
cover Fixes for uclibc based builds
This pull request has patches needed for core-image-sato to build with uclibc gcc update needed for fixes qt4 ICE seen on armv7-a
Fix to matchbox to get core-image-sato building with gold linker
The following changes since commit 0a9b1f504e685351921e27e42452f51630d64cd3:
gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a (2011-11-20 09:39:36 -0800)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib kraj/uclibc-updates
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc-updates
Khem Raj (5):
matchbox-stroke: Fix linking error with gold
gettext_0.18.1.1: Fix QA Issue
pulseaudio-0.9.23: Fix build on uclibc
netbase: Update recipe 4.46 -> 4.47
gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a
meta/recipes-core/gettext/gettext_0.18.1.1.bb | 5 +-
.../netbase/{netbase-4.46 => netbase-4.47}/hosts | 0
.../netbase/{netbase-4.46 => netbase-4.47}/init | 0
.../{netbase-4.46 => netbase-4.47}/interfaces | 0
.../netbase/{netbase-4.46 => netbase-4.47}/nfsroot | 0
.../qemuarm/interfaces | 0
.../qemuarmv6/interfaces | 0
.../qemuarmv7/interfaces | 0
.../qemumips/interfaces | 0
.../qemuppc/interfaces | 0
.../qemux86-64/interfaces | 0
.../qemux86/interfaces | 0
.../netbase/{netbase_4.46.bb => netbase_4.47.bb} | 6 +-
meta/recipes-devtools/gcc/gcc-4.6.inc | 9 ++-
meta/recipes-devtools/gcc/gcc-4.6/pr47551.patch | 63 ++++++++++++++++++++
.../pulseaudio-0.9.23/fix_bluez_build.patch | 26 ++++++++
.../pulseaudio/pulseaudio_0.9.23.bb | 3 +-
.../matchbox-stroke/files/ldadd_libXrender.patch | 25 ++++++++
.../matchbox-stroke/matchbox-stroke_git.bb | 6 +-
19 files changed, 131 insertions(+), 12 deletions(-)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/hosts (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/init (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/nfsroot (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarm/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv6/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv7/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemumips/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuppc/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86-64/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86/interfaces (100%)
rename meta/recipes-core/netbase/{netbase_4.46.bb => netbase_4.47.bb} (92%)
create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/pr47551.patch
create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch
create mode 100644 meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patchSignature · 1 line
1.7.5.4
PATCH 1/5 matchbox-stroke: Fix linking error with gold
Gold defaults to no-add-needed thetefore
it does not link with librtaries that are not on cmdline it needs libXrender but is not on the linker cmdline so add it.
--- .../matchbox-stroke/files/ldadd_libXrender.patch | 25 ++++++++++++++++++++ .../matchbox-stroke/matchbox-stroke_git.bb | 6 +++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +25 -0
@@ -0,0 +1,25 @@ +with GNU binutils-gold the +important difference is that --no-add-needed is the default behavior of GNU +binutils-gold. Please provide all needed libraries to the linker when building +your executables. + +Otherwise we get link errors like + +/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.2/ld: matchbox-stroke-ui.o: in function mb_stroke_ui_resources_create:matchbox-stroke-ui.c:223: error: undefined reference to 'XRenderCreatePicture'collect2: ld returned 1 exit statusmake[2]: *** [matchbox-stroke] Error 1 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: git/src/Makefile.am +=================================================================== +--- git.orig/src/Makefile.am 2011-10-22 19:25:52.000000000 -0700 ++++ git/src/Makefile.am 2011-10-22 19:27:07.746428946 -0700 +@@ -6,7 +6,7 @@ + + bin_PROGRAMS = matchbox-stroke + +-matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm ++matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm -lXrender + + matchbox_stroke_SOURCES = \ + matchbox-stroke.h \
meta/recipes-sato/matchbox-stroke/matchbox-stroke_git.bb +4 -2
@@ -9,11 +9,13 @@ DEPENDS = "libfakekey expat libxft" SECTION = "x11/wm" SRCREV = "8edfd9a2bf1f0d6b28d4afee4bda9d3635f26a0b" PV = "0.0+git${SRCPV}" -PR = "r0" +PR = "r1" SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=git \ file://single-instance.patch \ - file://configure_fix.patch;maxrev=1819" + file://configure_fix.patch;maxrev=1819 \ + file://ldadd_libXrender.patch \ + " S = "${WORKDIR}/git"
Signature · 1 line
1.7.5.4
PATCH 2/5 gettext_0.18.1.1: Fix QA Issue
For uclibc builds we get the following QA error
ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
gettext-runtime path '/work/armv5te-oe-linux-uclibceabi/gettext-0.18.1.1-r4/packages-split/gettext-runtime/usr/lib/libintl.so'
--- meta/recipes-core/gettext/gettext_0.18.1.1.bb | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
meta/recipes-core/gettext/gettext_0.18.1.1.bb +3 -2
@@ -5,7 +5,7 @@ SECTION = "libs" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r4" +PR = "r5" DEPENDS = "libxml2-native gettext-native virtual/libiconv ncurses expat" DEPENDS_virtclass-native = "libxml2-native" PROVIDES = "virtual/libintl virtual/gettext"
@@ -67,13 +67,14 @@ FILES_gettext-runtime = "${bindir}/gettext \ ${libdir}/libasprintf.so* \ ${libdir}/GNU.Gettext.dll \ " -FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so* \ +FILES_gettext-runtime_append_libc-uclibc = " ${libdir}/libintl.so.* \ ${libdir}/charset.alias \ " FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ ${includedir}/autosprintf.h \ " FILES_gettext-runtime-dev_append_libc-uclibc = " ${libdir}/libintl.a \ + ${libdir}/libintl.so \ ${includedir}/libintl.h \ " FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \
Signature · 1 line
1.7.5.4
PATCH 3/5 pulseaudio-0.9.23: Fix build on uclibc
In reply to Khem RajImport patch from oe.dev rev 7c33f2e906a20e139d53b4f2d8fbc2773a4725b3 to fix bluez build when using uclibc
cgit link here
--- .../pulseaudio-0.9.23/fix_bluez_build.patch | 26 ++++++++++++++++++++ .../pulseaudio/pulseaudio_0.9.23.bb | 3 +- 2 files changed, 28 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch new file +26 -0
@@ -0,0 +1,26 @@ +using uClibc $(INTLLIBS) is not empty but set to -lintl +this means that AM_LIBADD wont be empty as well and hence +a missing space which otherwise works starts to show up as error + +| make[4]: *** No rule to make target `-lintl', needed by `libbluetooth-ipc.la'. Stop. +| make[4]: Leaving directory `/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/work/armv5te-oe-linux-uclibceabi/pulseaudio-0.9.23-r7/pulseaudio-0.9.23/src' +| make[3]: *** [all-recursive] Error 1 + +We add missing space + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: pulseaudio-0.9.23/src/Makefile.am +=================================================================== +--- pulseaudio-0.9.23.orig/src/Makefile.am 2011-06-23 13:18:54.000000000 -0700 ++++ pulseaudio-0.9.23/src/Makefile.am 2011-11-20 09:04:00.986917207 -0800 +@@ -1701,7 +1701,7 @@ + + libbluetooth_ipc_la_SOURCES = modules/bluetooth/ipc.c modules/bluetooth/ipc.h + libbluetooth_ipc_la_LDFLAGS = -avoid-version +-libbluetooth_ipc_la_LIBADD = $(AM_LIBADD)libpulsecore-@[email protected] libpulsecommon-@[email protected] libpulse.la ++libbluetooth_ipc_la_LIBADD = $(AM_LIBADD) libpulsecore-@[email protected] libpulsecommon-@[email protected] libpulse.la + libbluetooth_ipc_la_CFLAGS = $(AM_CFLAGS) + BLUETOOTH_IPC_FILES = $(subst modules/bluetooth/,,$(libbluetooth_ipc_la_SOURCES)) rtp.h +
meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb +2 -1
@@ -1,6 +1,6 @@ require pulseaudio.inc -PR = "r7" +PR = "r8" DEPENDS += "gdbm speex libxml-parser-perl-native"
@@ -12,6 +12,7 @@ SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${PV}. file://tls_m4.patch \ file://configure_silent_rules.patch \ file://volatiles.04_pulse \ + file://fix_bluez_build.patch \ " SRC_URI[md5sum] = "7391205a337d1e04a9ff38025f684034"
Signature · 1 line
1.7.5.4
Re: [PATCH 3/5] pulseaudio-0.9.23: Fix build on uclibc
Am Sonntag, den 20.11.2011, 09:50 -0800 schrieb Khem Raj:
Quoted 23 lines
Import patch from oe.dev rev
7c33f2e906a20e139d53b4f2d8fbc2773a4725b3to fix bluez build when using uclibccgit link here
Signed-off-by Khem Raj <[email protected]>--- .../pulseaudio-0.9.23/fix_bluez_build.patch | 26 ++++++++++++++++++++ .../pulseaudio/pulseaudio_0.9.23.bb | 3 +- 2 files changed, 28 insertions(+), 1 deletions(-) create mode 100644 meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patchmeta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch new file +3
-0@@ -0,0 +1,26 @@ +using uClibc $(INTLLIBS) is not empty but set to -lintl +this means that AM_LIBADD wont be empty as well and hence +a missing space which otherwise works starts to show up as error
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch line 13
Quoted 10 lines
meta/recipes-multimedia/pulseaudio/pulseaudio-0.9.23/fix_bluez_build.patch new file +10
-0+ +| make[4]: *** No rule to make target `-lintl', needed by `libbluetooth-ipc.la'. Stop. +| make[4]: Leaving directory `/home/kraj/work/angstrom/sources/openembedded-core/build/tmp-uclibc/work/armv5te-oe-linux-uclibceabi/pulseaudio-0.9.23-r7/pulseaudio-0.9.23/src' +| make[3]: *** [all-recursive] Error 1 + +We add missing space + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending
It is committed upstream as far as I know.
[…]
Thanks,
Paul
PATCH 4/5 netbase: Update recipe 4.46 -> 4.47
In reply to Khem Rajmoreover 4.46 tar is not available on debian pools
---
.../netbase/{netbase-4.46 => netbase-4.47}/hosts | 0
.../netbase/{netbase-4.46 => netbase-4.47}/init | 0
.../{netbase-4.46 => netbase-4.47}/interfaces | 0
.../netbase/{netbase-4.46 => netbase-4.47}/nfsroot | 0
.../qemuarm/interfaces | 0
.../qemuarmv6/interfaces | 0
.../qemuarmv7/interfaces | 0
.../qemumips/interfaces | 0
.../qemuppc/interfaces | 0
.../qemux86-64/interfaces | 0
.../qemux86/interfaces | 0
.../netbase/{netbase_4.46.bb => netbase_4.47.bb} | 6 +++---
12 files changed, 3 insertions(+), 3 deletions(-)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/hosts (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/init (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/nfsroot (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarm/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv6/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv7/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemumips/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuppc/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86-64/interfaces (100%)
rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86/interfaces (100%)
rename meta/recipes-core/netbase/{netbase_4.46.bb => netbase_4.47.bb} (92%)meta/recipes-core/netbase/netbase-4.47/hosts renamed from meta/recipes-core/netbase/netbase-4.46/hosts +0 -0
meta/recipes-core/netbase/netbase-4.47/init renamed from meta/recipes-core/netbase/netbase-4.46/init +0 -0
meta/recipes-core/netbase/netbase-4.47/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/nfsroot renamed from meta/recipes-core/netbase/netbase-4.46/nfsroot +0 -0
meta/recipes-core/netbase/netbase-4.47/qemuarm/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarm/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemuarmv6/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarmv6/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemuarmv7/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarmv7/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemumips/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemumips/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemuppc/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuppc/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemux86-64/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemux86-64/interfaces +0 -0
meta/recipes-core/netbase/netbase-4.47/qemux86/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemux86/interfaces +0 -0
meta/recipes-core/netbase/netbase_4.47.bb renamed from meta/recipes-core/netbase/netbase_4.46.bb +3 -3
@@ -17,6 +17,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ file://interfaces \ file://nfsroot" +SRC_URI[md5sum] = "fcd87a62f177592724a8066e3774ae97" +SRC_URI[sha256sum] = "a7e6525c9a09b00eff3395d09739b3c70a18bff8d13f7daa21fdf81989387726" + do_install () { install -d ${D}${sysconfdir}/init.d \ ${D}${sbindir} \
@@ -48,6 +51,3 @@ CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces" PACKAGE_ARCH_qemuarm = "${MACHINE_ARCH}" PACKAGE_ARCH_qemux86 = "${MACHINE_ARCH}" PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}" - -SRC_URI[md5sum] = "e15762f4a8280a62f7ddfea6093120f1" -SRC_URI[sha256sum] = "2fdee144112731ee0028fee2584cc82d664857ca7004c2eb59de7bda5b159838"
Signature · 1 line
1.7.5.4
Re: [PATCH 4/5] netbase: Update recipe 4.46 -> 4.47
Some warning (or an ETA at least) before this went in would have been appreciated by a lot of BSP maintainers...
Op 20 nov. 2011, om 18:50 heeft Khem Raj het volgende geschreven:
Quoted 106 lines
moreover 4.46 tar is not available on debian pools
Signed-off-by Khem Raj <[email protected]>---
.../netbase/{netbase-4.46 => netbase-4.47}/hosts | 0 .../netbase/{netbase-4.46 => netbase-4.47}/init | 0 .../{netbase-4.46 => netbase-4.47}/interfaces | 0 .../netbase/{netbase-4.46 => netbase-4.47}/nfsroot | 0 .../qemuarm/interfaces | 0 .../qemuarmv6/interfaces | 0 .../qemuarmv7/interfaces | 0 .../qemumips/interfaces | 0 .../qemuppc/interfaces | 0 .../qemux86-64/interfaces | 0 .../qemux86/interfaces | 0 .../netbase/{netbase_4.46.bb => netbase_4.47.bb} | 6 +++--- 12 files changed, 3 insertions(+), 3 deletions(-)rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/hosts (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/init (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/nfsroot (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarm/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv6/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuarmv7/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemumips/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemuppc/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86-64/interfaces (100%) rename meta/recipes-core/netbase/{netbase-4.46 => netbase-4.47}/qemux86/interfaces (100%) rename meta/recipes-core/netbase/{netbase_4.46.bb => netbase_4.47.bb} (92%)
meta/recipes-core/netbase/netbase-4.47/hosts renamed from meta/recipes-core/netbase/netbase-4.46/hosts +0
-0meta/recipes-core/netbase/netbase-4.47/init renamed from meta/recipes-core/netbase/netbase-4.46/init +0
-0meta/recipes-core/netbase/netbase-4.47/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/nfsroot renamed from meta/recipes-core/netbase/netbase-4.46/nfsroot +0
-0meta/recipes-core/netbase/netbase-4.47/qemuarm/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarm/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemuarmv6/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarmv6/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemuarmv7/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuarmv7/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemumips/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemumips/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemuppc/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemuppc/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemux86-64/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemux86-64/interfaces +0
-0meta/recipes-core/netbase/netbase-4.47/qemux86/interfaces renamed from meta/recipes-core/netbase/netbase-4.46/qemux86/interfaces +0
-0meta/recipes-core/netbase/netbase_4.47.bb renamed from meta/recipes-core/netbase/netbase_4.46.bb +3
-0@@ -17,6 +17,9 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/netbase/netbase_${PV}.tar.gz \ file://interfaces \ file://nfsroot" +SRC_URI[md5sum] = "fcd87a62f177592724a8066e3774ae97" +SRC_URI[sha256sum] = "a7e6525c9a09b00eff3395d09739b3c70a18bff8d13f7daa21fdf81989387726" + do_install () { install -d ${D}${sysconfdir}/init.d \ ${D}${sbindir} \@@ -48,6 +51,3 @@ CONFFILES_${PN} = "${sysconfdir}/hosts ${sysconfdir}/network/interfaces"
PACKAGE_ARCH_qemuarm= "${MACHINE_ARCH}"PACKAGE_ARCH_qemux86= "${MACHINE_ARCH}"
PACKAGE_ARCH_qemux86-64 = "${MACHINE_ARCH}"meta/recipes-core/netbase/netbase_4.47.bb renamed from meta/recipes-core/netbase/netbase_4.46.bb +0
-3- -SRC_URI[md5sum] = "e15762f4a8280a62f7ddfea6093120f1" -SRC_URI[sha256sum] = "2fdee144112731ee0028fee2584cc82d664857ca7004c2eb59de7bda5b159838"Signature · 7 lines
1.7.5.4 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 4/5] netbase: Update recipe 4.46 -> 4.47
Quoted 2 lines · Koen Kooi
Some warning (or an ETA at least) before this went in would have been appreciated by a lot of BSP maintainers...
Yes, it broke meta-yocto too FWIW :(
We need to find a better way to handle this, ideally with the layers being a little less fragile on these version changes...
Cheers,
Richard
PATCH 5/5 gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a
In reply to Khem RajBackport fix for PR 47551 fixes the ICE seen on armv7-a/qt4-x11-free Bump up SRCREV past gcc 4.6.2 release
--- meta/recipes-devtools/gcc/gcc-4.6.inc | 9 ++-- meta/recipes-devtools/gcc/gcc-4.6/pr47551.patch | 63 +++++++++++++++++++++++ 2 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-devtools/gcc/gcc-4.6/pr47551.patch
meta/recipes-devtools/gcc/gcc-4.6.inc +5 -4
@@ -1,6 +1,6 @@ require gcc-common.inc -PR = "r16" +PR = "r17" # Third digit in PV should be incremented after a minor release # happens from this branch on gcc e.g. currently its 4.6.0
@@ -8,7 +8,7 @@ PR = "r16" # on branch then PV should be incremented to 4.6.1+svnr${SRCPV} # to reflect that change -PV = "4.6.1+svnr${SRCPV}" +PV = "4.6.2+svnr${SRCPV}" # BINV should be incremented after updating to a revision # after a minor gcc release (e.g. 4.6.1 or 4.6.2) has been made
@@ -16,9 +16,9 @@ PV = "4.6.1+svnr${SRCPV}" # 4.6.1 then the value below will have 2 which will mean 4.6.2 # which will be next minor release and so on. -BINV = "4.6.2" +BINV = "4.6.3" -SRCREV = 180099 +SRCREV = 181430 BRANCH = "gcc-4_6-branch" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/gcc-4.6' ], d)}"
@@ -71,6 +71,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \ file://gcc-with-linker-hash-style.patch \ file://pr46934.patch \ file://pr32219.patch \ + file://pr47551.patch \ " SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch "
meta/recipes-devtools/gcc/gcc-4.6/pr47551.patch new file +63 -0
63 lines not on this page · raw message
Signature · 1 line
1.7.5.4
Re: [PATCH 1/5] matchbox-stroke: Fix linking error with gold
In reply to Khem RajQuoted 31 lines · Khem Raj
Gold defaults to no-add-needed thetefore
it does not link with librtaries that are not on cmdline it needs libXrender but is not on the linker cmdline so add it.Signed-off-by Khem Raj <[email protected]>--- .../matchbox-stroke/files/ldadd_libXrender.patch | 25 ++++++++++++++++++++ .../matchbox-stroke/matchbox-stroke_git.bb | 6 +++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patchmeta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +13
-0@@ -0,0 +1,25 @@ +with GNU binutils-gold the +important difference is that --no-add-needed is the default behavior of GNU +binutils-gold. Please provide all needed libraries to the linker when building +your executables. + +Otherwise we get link errors like + +/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.2/ld: matchbox-stroke-ui.o: in function mb_stroke_ui_resources_create:matchbox-stroke-ui.c:223: error: undefined reference to 'XRenderCreatePicture'collect2: ld returned 1 exit statusmake[2]: *** [matchbox-stroke] Error 1 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: git/src/Makefile.am
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch line 23
Quoted 10 lines
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +10
-0+=================================================================== +--- git.orig/src/Makefile.am 2011-10-22 19:25:52.000000000 -0700 ++++ git/src/Makefile.am 2011-10-22 19:27:07.746428946 -0700 +@@ -6,7 +6,7 @@ + + bin_PROGRAMS = matchbox-stroke + +-matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm ++matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm -lXrender +
I had a look at this and -lXrender is listed in MBSTROKE_LIBS. I'm therefore a little puzzled on why this patch is needed? I appreciate the commandline is order sensitive but that order should work?
Cheers,
Richard
Re: [PATCH 1/5] matchbox-stroke: Fix linking error with gold
Quoted 38 lines · Richard Purdie
Quoted 37 lines · Khem Raj
Gold defaults to no-add-needed thetefore
it does not link with librtaries that are not on cmdline it needs libXrender but is not on the linker cmdline so add it.Signed-off-by Khem Raj <[email protected]>---
.../matchbox-stroke/files/ldadd_libXrender.patch | 25 ++++++++++++++++++++ .../matchbox-stroke/matchbox-stroke_git.bb | 6 +++-2 files changed, 29 insertions(+), 2 deletions(-)create mode 100644
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patchmeta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +19
-0@@ -0,0 +1,25 @@ +with GNU binutils-gold the +important difference is that --no-add-needed is the default behavior of GNU +binutils-gold. Please provide all needed libraries to the linker when building +your executables. + +Otherwise we get link errors like + +/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.2/ld: matchbox-stroke-ui.o: in function mb_stroke_ui_resources_create:matchbox-stroke-ui.c:223: error: undefined reference to 'XRenderCreatePicture'collect2: ld returned 1 exit statusmake[2]: *** [matchbox-stroke] Error 1 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: git/src/Makefile.am +=================================================================== +--- git.orig/src/Makefile.am 2011-10-22 19:25:52.000000000 -0700 ++++ git/src/Makefile.am 2011-10-22 19:27:07.746428946 -0700 +@@ -6,7 +6,7 @@ + + bin_PROGRAMS = matchbox-stroke
Quoted 8 lines
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch line 23
Quoted 4 lines
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +4
-0+ +-matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm ++matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm -lXrender +I had a look at this and -lXrender is listed in
MBSTROKE_LIBS. I'm therefore a little puzzled on why this patch is needed? I appreciate the commandline is order sensitive but that order should work?
In my case
Makefile:MBSTROKE_LIBS = -lXft -lX11 -lXtst -lfakekey
Quoted 11 lines
Cheers,
Richard
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Re: [PATCH 1/5] matchbox-stroke: Fix linking error with gold
Quoted 49 lines · Khem Raj
Quoted 38 lines · Richard Purdie
Quoted 37 lines · Khem Raj
Gold defaults to no-add-needed thetefore
it does not link with librtaries that are not on cmdline it needs libXrender but is not on the linker cmdline so add it.Signed-off-by Khem Raj <[email protected]>--- .../matchbox-stroke/files/ldadd_libXrender.patch | 25 ++++++++++++++++++++ .../matchbox-stroke/matchbox-stroke_git.bb | 6 +++- 2 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patchmeta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +19
-0@@ -0,0 +1,25 @@ +with GNU binutils-gold the +important difference is that --no-add-needed is the default behavior of GNU +binutils-gold. Please provide all needed libraries to the linker when building +your executables. + +Otherwise we get link errors like + +/home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.2/ld: matchbox-stroke-ui.o: in function mb_stroke_ui_resources_create:matchbox-stroke-ui.c:223: error: undefined reference to 'XRenderCreatePicture'collect2: ld returned 1 exit statusmake[2]: *** [matchbox-stroke] Error 1 + +Signed-off-by: Khem Raj <[email protected]> + +Upstream-Status: Pending +Index: git/src/Makefile.am +=================================================================== +--- git.orig/src/Makefile.am 2011-10-22 19:25:52.000000000 -0700 ++++ git/src/Makefile.am 2011-10-22 19:27:07.746428946 -0700 +@@ -6,7 +6,7 @@ + + bin_PROGRAMS = matchbox-strokeQuoted 8 lines
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch line 23
Quoted 4 lines
meta/recipes-sato/matchbox-stroke/files/ldadd_libXrender.patch new file +4
-0+ +-matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm ++matchbox_stroke_LDADD = $(MBSTROKE_LIBS) $(EXPAT_LIBS) -lm -lXrender +I had a look at this and -lXrender is listed in
MBSTROKE_LIBS. I'm therefore a little puzzled on why this patch is needed? I appreciate the commandline is order sensitive but that order should work?
Quoted 3 lines
In my case
Makefile:MBSTROKE_LIBS = -lXft -lX11 -lXtst -lfakekey
I can now see why I'm confused:
We need to update the SRCREV. I'll push something to take care of this.
Cheers,
Richard
Quoted 12 lines · Khem Raj
This pull request has patches needed for core-image-sato to build with uclibc gcc update needed for fixes qt4 ICE seen on armv7-a
Fix to matchbox to get core-image-sato building with gold linkerThe following changes since commit
0a9b1f504e685351921e27e42452f51630d64cd3:gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a (2011-11-20 09:39:36 -0800)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contribkraj/uclibc-updates
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/uclibc-updates
Quoted 6 lines
Khem Raj (5):
matchbox-stroke: Fix linking error with gold
gettext_0.18.1.1: Fix QA Issue
pulseaudio-0.9.23: Fix build on uclibc
netbase: Update recipe 4.46 -> 4.47
gcc-4.6: Fix gcc ICE on qt4-x11-free/armv7-a
These have merged to master, apart from the matchbox-stroke change where I've updated to a new revision of the upstream repo instead which should fix the problem.
Cheers,
Richard