Community
Participate
Working Groups
The profiler native code currently runs on all Linux platforms, but does not build on newer Linux platforms (e.g. Ubuntu 10.04). This is due to compiler changes in more recent builds of GCC. Fix is to explicitly add standard library #includes, where needed.
Created attachment 176810 [details] Patch for bug 322927
Patch checked into HEAD.
May I suggest we use: + pthread_mutexattr_init(&attr); + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); instead of explicitly referring to attr.__align? This is the official pthreads API way, and builds on old and new linuxes alike, so the TPTP_NEWER_LINUX define is also not needed.
Created attachment 176900 [details] Patch for bug 322927 - Linux's ThreadSync.cpp
Second patch checked into HEAD. Thanks Mike!
Can this defect be resolved since the patches had been checked into CVS already?
Resolving.
This defect had been resolved as FIXED for more than 1 month. Please verify with the latest TPTP 4.7.2 driver. If this defect is still left unverified by February 25, we'll close it on the originator's behalf. TPTP 4.7.2 driver can be downloaded from: http://www.eclipse.org/tptp/home/downloads/?ver=4.7.2
Closing.