Re: [arm-gnu] pthread_mutex_lock issue with buildroot external toolchain CS 2010.09
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [arm-gnu] pthread_mutex_lock issue with buildroot external toolchain CS 2010.09



On 7/1/2011 3:08 AM, Dwi Sasongko Supriyadi wrote:
On Thu, Jun 30, 2011 at 9:55 PM, Carlos O'Donell
<carlos@xxxxxxxxxxxxxxxx>  wrote:
On 6/30/2011 4:21 AM, Dwi Sasongko Supriyadi wrote:

1. Buildroot version: buildroot-2011.02 from git

2. External toolchain from Code Sourcery 2010.09

3. Running kernel on the target linux-2.6.28.6

Has anyone faced the same issue (related with libpthread from CS
toolchain) and came up with solutions?

I really appreciate any feedback/suggestion from all of you.

Did you install the CodeSourcery provided libpthread on the target?


Yes, I did. When selecting gdb for the target, libpthread and
libthread_db from external toolchain will be copied to the target.

You need more than that, you need all of the sysroot libraries on the target.

The last time I looked at buildroot in 2010 it was still incorrectly copying the sysroot for a multilib'd toolchain and required patching.

You don't have to patch buildroot, you just need to copy the correct sysroot to the target as a post-build step.

Cheers,
Carlos.
--
Carlos O'Donell
Mentor Graphics / CodeSourcery
carlos@xxxxxxxxxxxxxxxx
+1 (613) 963 1026