[lttng-dev] Problem using pthread and libc wrapper
Jonathan Rajotte Julien
Jonathan.rajotte-julien at efficios.com
Wed Jun 29 19:47:49 UTC 2016
Hi Christopher,
I guess you are talking about this [1]. I'm very sorry I forgot to send
the follow-up to the mailing list but here is a short explication:
- lttng-ust uses a combination of hidden and weak attribute for it's
tracepoint start and stop section.
- The current gcc included in yocto/fido is either gcc 4.8/4.9. Both
have a series of patches that gets applied before it's compilation.
- One patch change the behavior regarding the weak and hidden attributes
on compilation.
- The patch caused the registration of application-specific tracepoints
only since the internal pointer to the registering section was always
the same.
- We have already contacted the OE mailing list regarding this [2].
- You can simply empty the patch [4] in question and rebuild the toolchain.
Cheers
[1] https://lists.lttng.org/pipermail/lttng-dev/2016-January/025437.html
[2] https://lists.lttng.org/pipermail/lttng-dev/2016-January/025454.html
[3] cat /dev/null >
./meta/recipes-devtools/gcc/gcc-4.9/0024-PR-target-32219.patch
On 2016-06-29 01:22 AM, Christopher Schwager wrote:
>
> Hello,
>
> I ran into the same issue like Martin. Is there already a fix for it ?
>
> Regards,
>
> Christopher
>
>
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Jonathan R. Julien
Efficios
More information about the lttng-dev
mailing list