http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53270

--- Comment #18 from dave.anglin at bell dot net 2012-05-10 00:55:14 UTC ---
On 9-May-12, at 8:41 PM, jimis at gmx dot net wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53270
>
> --- Comment #16 from jimis <jimis at gmx dot net> 2012-05-10  
> 00:41:04 UTC ---
> (In reply to comment #14)
>> I'm pretty sure we've already dealt with this failure elsewhere,  
>> IIRC the
>> linuxthreads pthread_mutex_t type has a volatile member causing the  
>> default
>> assignment operator to be deleted.
>
> In the past we had faced a similar problem, I found the patch I  
> think you had
> given me (attached). Could give a solution but doesn't apply cleanly  
> now.


I think gthr-posix.h in libgcc contains the overrides.  Could you  
check if providing
the suggested defines in the libstdc++  linux os_defines.h resolves  
the issue?

If that works, it's just a matter of how to detect linuxthreads and  
provide the defines.

Dave
--
John David Anglin    dave.ang...@bell.net

Reply via email to