This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
RE: linking to pthread - cross-compilation
Working now, thanks. I had not realized staprun was meant to be single-threaded so fix makes of course more sense than -lpthread.
Regards
Fred
OMAP Platform Business Unit - System Platform Engineering - Platform & Product Entitlement
>
Texas Instruments France SA, 821 Avenue Jack Kilby, 06270 Villeneuve Loubet. 036 420 040 R.C.S Antibes. Capital de EUR 753.920
-----Original Message-----
>From: Frank Ch. Eigler [mailto:fche@redhat.com]
>Sent: Monday, April 23, 2012 10:33 PM
>To: Turgis, Frederic
>Cc: systemtap@sourceware.org; Hunter, Jon
>Subject: Re: linking to pthread - cross-compilation
>
>"Turgis, Frederic" <f-turgis@ti.com> writes:
>
>> Commit 26a3900666aab92afc99da19ecf0bba22224cede breaks our
>> compilation of staprun. There is an "undefined reference" to
>> pthread_mutex_lock. [...]
>
>This is fixed, but in a different way; please give it a try.
>
>- FChE