<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 11:39 AM, sujith h <span dir="ltr">&lt;<a target="_blank" href="mailto:sujith.h@gmail.com">sujith.h@gmail.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div><div>Hi,<br><br></div>Let me know if this patch is ok. Else I can help make this patch better.<br></div></div></div></blockquote><div><br></div><div>oops, sorry for my earlier mail. This patch is merged : <a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aa7f7b63485b8c4d33491b9cd467fc4487a281c7">http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aa7f7b63485b8c4d33491b9cd467fc4487a281c7</a> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div dir="ltr"><div><div><br></div>Thanks,<br></div>Sujith H<br><div><div><div><div><div><div><div class="gmail_extra"><div><div class="gmail-h5"><br><div class="gmail_quote">On Wed, Sep 21, 2016 at 3:12 PM, Sujith H <span dir="ltr">&lt;<a target="_blank" href="mailto:sujith.h@gmail.com">sujith.h@gmail.com</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">From: Fahad Usman &lt;<a target="_blank" href="mailto:fahad_usman@mentor.com">fahad_usman@mentor.com</a>&gt;<br>
<br>
Tried by adding CFLAGS_append = &quot; -fpic &quot; to<br>
the recipe. But that couldn&#39;t help resolve the<br>
warning message:<br>
<br>
x264/r2491+gitAUTOINC+c8a773eb<wbr>fc-r0/packages-split/x264/usr/<wbr>lib/libx264.so.144&#39; has relocations in .text [textrel]<br>
<br>
It was found that this warning is emitted because of the<br>
assembly files in the source code. And it is not easy to<br>
get rid of TEXTREL&#39;s which are coming from the assembly<br>
source files.<br>
<br>
Adding textrel to INSANE_SKIP resolves this issue.<br>
This issue was observed in cyclone5 and imx6qsabresd BSP&#39;s.<br>
So generalizing the patch.<br>
<br>
Signed-off-by: Fahad Usman &lt;<a target="_blank" href="mailto:fahad_usman@mentor.com">fahad_usman@mentor.com</a>&gt;<br>
Signed-off-by: Sujith Haridasan &lt;<a target="_blank" href="mailto:Sujith_Haridasan@mentor.com">Sujith_Haridasan@mentor.com</a>&gt;<br>
---<br>
 meta/recipes-multimedia/x264/<a target="_blank" rel="noreferrer" href="http://x264_git.bb"><wbr>x264_git.bb</a> | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/meta/recipes-multimedia/x264<wbr>/<a target="_blank" rel="noreferrer" href="http://x264_git.bb">x264_git.bb</a> b/meta/recipes-multimedia/x264<wbr>/<a target="_blank" rel="noreferrer" href="http://x264_git.bb">x264_git.bb</a><br>
index fa44f9c..393310f 100644<br>
--- a/meta/recipes-multimedia/x264<wbr>/<a target="_blank" rel="noreferrer" href="http://x264_git.bb">x264_git.bb</a><br>
+++ b/meta/recipes-multimedia/x264<wbr>/<a target="_blank" rel="noreferrer" href="http://x264_git.bb">x264_git.bb</a><br>
@@ -48,6 +48,6 @@ do_install() {<br>
     oe_runmake install DESTDIR=${D}<br>
 }<br>
<br>
-# PIC can&#39;t be enabled for 32-bit x86<br>
-INSANE_SKIP_${PN}_append_x86 = &quot; textrel&quot;<br>
+# PIC can&#39;t be enabled for few BSP&#39;s<br>
+INSANE_SKIP_${PN}_append = &quot; textrel&quot;<br>
<span><font color="#888888"><br>
--<br>
1.9.1<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br></div></div><span class="gmail-HOEnZb"><font color="#888888">-- <br><div><div dir="ltr"><div><div dir="ltr"><div>സുജിത് ഹരിദാസന്<br>Bangalore<br>&lt;Project&gt;Contributor to KDE project<br></div><div>&lt;Project&gt;Contributor to Yocto project<br></div><div><a target="_blank" href="http://fci.wikia.com/wiki/Anti-DRM-Campaign">http://fci.wikia.com/wiki/<wbr>Anti-DRM-Campaign</a><br>&lt;Blog&gt; <a target="_blank" href="http://sujithh.info">http://sujithh.info</a><br></div><div>C-x C-c<br></div></div></div></div></div>
</font></span></div></div></div></div></div></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>സുജിത് ഹരിദാസന്<br>Bangalore<br>&lt;Project&gt;Contributor to KDE project<br></div><div>&lt;Project&gt;Contributor to Yocto project<br></div><div><a target="_blank" href="http://fci.wikia.com/wiki/Anti-DRM-Campaign">http://fci.wikia.com/wiki/Anti-DRM-Campaign</a><br>&lt;Blog&gt; <a target="_blank" href="http://sujithh.info">http://sujithh.info</a><br></div><div>C-x C-c<br></div></div></div></div></div>
</div></div>