All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dbus: fix building for mipsel.
@ 2010-06-30  4:24 Graham Gower
  2010-06-30  6:38 ` [PATCH v2] dbus: fix building for mipsel and fix PIE segfault issue (again) Graham Gower
  2010-07-01  7:02 ` [PATCH] dbus: fix building for mipsel Khem Raj
  0 siblings, 2 replies; 6+ messages in thread
From: Graham Gower @ 2010-06-30  4:24 UTC (permalink / raw)
  To: openembedded-devel

Mipsel lives in a bizarro world where the following error happens:

|   CCLD   dbus-daemon-launch-helper
| /home/grg/oe2/tmp/cross/mipsel/lib/gcc/mipsel-oe-linux/4.4.4/../../../../mipsel-oe-linux/bin/ld: can not make stub section: File format not recognized
| /home/grg/oe2/tmp/cross/mipsel/lib/gcc/mipsel-oe-linux/4.4.4/../../../../mipsel-oe-linux/bin/ld: failed to set dynamic section sizes: File format not recognized
| collect2: ld returned 1 exit status

Fix as noted by the openwrt folks:
https://dev.openwrt.org/changeset/18308

Signed-off-by: Graham Gower <graham.gower@gmail.com>
---
 recipes/dbus/dbus.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/recipes/dbus/dbus.inc b/recipes/dbus/dbus.inc
index ec66960..41ec9d1 100644
--- a/recipes/dbus/dbus.inc
+++ b/recipes/dbus/dbus.inc
@@ -38,6 +38,9 @@ EXTRA_OECONF = "\
 do_compile_prepend_mipsel() {
 	sed -i -e 's/\-fPIE//' -e 's/\-pie\ \-Wl\,\-z\,relro//' bus/Makefile
 }
+do_configure_prepend_mipsel() {
+	sed -i -e 's/-Wl,--gc-sections/--gc-sections/' ${S}/configure
+}
 
 do_install_append() {
         install -d ${D}${sysconfdir}/init.d
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-07-02  3:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-30  4:24 [PATCH] dbus: fix building for mipsel Graham Gower
2010-06-30  6:38 ` [PATCH v2] dbus: fix building for mipsel and fix PIE segfault issue (again) Graham Gower
2010-07-02  0:39   ` [PATCH v3] dbus: fix building on mipsel and clean up PIE/pie fix to work again Graham Gower
2010-07-02  3:15     ` Khem Raj
2010-07-01  7:02 ` [PATCH] dbus: fix building for mipsel Khem Raj
2010-07-01  7:18   ` Graham Gower

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.