<div><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 22, 2019 at 6:33 AM Tanu Kaskinen &lt;<a href="mailto:tanuk@iki.fi">tanuk@iki.fi</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 2017-06-09 at 10:10 -0700, Khem Raj wrote:<br>
&gt; On Fri, Jun 9, 2017 at 9:38 AM, Tanu Kaskinen &lt;<a href="mailto:tanuk@iki.fi" target="_blank">tanuk@iki.fi</a>&gt; wrote:<br>
&gt; &gt; On Fri, 2017-06-09 at 13:07 +0000, Khem Raj wrote:<br>
&gt; &gt; &gt; On Fri, Jun 9, 2017 at 5:56 AM Burton, Ross &lt;<a href="mailto:ross.burton@intel.com" target="_blank">ross.burton@intel.com</a>&gt; wrote:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; On 9 June 2017 at 04:41, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; &gt; +SECURITY_CFLAGS = &quot;${SECURITY_NO_PIE_CFLAGS}&quot;<br>
&gt; &gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; These tend to go into security-flags.inc, not the recipe.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I know that&#39;s been the case but I think having a global file is error prone<br>
&gt; &gt; &gt; its better to have it in recipe context since it can get attention at<br>
&gt; &gt; &gt; upgrade time to test if this has been fixed in new release etc<br>
&gt; &gt; <br>
&gt; &gt; Do you mean that there&#39;s some bug in pulseaudio, and this is a<br>
&gt; &gt; workaround for it? Is the bug that there are textrels? Ross saw<br>
&gt; &gt; textrels in pulseaudio before (see the discussion starting at [1]), but<br>
&gt; &gt; I was unable to reproduce that. If you give instructions for<br>
&gt; &gt; reproducing the problem, I&#39;ll see if I can fix pulseaudio (until then<br>
&gt; &gt; I&#39;m fine with having a workaround).<br>
&gt; &gt; <br>
&gt; <br>
&gt; yes there is a bug lurking when compiling with hardening flags are turned on<br>
&gt; so you can do something like<br>
&gt; <br>
&gt; in local.conf<br>
&gt; <br>
&gt; require conf/distro/include/security_flags.inc<br>
&gt; <br>
&gt; then<br>
&gt; <br>
&gt; MACHINE=qemux86 bitbake pulseaudio<br>
&gt; <br>
&gt; it also happens on arm so qemuarm will reproduce it too.<br>
&gt; <br>
&gt; some assembly code is probably missing using GOT relative accesses<br>
<br>
Resurrecting this ancient thread... I finally tried to reproduce this<br>
problem with the given instructions. No success. Have you still been<br>
running into this issue?</blockquote><div dir="auto"><br></div><div dir="auto">I don’t know for sure if this still exists but we did disable assembly in few packages which addresses this issue since in assembly PIC has to be respected</div><div dir="auto">In hand written code </div><div dir="auto"><br></div><div dir="auto">You might have to check if we did something similar for pulseaudio </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
-- <br>
Tanu<br>
<br>
<a href="https://www.patreon.com/tanuk" rel="noreferrer" target="_blank">https://www.patreon.com/tanuk</a><br>
<a href="https://liberapay.com/tanuk" rel="noreferrer" target="_blank">https://liberapay.com/tanuk</a><br>
<br>
</blockquote></div></div>