This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 May 2012 00:55:14 +0000
- Subject: [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
- Auto-submitted: auto-generated
- References: <bug-53270-4@http.gcc.gnu.org/bugzilla/>
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.anglin@bell.net