From: Graham Gower <graham.gower@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] fix libicu compilation with GCC-4.4 on mips
Date: Wed, 05 Aug 2009 09:58:55 +0930 [thread overview]
Message-ID: <4A78D247.7090605@gmail.com> (raw)
Not sure if this one is mips specific or not, but linking fails due to
missing -fPIC on rematch.o.
| /home/grg/oe/tmp/cross/mipsel/lib/gcc/mipsel-angstrom-linux/4.4.1/../../../../mipsel-angstrom-linux/bin/ld: rematch.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC
Perhaps someone who experienced the (arm specific?) gcc bug mentioned in
commit 798c780a3a016e56d9b8849cf8a07521b6e402a9 can confirm this fix does
not trigger the same bug?
-Graham
diff --git a/recipes/icu/files/rematch-gcc-bug.patch b/recipes/icu/files/rematch-gcc-bug.patch
index 4d47056..5f516e3 100644
--- a/recipes/icu/files/rematch-gcc-bug.patch
+++ b/recipes/icu/files/rematch-gcc-bug.patch
@@ -5,7 +5,7 @@
all-local: $(ALL_TARGETS)
+rematch.o: $(srcdir)/rematch.cpp
-+ $(CXX) $(CPPFLAGS) $(DEFS) -c -o $@ $<
++ $(CXX) -fPIC $(CPPFLAGS) $(DEFS) -c -o $@ $<
+
install-local: install-headers install-library
next reply other threads:[~2009-08-05 0:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-05 0:28 Graham Gower [this message]
2009-08-09 13:45 ` [PATCH] fix libicu compilation with GCC-4.4 on mips Holger Hans Peter Freyther
2009-08-10 4:55 ` Holger Hans Peter Freyther
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A78D247.7090605@gmail.com \
--to=graham.gower@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.