public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
@ 2004-11-02 17:56 wanderer at rsu dot ru
  2004-11-02 17:57 ` [Bug bootstrap/18277] " wanderer at rsu dot ru
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: wanderer at rsu dot ru @ 2004-11-02 17:56 UTC (permalink / raw)
  To: gcc-bugs

Next gcc bootstrap problem at FreeBSD:

---8X-----------------------------------
/usr/home/wanderer/pkg/build/gcc/obj/gcc/xgcc -shared-libgcc -
B/usr/home/wanderer/pkg/build/gcc/obj/gcc/ -nostdinc++ -
L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.3/libstdc++-
v3/src -L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.3/libstdc++-v3/src/.libs -B/home/wanderer/pkg/gcc/i386-unknown-
freebsd5.3/bin/ -B/home/wanderer/pkg/gcc/i386-unknown-freebsd5.3/lib/ -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.3/include -
isystem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.3/sys-include -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/../gcc -
I/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.3/libstdc++-
v3/include/i386-unknown-freebsd5.3 -I/usr/home/wanderer/pkg/build/gcc/obj/i386-
unknown-freebsd5.3/libstdc++-v3/include -
I/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/libsupc++ -O2 -g -O2 -
g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -
fdiagnostics-show-location=once -ffunction-sections -fdata-sections -
c /home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/libsupc++/guard.cc  -
fPIC -DPIC -o guard.o
/home/wanderer/pkg/build/gcc/src/gcc/gcc/libstdc++-v3/libsupc++/guard.cc:62: 
error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
gmake[4]: *** [guard.lo] Error 1
gmake[4]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.3/libstdc++-v3/libsupc++'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.3/libstdc++-v3'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-
freebsd5.3/libstdc++-v3'
gmake[1]: *** [all-target-libstdc++-v3] Error 2
gmake[1]: Leaving directory `/usr/home/wanderer/pkg/build/gcc/obj'
gmake: *** [bootstrap] Error 2
---X8-----------------------------------

For bootsrap used FreeBSD 5.3-RC1 system complier gcc version 3.4.2 [FreeBSD] 
20040728

-- 
           Summary: libsupc++/guard.cc:62: error:
                    'RECURSIVE_ERRORCHECKMUTEX' was not declared in this
                    scope
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wanderer at rsu dot ru
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-unknown-freebsd5.3-RC1
  GCC host triplet: i386-unknown-freebsd5.3-RC1
GCC target triplet: i386-unknown-freebsd5.3-RC1


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


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

* [Bug bootstrap/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
@ 2004-11-02 17:57 ` wanderer at rsu dot ru
  2004-11-02 17:58 ` [Bug libstdc++/18277] " pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: wanderer at rsu dot ru @ 2004-11-02 17:57 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wanderer at rsu dot ru  2004-11-02 17:57 -------
Created an attachment (id=7457)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7457&action=view)
.ii file (original commandline + -save-temps)


-- 


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


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

* [Bug libstdc++/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
  2004-11-02 17:57 ` [Bug bootstrap/18277] " wanderer at rsu dot ru
@ 2004-11-02 17:58 ` pinskia at gcc dot gnu dot org
  2004-11-02 18:14 ` wanderer at rsu dot ru
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-02 17:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-02 17:58 -------
  __gthread_recursive_mutex_t static_mutex::mutex
#ifdef __GTHREAD_RECURSIVE_MUTEX_INIT
  = __GTHREAD_RECURSIVE_MUTEX_INIT
#endif
  ;

Is __GTHREAD_RECURSIVE_MUTEX_INIT defined wrong for freebsd?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |libstdc++
           Keywords|                            |build


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


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

* [Bug libstdc++/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
  2004-11-02 17:57 ` [Bug bootstrap/18277] " wanderer at rsu dot ru
  2004-11-02 17:58 ` [Bug libstdc++/18277] " pinskia at gcc dot gnu dot org
@ 2004-11-02 18:14 ` wanderer at rsu dot ru
  2004-11-02 18:43 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: wanderer at rsu dot ru @ 2004-11-02 18:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wanderer at rsu dot ru  2004-11-02 18:14 -------
I think problem related to commit:

2004-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>

        * gthr-posix.h (__gthread_recursive_mutex_init_function): Guard
        with #ifdef PTHREAD_MUTEX_RECURSIVE/#endif pairs.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at libertysurf dot
                   |                            |fr


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


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

* [Bug libstdc++/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (2 preceding siblings ...)
  2004-11-02 18:14 ` wanderer at rsu dot ru
@ 2004-11-02 18:43 ` ebotcazou at gcc dot gnu dot org
  2004-11-02 18:46 ` wanderer at rsu dot ru
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-02 18:43 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-02 18:43 -------
> I think problem related to commit:
> 
> 2004-10-29  Eric Botcazou  <ebotcazou@libertysurf.fr>
> 
>         * gthr-posix.h (__gthread_recursive_mutex_init_function): Guard
>         with #ifdef PTHREAD_MUTEX_RECURSIVE/#endif pairs.

I presume PTHREAD_MUTEX_RECURSIVE is defined as an enum on FreeBSD, right?

-- 


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


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

* [Bug libstdc++/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (3 preceding siblings ...)
  2004-11-02 18:43 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-02 18:46 ` wanderer at rsu dot ru
  2004-11-02 18:55 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: wanderer at rsu dot ru @ 2004-11-02 18:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From wanderer at rsu dot ru  2004-11-02 18:46 -------
from /usr/include/pthread.h:

enum pthread_mutextype {
        PTHREAD_MUTEX_ERRORCHECK        = 1,    /* Default POSIX mutex */
        PTHREAD_MUTEX_RECURSIVE         = 2,    /* Recursive mutex */
        PTHREAD_MUTEX_NORMAL            = 3,    /* No error checking */
        MUTEX_TYPE_MAX
};


-- 


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


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

* [Bug libstdc++/18277] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (4 preceding siblings ...)
  2004-11-02 18:46 ` wanderer at rsu dot ru
@ 2004-11-02 18:55 ` ebotcazou at gcc dot gnu dot org
  2004-11-04  4:00 ` [Bug libstdc++/18277] [4.0 Regression] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-02 18:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-02 18:55 -------
Fixing.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|ebotcazou at libertysurf dot|
                   |fr                          |
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED


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


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

* [Bug libstdc++/18277] [4.0 Regression] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (5 preceding siblings ...)
  2004-11-02 18:55 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-04  4:00 ` pinskia at gcc dot gnu dot org
  2004-11-04  8:02 ` gerald at pfeifer dot com
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-04  4:00 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|libsupc++/guard.cc:62:      |[4.0 Regression]
                   |error:                      |libsupc++/guard.cc:62:
                   |'RECURSIVE_ERRORCHECKMUTEX' |error:
                   |was not declared in this    |'RECURSIVE_ERRORCHECKMUTEX'
                   |scope                       |was not declared in this
                   |                            |scope
   Target Milestone|---                         |4.0.0


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


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

* [Bug libstdc++/18277] [4.0 Regression] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (6 preceding siblings ...)
  2004-11-04  4:00 ` [Bug libstdc++/18277] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-04  8:02 ` gerald at pfeifer dot com
  2004-11-04 10:46 ` [Bug other/18277] " cvs-commit at gcc dot gnu dot org
  2004-11-04 10:47 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: gerald at pfeifer dot com @ 2004-11-04  8:02 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gerald at pfeifer dot com
           Severity|normal                      |critical


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


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

* [Bug other/18277] [4.0 Regression] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (7 preceding siblings ...)
  2004-11-04  8:02 ` gerald at pfeifer dot com
@ 2004-11-04 10:46 ` cvs-commit at gcc dot gnu dot org
  2004-11-04 10:47 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-04 10:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-04 10:46 -------
Subject: Bug 18277

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2004-11-04 10:46:06

Modified files:
	gcc            : ChangeLog gthr-posix.h 

Log message:
	PR other/18277
	* gthr-posix.h (__gthread_recursive_mutex_init_function): Revert
	2004-10-29 patch

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6162&r2=2.6163
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gthr-posix.h.diff?cvsroot=gcc&r1=1.34&r2=1.35



-- 


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


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

* [Bug other/18277] [4.0 Regression] libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope
  2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
                   ` (8 preceding siblings ...)
  2004-11-04 10:46 ` [Bug other/18277] " cvs-commit at gcc dot gnu dot org
@ 2004-11-04 10:47 ` ebotcazou at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-04 10:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-04 10:47 -------
I've reverted my patch.


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


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


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

end of thread, other threads:[~2004-11-04 10:47 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-02 17:56 [Bug bootstrap/18277] New: libsupc++/guard.cc:62: error: 'RECURSIVE_ERRORCHECKMUTEX' was not declared in this scope wanderer at rsu dot ru
2004-11-02 17:57 ` [Bug bootstrap/18277] " wanderer at rsu dot ru
2004-11-02 17:58 ` [Bug libstdc++/18277] " pinskia at gcc dot gnu dot org
2004-11-02 18:14 ` wanderer at rsu dot ru
2004-11-02 18:43 ` ebotcazou at gcc dot gnu dot org
2004-11-02 18:46 ` wanderer at rsu dot ru
2004-11-02 18:55 ` ebotcazou at gcc dot gnu dot org
2004-11-04  4:00 ` [Bug libstdc++/18277] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-04  8:02 ` gerald at pfeifer dot com
2004-11-04 10:46 ` [Bug other/18277] " cvs-commit at gcc dot gnu dot org
2004-11-04 10:47 ` ebotcazou at gcc dot gnu dot 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).