public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
@ 2012-05-07 20:31 jimis at gmx dot net
  2012-05-07 20:38 ` [Bug libstdc++/53270] " jimis at gmx dot net
                   ` (39 more replies)
  0 siblings, 40 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-07 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53270
           Summary: Error when bootstrapping gcc on
                    hppa2.0-unknown-linux-gcc
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jimis@gmx.net


I get error while building guard_error.cc, see attached file for full details.
Configure is done with --disable-libstdcxx-pch.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
@ 2012-05-07 20:38 ` jimis at gmx dot net
  2012-05-07 23:21 ` danglin at gcc dot gnu.org
                   ` (38 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-07 20:38 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from jimis <jimis at gmx dot net> 2012-05-07 20:31:19 UTC ---
Created attachment 27335
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27335
hppa-gcc-bug


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
  2012-05-07 20:38 ` [Bug libstdc++/53270] " jimis at gmx dot net
@ 2012-05-07 23:21 ` danglin at gcc dot gnu.org
  2012-05-08  0:00 ` jimis at gmx dot net
                   ` (37 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-05-07 23:21 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-05-07
     Ever Confirmed|0                           |1

--- Comment #2 from John David Anglin <danglin at gcc dot gnu.org> 2012-05-07 23:09:20 UTC ---
Please provide full configure command, svn revision and details of
bootstrap compiler.

This might a problem with thread model.  I always configure with
--enable-threads=posix.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
  2012-05-07 20:38 ` [Bug libstdc++/53270] " jimis at gmx dot net
  2012-05-07 23:21 ` danglin at gcc dot gnu.org
@ 2012-05-08  0:00 ` jimis at gmx dot net
  2012-05-08  1:37 ` danglin at gcc dot gnu.org
                   ` (36 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-08  0:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from jimis <jimis at gmx dot net> 2012-05-07 23:22:50 UTC ---
I used the gcc-4.8-20120429 snapshot and the only configure option (besides
prefix and libraries) was --disable-libstdcxx-pch. The host I compiled on was
gcc61. I didn't know about the --enable-threads=posix, but I'm sure a year ago
I had bootstrapped without it.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (2 preceding siblings ...)
  2012-05-08  0:00 ` jimis at gmx dot net
@ 2012-05-08  1:37 ` danglin at gcc dot gnu.org
  2012-05-08  6:38 ` jimis at gmx dot net
                   ` (35 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-05-08  1:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2012-05-08 00:33:35 UTC ---
It's not a problem with the thread model.

I can't duplicate the problem. I believe that this is because
I have a more recent version of libc6 installed (2.13-32) than
that on gcc61.

Please provide the preprocessed source for the failing command.

This appears to be a compatibility issue with old libc6 versions.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (3 preceding siblings ...)
  2012-05-08  1:37 ` danglin at gcc dot gnu.org
@ 2012-05-08  6:38 ` jimis at gmx dot net
  2012-05-08  6:39 ` jimis at gmx dot net
                   ` (34 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-08  6:38 UTC (permalink / raw)
  To: gcc-bugs

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

jimis <jimis at gmx dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #27335|0                           |1
        is obsolete|                            |

--- Comment #5 from jimis <jimis at gmx dot net> 2012-05-08 06:37:21 UTC ---
Created attachment 27338
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27338
guard.cc compile error


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (4 preceding siblings ...)
  2012-05-08  6:38 ` jimis at gmx dot net
@ 2012-05-08  6:39 ` jimis at gmx dot net
  2012-05-08  6:43 ` jimis at gmx dot net
                   ` (33 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-08  6:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from jimis <jimis at gmx dot net> 2012-05-08 06:38:08 UTC ---
Created attachment 27339
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27339
preprocessed source


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (5 preceding siblings ...)
  2012-05-08  6:39 ` jimis at gmx dot net
@ 2012-05-08  6:43 ` jimis at gmx dot net
  2012-05-08 15:21 ` danglin at gcc dot gnu.org
                   ` (32 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-08  6:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #7 from jimis <jimis at gmx dot net> 2012-05-08 06:38:45 UTC ---
Parallel compilation confused me, the error is for guard.cc, see the attached
log plus the preprocessed source.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (6 preceding siblings ...)
  2012-05-08  6:43 ` jimis at gmx dot net
@ 2012-05-08 15:21 ` danglin at gcc dot gnu.org
  2012-05-08 19:01 ` steven at gcc dot gnu.org
                   ` (31 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-05-08 15:21 UTC (permalink / raw)
  To: gcc-bugs

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

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |UNCONFIRMED
     Ever Confirmed|1                           |0

--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2012-05-08 15:20:06 UTC ---
It appears to me that gcc61 is using the old linuxthreads
implementation of pthreads.  It may be necessary to use
__GTHREAD_MUTEX_INIT_FUNCTION instead of __GTHREAD_MUTEX_INIT,
etc, in ext/concurrence.h.

This needs to be looked at by a c++ maintainer.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (7 preceding siblings ...)
  2012-05-08 15:21 ` danglin at gcc dot gnu.org
@ 2012-05-08 19:01 ` steven at gcc dot gnu.org
  2012-05-08 19:24 ` steven at gcc dot gnu.org
                   ` (30 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: steven at gcc dot gnu.org @ 2012-05-08 19:01 UTC (permalink / raw)
  To: gcc-bugs

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

Steven Bosscher <steven at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|2012-05-07 00:00:00         |2012-05-08
                 CC|                            |steven at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #9 from Steven Bosscher <steven at gcc dot gnu.org> 2012-05-08 18:59:00 UTC ---
(In reply to comment #8)
> It appears to me that gcc61 is using the old linuxthreads
> implementation of pthreads.  It may be necessary to use
> __GTHREAD_MUTEX_INIT_FUNCTION instead of __GTHREAD_MUTEX_INIT,
> etc, in ext/concurrence.h.


from include/ext/concurrence.h:151-165 (trunk r187249):

  public:
    __mutex()
    {
#if __GTHREADS
      if (__gthread_active_p())
        {
#if defined __GTHREAD_MUTEX_INIT
          __gthread_mutex_t __tmp = __GTHREAD_MUTEX_INIT;
          _M_mutex = __tmp;
#else
          __GTHREAD_MUTEX_INIT_FUNCTION(&_M_mutex);
#endif  
        }
#endif
    }


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (8 preceding siblings ...)
  2012-05-08 19:01 ` steven at gcc dot gnu.org
@ 2012-05-08 19:24 ` steven at gcc dot gnu.org
  2012-05-08 19:32 ` dave.anglin at bell dot net
                   ` (29 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: steven at gcc dot gnu.org @ 2012-05-08 19:24 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from Steven Bosscher <steven at gcc dot gnu.org> 2012-05-08 19:03:01 UTC ---
>From gcc61:

$ /lib/libc-2.7.so  
GNU C Library stable release version 2.7, by Roland McGrath et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux >>2.6.32-5-parisc<< system on 2011-01-07.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        linuxthreads-0.10 by Xavier Leroy
        libthread_db work sponsored by Alpha Processor Inc
        Support for some architectures added on, not maintained in glibc core.
        BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Is that old a glibc still supported?


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (9 preceding siblings ...)
  2012-05-08 19:24 ` steven at gcc dot gnu.org
@ 2012-05-08 19:32 ` dave.anglin at bell dot net
  2012-05-08 21:37 ` danglin at gcc dot gnu.org
                   ` (28 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: dave.anglin at bell dot net @ 2012-05-08 19:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from dave.anglin at bell dot net 2012-05-08 19:23:48 UTC ---
On 5/8/2012 3:03 PM, steven at gcc dot gnu.org wrote:
> Is that old a glibc still supported?
The following still works except for libitm:

dave@selway:/lib> /lib/libc.so.6
GNU C Library stable release version 2.6.1 (20070803), by Roland McGrath 
et al.
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for i686-suse-linux.
Compiled by GNU CC version 4.2.1 (SUSE Linux).
Compiled on a Linux 2.6.22 system on 2007-10-23.
Available extensions:
         crypt add-on version 2.1 by Michael Glad and others
         GNU Libidn by Simon Josefsson
         NoVersion patch for broken glibc 2.0 binaries
         Native POSIX Threads Library by Ulrich Drepper et al
         BIND-8.2.3-T5B
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

Note however that NPTL is being used instead of linuxthreads.

I know parisc had switched to NPTL in Debian lenny.  It's possible to
update to unstable from lenny but it's a bit of work.

Dave


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (10 preceding siblings ...)
  2012-05-08 19:32 ` dave.anglin at bell dot net
@ 2012-05-08 21:37 ` danglin at gcc dot gnu.org
  2012-05-09  4:47 ` jimis at gmx dot net
                   ` (27 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: danglin at gcc dot gnu.org @ 2012-05-08 21:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from John David Anglin <danglin at gcc dot gnu.org> 2012-05-08 20:50:01 UTC ---
You might try configuring with "--disable-libstdcxx-threads".  It
disables C++11 threads support.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (11 preceding siblings ...)
  2012-05-08 21:37 ` danglin at gcc dot gnu.org
@ 2012-05-09  4:47 ` jimis at gmx dot net
  2012-05-09 17:18 ` redi at gcc dot gnu.org
                   ` (26 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-09  4:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from jimis <jimis at gmx dot net> 2012-05-09 04:43:20 UTC ---
--disable-libstdcxx-threads doesn't help, I get the same error at exactly the
same point(guard.cc:33).


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (12 preceding siblings ...)
  2012-05-09  4:47 ` jimis at gmx dot net
@ 2012-05-09 17:18 ` redi at gcc dot gnu.org
  2012-05-09 19:04 ` dave.anglin at bell dot net
                   ` (25 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-09 17:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-09 17:12:14 UTC ---
(In reply to comment #12)
> You might try configuring with "--disable-libstdcxx-threads".  It
> disables C++11 threads support.

guard.cc is always built, it's part of libsupc++ so it's nothing to do with the
C++11 thread library.

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.

For PR 51296 I added a way to force use of __GTHREAD_MUTEX_INIT_FUNCTION, by
defining _GTHREAD_USE_MUTEX_INIT_FUNC in
libstdc++-v3/config/os/.../os_defines.h

We might want to put something in config/os/gnu-linux/os_defines.h so that the
macro is defined when using linuxthreads


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (13 preceding siblings ...)
  2012-05-09 17:18 ` redi at gcc dot gnu.org
@ 2012-05-09 19:04 ` dave.anglin at bell dot net
  2012-05-10  0:42 ` jimis at gmx dot net
                   ` (24 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: dave.anglin at bell dot net @ 2012-05-09 19:04 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from dave.anglin at bell dot net 2012-05-09 18:45:15 UTC ---
On 5/9/2012 1:12 PM, redi at gcc dot gnu.org wrote:
> We might want to put something in config/os/gnu-linux/os_defines.h so that the
> macro is defined when using linuxthreads
I'm thinking a test needs to be added to GLIBCXX_CHECK_GTHREADS in 
acinclude.m4.

Dave


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (14 preceding siblings ...)
  2012-05-09 19:04 ` dave.anglin at bell dot net
@ 2012-05-10  0:42 ` jimis at gmx dot net
  2012-05-10  0:56 ` jimis at gmx dot net
                   ` (23 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-10  0:42 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (15 preceding siblings ...)
  2012-05-10  0:42 ` jimis at gmx dot net
@ 2012-05-10  0:56 ` jimis at gmx dot net
  2012-05-10  3:50 ` dave.anglin at bell dot net
                   ` (22 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-10  0:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from jimis <jimis at gmx dot net> 2012-05-10 00:42:15 UTC ---
Created attachment 27361
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27361
mutex.diff


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (16 preceding siblings ...)
  2012-05-10  0:56 ` jimis at gmx dot net
@ 2012-05-10  3:50 ` dave.anglin at bell dot net
  2012-05-18 14:23 ` jimis at gmx dot net
                   ` (21 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: dave.anglin at bell dot net @ 2012-05-10  3:50 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (17 preceding siblings ...)
  2012-05-10  3:50 ` dave.anglin at bell dot net
@ 2012-05-18 14:23 ` jimis at gmx dot net
  2012-05-18 14:23 ` jimis at gmx dot net
                   ` (20 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 14:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #21 from jimis <jimis at gmx dot net> 2012-05-18 12:48:53 UTC ---
Created attachment 27432
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27432
preprocessed source after defining _GTHREAD_USE_MUTEX_INIT_FUNC


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (18 preceding siblings ...)
  2012-05-18 14:23 ` jimis at gmx dot net
@ 2012-05-18 14:23 ` jimis at gmx dot net
  2012-05-18 14:28 ` jimis at gmx dot net
                   ` (19 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 14:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #19 from jimis <jimis at gmx dot net> 2012-05-18 12:46:43 UTC ---
Defining _GTHREAD_USE_MUTEX_INIT_FUNC in os/gnu-linx/os_defines.h didn't help.
See attached files for new error message and preprocessed source. 

Also keep in mind that gcc61 shows some strange message in its dmesg. Though
unlikely, it might be that some kernel or hardware bug is involved...


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (19 preceding siblings ...)
  2012-05-18 14:23 ` jimis at gmx dot net
@ 2012-05-18 14:28 ` jimis at gmx dot net
  2012-05-18 17:32 ` redi at gcc dot gnu.org
                   ` (18 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 14:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #20 from jimis <jimis at gmx dot net> 2012-05-18 12:48:05 UTC ---
Created attachment 27431
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27431
guard.cc error after defining _GTHREAD_USE_MUTEX_INIT_FUNC


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (20 preceding siblings ...)
  2012-05-18 14:28 ` jimis at gmx dot net
@ 2012-05-18 17:32 ` redi at gcc dot gnu.org
  2012-05-18 17:39 ` jimis at gmx dot net
                   ` (17 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-18 17:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #23 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-18 16:31:58 UTC ---
(I'll be back from holiday on tuesday and able to work on this properly then,
including adding a configure check to define the macros automatically when
required)


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (21 preceding siblings ...)
  2012-05-18 17:32 ` redi at gcc dot gnu.org
@ 2012-05-18 17:39 ` jimis at gmx dot net
  2012-05-18 17:40 ` redi at gcc dot gnu.org
                   ` (16 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 17:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #25 from jimis <jimis at gmx dot net> 2012-05-18 17:17:13 UTC ---
Created attachment 27436
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27436
log


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (22 preceding siblings ...)
  2012-05-18 17:39 ` jimis at gmx dot net
@ 2012-05-18 17:40 ` redi at gcc dot gnu.org
  2012-05-18 17:42 ` jimis at gmx dot net
                   ` (15 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-18 17:40 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #22 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-18 16:30:54 UTC ---
The new error is in the recursive mutex definition.  You also need to define
_GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (23 preceding siblings ...)
  2012-05-18 17:40 ` redi at gcc dot gnu.org
@ 2012-05-18 17:42 ` jimis at gmx dot net
  2012-05-18 17:44 ` jimis at gmx dot net
                   ` (14 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 17:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #26 from jimis <jimis at gmx dot net> 2012-05-18 17:17:53 UTC ---
Created attachment 27437
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27437
preprocessed source


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (24 preceding siblings ...)
  2012-05-18 17:42 ` jimis at gmx dot net
@ 2012-05-18 17:44 ` jimis at gmx dot net
  2012-05-19  6:19 ` redi at gcc dot gnu.org
                   ` (13 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-18 17:44 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #24 from jimis <jimis at gmx dot net> 2012-05-18 17:16:08 UTC ---
Thanks, I'll leave that to you then since it's no big priority for me. 

FYI defining _GTHREAD_USE_RECURSIVE_MUTEX_INIT_FUNC brought other problems. I'm
attaching related info for the sake of completeness.


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (25 preceding siblings ...)
  2012-05-18 17:44 ` jimis at gmx dot net
@ 2012-05-19  6:19 ` redi at gcc dot gnu.org
  2012-05-20 11:34 ` jimis at gmx dot net
                   ` (12 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-19  6:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #27 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-18 23:27:19 UTC ---
Try adding _GTHREAD_USE_COND_INIT_FUNC too


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (26 preceding siblings ...)
  2012-05-19  6:19 ` redi at gcc dot gnu.org
@ 2012-05-20 11:34 ` jimis at gmx dot net
  2012-05-20 15:36 ` dave.anglin at bell dot net
                   ` (11 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: jimis at gmx dot net @ 2012-05-20 11:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #28 from jimis <jimis at gmx dot net> 2012-05-20 10:41:28 UTC ---
The issue seems to be resolved with these 3 defines, thanks for helping. I now
get an ICE at a much later phase which is probably unrelated. I'll try some
more recent snapshot later and file a separate bug if it persists. The ICE is:

configure:15628: ./gcc/gfortran -B./gcc/ -B./hppa2.0-unknown-linux-gnu/bin/
-B./hppa2.0-unknown-linux-gnu/lib/ -isystem ./hppa2.0-unknown-linux-gnu/include
-isystem ./hppa2.0-unknown-linux-gnu/sys-include    -c   conftest.f >&5

init2.c:52: MPFR assertion failed: p >= 2 && p <= ((mpfr_prec_t)((mpfr_uprec_t)
~(mpfr_uprec_t)0)>>1))
<built-in>:0:0: internal compiler error: Aborted

configure: failed program was:
|
|       program foo
|       real, parameter :: bar = sin (12.34 / 2.5)
|       end program foo


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (27 preceding siblings ...)
  2012-05-20 11:34 ` jimis at gmx dot net
@ 2012-05-20 15:36 ` dave.anglin at bell dot net
  2012-06-05 18:33 ` redi at gcc dot gnu.org
                   ` (10 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: dave.anglin at bell dot net @ 2012-05-20 15:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #29 from dave.anglin at bell dot net 2012-05-20 14:18:39 UTC ---
On 20-May-12, at 6:41 AM, jimis at gmx dot net wrote:

> init2.c:52: MPFR assertion failed: p >= 2 && p <= ((mpfr_prec_t) 
> ((mpfr_uprec_t)
> ~(mpfr_uprec_t)0)>>1))
> <built-in>:0:0: internal compiler error: Aborted

Probably, mpfr, gmp, binutils, etc need updating.

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


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (28 preceding siblings ...)
  2012-05-20 15:36 ` dave.anglin at bell dot net
@ 2012-06-05 18:33 ` redi at gcc dot gnu.org
  2012-06-09 12:26 ` redi at gcc dot gnu.org
                   ` (9 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-05 18:33 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |redi at gcc dot gnu.org
                   |gnu.org                     |


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (29 preceding siblings ...)
  2012-06-05 18:33 ` redi at gcc dot gnu.org
@ 2012-06-09 12:26 ` redi at gcc dot gnu.org
  2012-06-14 22:21 ` redi at gcc dot gnu.org
                   ` (8 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-09 12:26 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.4


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (30 preceding siblings ...)
  2012-06-09 12:26 ` redi at gcc dot gnu.org
@ 2012-06-14 22:21 ` redi at gcc dot gnu.org
  2012-06-14 22:26 ` redi at gcc dot gnu.org
                   ` (7 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-14 22:21 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #30 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-14 22:20:56 UTC ---
Author: redi
Date: Thu Jun 14 22:20:52 2012
New Revision: 188637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188637
Log:
    PR libstdc++/53270
    * include/ext/concurrence.h (__mutex, __recursive_mutex, __cond): Use
    NSDMI in C++11 mode.
    * include/ext/rope (_Refcount_Base): Likewise. Destroy mutex in
    destructor when initialized by function.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/concurrence.h
    trunk/libstdc++-v3/include/ext/rope


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (31 preceding siblings ...)
  2012-06-14 22:21 ` redi at gcc dot gnu.org
@ 2012-06-14 22:26 ` redi at gcc dot gnu.org
  2012-06-19  7:42 ` redi at gcc dot gnu.org
                   ` (6 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-14 22:26 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.8.0                       |4.7.1

--- Comment #31 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-14 22:26:43 UTC ---
fixed on trunk so far


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (32 preceding siblings ...)
  2012-06-14 22:26 ` redi at gcc dot gnu.org
@ 2012-06-19  7:42 ` redi at gcc dot gnu.org
  2012-06-19 11:15 ` [Bug libstdc++/53270] [4.6/4.7 Regression] " redi at gcc dot gnu.org
                   ` (5 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-19  7:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #32 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-19 07:42:30 UTC ---
Author: redi
Date: Tue Jun 19 07:42:21 2012
New Revision: 188768

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=188768
Log:
    PR libstdc++/53270
    * config/os/gnu-linux/os_defines.h: Disable static initializer macros
    for gthreads types in C++11 mode.

Modified:
    branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_7-branch/libstdc++-v3/config/os/gnu-linux/os_defines.h


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6/4.7 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (33 preceding siblings ...)
  2012-06-19  7:42 ` redi at gcc dot gnu.org
@ 2012-06-19 11:15 ` redi at gcc dot gnu.org
  2012-07-16 21:57 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-06-19 11:15 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|4.7.2                       |
            Summary|[4.6 Regression] Error when |[4.6/4.7 Regression] Error
                   |bootstrapping gcc on        |when bootstrapping gcc on
                   |hppa2.0-unknown-linux-gcc   |hppa2.0-unknown-linux-gcc

--- Comment #33 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-19 11:14:55 UTC ---
Bah, the patch on the 4.7 branch isn't right as it also disables the macros
when using NPTL, which isn't needed. As Dave suggested on comment 15 we'll need
to check in acinclude.m4 whether the macros cause problems. 

Proper fix coming soon ...


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6/4.7 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (34 preceding siblings ...)
  2012-06-19 11:15 ` [Bug libstdc++/53270] [4.6/4.7 Regression] " redi at gcc dot gnu.org
@ 2012-07-16 21:57 ` redi at gcc dot gnu.org
  2012-07-16 22:34 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-16 21:57 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #34 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-16 21:57:25 UTC ---
Author: redi
Date: Mon Jul 16 21:57:18 2012
New Revision: 189553

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189553
Log:
    PR libstdc++/53270
    * include/ext/concurrence.h (__mutex, __recursive_mutex, __cond): Use
    NSDMI in C++98 mode too.
    * include/ext/rope: Add system_header pragma.
    (_Refcount_Base, _Rope_RopeRep): Use NSDMI.
    (_Rope_RopeRep::~_Rope_RopeRep): Destroy mutex.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/ext/concurrence.h
    trunk/libstdc++-v3/include/ext/rope


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6/4.7 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (35 preceding siblings ...)
  2012-07-16 21:57 ` redi at gcc dot gnu.org
@ 2012-07-16 22:34 ` redi at gcc dot gnu.org
  2012-07-16 22:35 ` [Bug libstdc++/53270] [4.6 " redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-16 22:34 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #35 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-16 22:34:17 UTC ---
Author: redi
Date: Mon Jul 16 22:34:13 2012
New Revision: 189555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189555
Log:
    PR libstdc++/53270
    * include/ext/concurrence.h: Use NSDMI for gthreads types.
    * include/ext/rope: Likewise. Destroy mutexes in destructors. Add
    system_header pragma.

    Revert:
    2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR libstdc++/53270
    * config/os/gnu-linux/os_defines.h: Disable static initializer macros
    for gthreads types in C++11 mode.

Modified:
    branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_7-branch/libstdc++-v3/config/os/gnu-linux/os_defines.h
    branches/gcc-4_7-branch/libstdc++-v3/include/ext/concurrence.h
    branches/gcc-4_7-branch/libstdc++-v3/include/ext/rope


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (36 preceding siblings ...)
  2012-07-16 22:34 ` redi at gcc dot gnu.org
@ 2012-07-16 22:35 ` redi at gcc dot gnu.org
  2012-07-22 16:46 ` redi at gcc dot gnu.org
  2012-07-22 16:48 ` redi at gcc dot gnu.org
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-16 22:35 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.7.2
            Summary|[4.6/4.7 Regression] Error  |[4.6 Regression] Error when
                   |when bootstrapping gcc on   |bootstrapping gcc on
                   |hppa2.0-unknown-linux-gcc   |hppa2.0-unknown-linux-gcc

--- Comment #35 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-16 22:34:17 UTC ---
Author: redi
Date: Mon Jul 16 22:34:13 2012
New Revision: 189555

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189555
Log:
    PR libstdc++/53270
    * include/ext/concurrence.h: Use NSDMI for gthreads types.
    * include/ext/rope: Likewise. Destroy mutexes in destructors. Add
    system_header pragma.

    Revert:
    2012-06-19  Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR libstdc++/53270
    * config/os/gnu-linux/os_defines.h: Disable static initializer macros
    for gthreads types in C++11 mode.

Modified:
    branches/gcc-4_7-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_7-branch/libstdc++-v3/config/os/gnu-linux/os_defines.h
    branches/gcc-4_7-branch/libstdc++-v3/include/ext/concurrence.h
    branches/gcc-4_7-branch/libstdc++-v3/include/ext/rope


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (37 preceding siblings ...)
  2012-07-16 22:35 ` [Bug libstdc++/53270] [4.6 " redi at gcc dot gnu.org
@ 2012-07-22 16:46 ` redi at gcc dot gnu.org
  2012-07-22 16:48 ` redi at gcc dot gnu.org
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-22 16:46 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #36 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-22 16:46:07 UTC ---
Author: redi
Date: Sun Jul 22 16:46:02 2012
New Revision: 189758

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189758
Log:
    PR libstdc++/53270
    * acinclude.m4 (GLIBCXX_GTHREADS_CXX11_COPY_ASSIGN): Define.
    * configure.ac (GLIBCXX_GTHREADS_CXX11_COPY_ASSIGN): Use it.
    * config.h.in: Regenerate.
    * configure: Likewise.
    * include/ext/concurrence.h (__copy_gthr_type): Define.
    (__mutex::__mutex, __recursive_mutex::__recursive_mutex,
    __cond::__cond): Use it.
    * include/ext/rope (__copy_gthr_mutex): Define.
    (_Refcount_Base::_Refcount_Base, _Rope_RopeRep::_Rope_RopeRep): Use
    it.
    * src/condition_variable.cc (condition_variable::condition_variable):
    Use memcpy instead of assignment.

Modified:
    branches/gcc-4_6-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_6-branch/libstdc++-v3/acinclude.m4
    branches/gcc-4_6-branch/libstdc++-v3/config.h.in
    branches/gcc-4_6-branch/libstdc++-v3/configure
    branches/gcc-4_6-branch/libstdc++-v3/configure.ac
    branches/gcc-4_6-branch/libstdc++-v3/include/ext/concurrence.h
    branches/gcc-4_6-branch/libstdc++-v3/include/ext/rope
    branches/gcc-4_6-branch/libstdc++-v3/src/condition_variable.cc


^ permalink raw reply	[flat|nested] 41+ messages in thread

* [Bug libstdc++/53270] [4.6 Regression] Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc
  2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
                   ` (38 preceding siblings ...)
  2012-07-22 16:46 ` redi at gcc dot gnu.org
@ 2012-07-22 16:48 ` redi at gcc dot gnu.org
  39 siblings, 0 replies; 41+ messages in thread
From: redi at gcc dot gnu.org @ 2012-07-22 16:48 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #37 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-22 16:48:03 UTC ---
Fixed, at last!


^ permalink raw reply	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2012-07-22 16:48 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-07 20:31 [Bug libstdc++/53270] New: Error when bootstrapping gcc on hppa2.0-unknown-linux-gcc jimis at gmx dot net
2012-05-07 20:38 ` [Bug libstdc++/53270] " jimis at gmx dot net
2012-05-07 23:21 ` danglin at gcc dot gnu.org
2012-05-08  0:00 ` jimis at gmx dot net
2012-05-08  1:37 ` danglin at gcc dot gnu.org
2012-05-08  6:38 ` jimis at gmx dot net
2012-05-08  6:39 ` jimis at gmx dot net
2012-05-08  6:43 ` jimis at gmx dot net
2012-05-08 15:21 ` danglin at gcc dot gnu.org
2012-05-08 19:01 ` steven at gcc dot gnu.org
2012-05-08 19:24 ` steven at gcc dot gnu.org
2012-05-08 19:32 ` dave.anglin at bell dot net
2012-05-08 21:37 ` danglin at gcc dot gnu.org
2012-05-09  4:47 ` jimis at gmx dot net
2012-05-09 17:18 ` redi at gcc dot gnu.org
2012-05-09 19:04 ` dave.anglin at bell dot net
2012-05-10  0:42 ` jimis at gmx dot net
2012-05-10  0:56 ` jimis at gmx dot net
2012-05-10  3:50 ` dave.anglin at bell dot net
2012-05-18 14:23 ` jimis at gmx dot net
2012-05-18 14:23 ` jimis at gmx dot net
2012-05-18 14:28 ` jimis at gmx dot net
2012-05-18 17:32 ` redi at gcc dot gnu.org
2012-05-18 17:39 ` jimis at gmx dot net
2012-05-18 17:40 ` redi at gcc dot gnu.org
2012-05-18 17:42 ` jimis at gmx dot net
2012-05-18 17:44 ` jimis at gmx dot net
2012-05-19  6:19 ` redi at gcc dot gnu.org
2012-05-20 11:34 ` jimis at gmx dot net
2012-05-20 15:36 ` dave.anglin at bell dot net
2012-06-05 18:33 ` redi at gcc dot gnu.org
2012-06-09 12:26 ` redi at gcc dot gnu.org
2012-06-14 22:21 ` redi at gcc dot gnu.org
2012-06-14 22:26 ` redi at gcc dot gnu.org
2012-06-19  7:42 ` redi at gcc dot gnu.org
2012-06-19 11:15 ` [Bug libstdc++/53270] [4.6/4.7 Regression] " redi at gcc dot gnu.org
2012-07-16 21:57 ` redi at gcc dot gnu.org
2012-07-16 22:34 ` redi at gcc dot gnu.org
2012-07-16 22:35 ` [Bug libstdc++/53270] [4.6 " redi at gcc dot gnu.org
2012-07-22 16:46 ` redi at gcc dot gnu.org
2012-07-22 16:48 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).