Problem using pthread and libc wrapper
A message that is not in the archive (sent off-list or not yet received): [email protected]
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
Quoted 15 lines · Christopher Schwager
Hello,
I ran into the same issue like Martin. Is there already a fix for it ?
Regards,
Christopher
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 7 lines
Jonathan R. Julien Efficios _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev