[oe] [PATCH 3/4] efl: fix build by adding -fPIC to CFLAGS

Andreas Müller schnitzeltony at googlemail.com
Thu Oct 22 19:13:08 UTC 2015


on armv7/cortexa8 efl fails with:

| ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
| ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC

Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
---
 meta-efl/recipes-efl/efl/efl_1.15.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-efl/recipes-efl/efl/efl_1.15.1.bb b/meta-efl/recipes-efl/efl/efl_1.15.1.bb
index aaebf90..9f18531 100644
--- a/meta-efl/recipes-efl/efl/efl_1.15.1.bb
+++ b/meta-efl/recipes-efl/efl/efl_1.15.1.bb
@@ -23,3 +23,7 @@ PARALLEL_MAKE_class-native = ""
 #Makefile:2163: recipe for target 'all-recursive' failed
 # autotools-brokensep
 B = "${S}"
+
+#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
+#ld: error: modules/evas/image_loaders/png/bin_evas_evas_cserve2_slave-evas_image_load_png.o: requires unsupported dynamic reloc R_ARM_MOVW_ABS_NC; recompile with -fPIC
+CFLAGS += "-fPIC"
-- 
2.1.0




More information about the Openembedded-devel mailing list