<p dir="ltr"><br>
On 26 Jan 2016 17:28, "Khem Raj" <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> wrote:<br>
><br>
><br>
> > On Jan 25, 2016, at 8:02 PM, Mathieu Desnoyers <<a href="mailto:mathieu.desnoyers@efficios.com">mathieu.desnoyers@efficios.com</a>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > We are noticing the presence of the following patch in various<br>
> > openembedded gcc versions:<br>
> ><br>
> > 0024-PR-target-32219.patch<br>
> ><br>
> > "From e0d15f4f8bf28c351b9215ca37f1caa24df0e1fd Mon Sep 17 00:00:00 2001<br>
> > From: Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>><br>
> > Date: Fri, 29 Mar 2013 09:18:54 +0400<br>
> > Subject: [PATCH 24/35] PR target/32219<br>
> ><br>
> > * varasm.c (default_binds_local_p_1): Weak data is not local.<br>
> ><br>
> > Signed-off-by: Bernhard Reutner-Fischer <<a href="mailto:rep.dot.nop@gmail.com">rep.dot.nop@gmail.com</a>><br>
> > Signed-off-by: Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>><br>
> ><br>
> > Upstream-Status: Backport"<br>
> ><br>
> > However, contrarily to its "Backport" status, that patch is<br>
> > not upstream in gcc, and we're starting to wonder if this<br>
> > would be the patch that breaks handling of start/stop automatic<br>
> > hidden symbols we use in lttng-ust.<br>
> ><br>
> > We are only experiencing problems on the various openembedded<br>
> > compilers, but on no other distro (with same compiler versions),<br>
> > which leads us to suspect a buggy distro-specific gcc patch.<br>
> ><br>
> > We've been testing with openembedded gcc-4.9.2-r0.<br>
> ><br>
> > The original gold linker issue that this patch was trying to<br>
> > address seems to have been fixed in the gold linke since<br>
> > then.<br>
> ><br>
> > Refs:<br>
> > <a href="http://lists.lttng.org/pipermail/lttng-dev/2014-May/023112.html">http://lists.lttng.org/pipermail/lttng-dev/2014-May/023112.html</a><br>
> > <a href="https://gcc.gnu.org/ml/gcc-help/2014-05/msg00042.html">https://gcc.gnu.org/ml/gcc-help/2014-05/msg00042.html</a><br>
> > <a href="http://cgit.openembedded.org/openembedded-core/commit/?id=3cb2b003db7371b3a47d02c08352a262e1e419b4">http://cgit.openembedded.org/openembedded-core/commit/?id=3cb2b003db7371b3a47d02c08352a262e1e419b4</a><br>
> > <a href="https://sourceware.org/bugzilla/show_bug.cgi?id=15435">https://sourceware.org/bugzilla/show_bug.cgi?id=15435</a><br>
> ><br>
> > Thoughts ?<br>
><br>
> OE has defaulted to gcc5 since last release, and gold issue is fixed in binutils 2.25<br>
> which is what we use in 2.0 as well so it might be OK to unbolt this fix. Although I am not sure<br>
> about the original problem reported in PR32219 is fixed for gcc 4.9 if we remove this fix.<br>
> Have you narrowed down your issue to this patch ? if not, then it would be good to do so</p>
<p dir="ltr">See <a href="http://gcc.gnu.org/PR32219">http://gcc.gnu.org/PR32219</a> this is fixed for at least 6.0 so should certainly be dropped for any fixed GCC. Not sure if anybody is willing to backport this one, you might ask.</p>
<p dir="ltr">Thanks,<br>
><br>
> ><br>
> > Thanks,<br>
> ><br>
> > Mathieu<br>
> ><br>
> > --<br>
> > Mathieu Desnoyers<br>
> > EfficiOS Inc.<br>
> > <a href="http://www.efficios.com">http://www.efficios.com</a><br>
><br>
</p>