All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fix libicu compilation with GCC-4.4 on mips
@ 2009-08-05  0:28 Graham Gower
  2009-08-09 13:45 ` Holger Hans Peter Freyther
  0 siblings, 1 reply; 3+ messages in thread
From: Graham Gower @ 2009-08-05  0:28 UTC (permalink / raw)
  To: openembedded-devel

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
  



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

end of thread, other threads:[~2009-08-10  5:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05  0:28 [PATCH] fix libicu compilation with GCC-4.4 on mips Graham Gower
2009-08-09 13:45 ` Holger Hans Peter Freyther
2009-08-10  4:55   ` Holger Hans Peter Freyther

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.