From: Fahad Usman <>

Tried by adding CFLAGS_append = " -fpic " to
the recipe. But that couldn't help resolve the
warning message:

has relocations in .text [textrel]

It was found that this warning is emitted because of the
assembly files in the source code. And it is not easy to
get rid of TEXTREL's which are coming from the assembly
source files.

Adding textrel to INSANE_SKIP resolves this issue.
This issue was observed in cyclone5 and imx6qsabresd BSP's.
So generalizing the patch.

Signed-off-by: Fahad Usman <>
Signed-off-by: Sujith Haridasan <>
 meta/recipes-multimedia/x264/ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-multimedia/x264/ 
index fa44f9c..393310f 100644
--- a/meta/recipes-multimedia/x264/
+++ b/meta/recipes-multimedia/x264/
@@ -48,6 +48,6 @@ do_install() {
     oe_runmake install DESTDIR=${D}
-# PIC can't be enabled for 32-bit x86
-INSANE_SKIP_${PN}_append_x86 = " textrel"
+# PIC can't be enabled for few BSP's
+INSANE_SKIP_${PN}_append = " textrel"

Openembedded-core mailing list

Reply via email to