Bug 425

Summary: libust is missing in meta-toolchain & meta-toolchain-sdk
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Lianhao Lu <lianhao.lu>
Component: meta-yoctoAssignee: Dexuan Cui <dexuan.cui>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, kevin.tian, liping.ke, poky.bs.watcher, poky.watcher, richard.purdie, sgw
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Lianhao Lu 2010-10-10 22:45:14 UTC
The libust used by the user mode lttng is missing in the target meta-toolchain & meta-toolchain-sdk. This prevent the user to cross compile applications to be traced by user mode lttng on target.
Comment 1 Jessica 2010-10-10 22:56:11 UTC
Is it missing from all arches? Please refer to bug 380 resolution if the problem is the same.
Comment 2 Dexuan Cui 2010-10-11 01:23:31 UTC
(In reply to comment #1)
> Is it missing from all arches?
I think so.

> Please refer to bug 380 resolution if the
> problem is the same.
I think bug 380 is a different issue: it's known lttng doesn't work on armv5.

Here lttng-ust is not installed for meta-toolchain. I'm trying to add it.
Comment 3 Richard Purdie 2010-10-14 12:21:30 UTC
The branch rpurdie/lttngust has a hint about how to enable this.
Comment 4 Saul Wold 2010-10-17 17:36:02 UTC
IN RC3 and Master
Comment 5 Lianhao Lu 2010-10-18 23:22:58 UTC
Tested the meta-toolchain-sdk built from 20101018. 

Though the shared library files(libust.so*) of libust were installed, but the header files were still missing which caused the cross compiler failed due to errors like "fatal error: ust/marker.h: No such file or directory".
Comment 6 Richard Purdie 2010-10-19 14:33:10 UTC
Updated fix in master in commit: http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=340ff263ca84bd9f9b584f224629cf8ed8f8d9c2
Comment 7 Lianhao Lu 2010-12-13 02:38:01 UTC
verified the commit is in git master.