<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 23 April 2014 20:37, Khem Raj <span dir="ltr"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Wed, Apr 23, 2014 at 9:43 AM, Dan McGregor <<a href="mailto:danismostlikely@gmail.com">danismostlikely@gmail.com</a>> wrote:<br>
> On 23 April 2014 10:34, Saul Wold <<a href="mailto:sgw@linux.intel.com">sgw@linux.intel.com</a>> wrote:<br>
>><br>
>> On 04/23/2014 08:01 AM, Dan McGregor wrote:<br>
>>><br>
>>> From: Dan McGregor <<a href="mailto:dan.mcgregor@usask.ca">dan.mcgregor@usask.ca</a>><br>
>>><br>
>>> Explicitly mark the dummy function as externally visible<br>
>>> so that ld can find the symbol at link time. This is needed<br>
>>> when the DISTRO_FEATURE ld-is-gold is not enabled; systemd<br>
>>> uses -flto anyway.<br>
>>><br>
>>> Signed-off-by: Dan McGregor <<a href="mailto:dan.mcgregor@usask.ca">dan.mcgregor@usask.ca</a>><br>
>>> ---<br>
>>> meta/recipes-core/systemd/systemd/systemd-lto-fix.patch | 14<br>
>>> ++++++++++++++<br>
>>> meta/recipes-core/systemd/<a href="http://systemd_211.bb" target="_blank">systemd_211.bb</a> | 1 +<br>
>>> 2 files changed, 15 insertions(+)<br>
>>> create mode 100644<br>
>>> meta/recipes-core/systemd/systemd/systemd-lto-fix.patch<br>
>>><br>
>>> diff --git a/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch<br>
>>> b/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch<br>
>>> new file mode 100644<br>
>>> index 0000000..90875e4<br>
>>> --- /dev/null<br>
>>> +++ b/meta/recipes-core/systemd/systemd/systemd-lto-fix.patch<br>
>><br>
>><br>
>> The patch also needs an appropriate Upstream-Status and Signed-off-by tags<br>
>> here.<br>
>><br>
>> Thanks<br>
>> Sau!<br>
>><br>
><br>
> As I said to Ross off-list (accidentally), this patch was for Linaro GCC as<br>
> of 2014-03-20. I'm going to check that it's still vald, and if so I'll send<br>
> it upstream too.<br>
<br>
</div></div>FWIW, I have updated the systemd recipe to 212+ its here<br>
<a href="http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/musl&id=f4283b924c13ea4d98b4251e11dd6a3388f195d5" target="_blank">http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/musl&id=f4283b924c13ea4d98b4251e11dd6a3388f195d5</a><br>
<br>
can you check if this patch is still needed there ? I use gold/arm and<br>
did not run into this issue.<br>
<br></blockquote><div><br></div><div>I just reran it, and it does indeed fail with meta-linaro-toolchain, gcc_linaro-4.8, and binutils_linaro-2.24. It builds fine with my patch. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
><br>
> Thanks,<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> _______________________________________________<br>
> Openembedded-core mailing list<br>
> <a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
> <a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
><br>
</font></span></blockquote></div><br></div></div>