public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18444] New: Multithreading broken on Unix95-class platforms
@ 2004-11-12 8:11 ebotcazou at gcc dot gnu dot org
2004-11-12 13:55 ` [Bug target/18444] [4.0 Regression] " pinskia at gcc dot gnu dot org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-12 8:11 UTC (permalink / raw)
To: gcc-bugs
The patch
2004-08-27 Jason Merrill <jason@redhat.com>
PR c++/13684
* gimplify.c (gimplify_cleanup_point_expr): Handle CLEANUP_EH_ONLY.
(gimple_push_cleanup): Add eh_only parm.
(gimplify_target_expr): Pass it.
* c.opt (-fno-threadsafe-statics): New option.
* c-opts.c (c_common_handle_option): Handle it.
* c-common.h (flag_threadsafe_statics): Declare it.
* c-common.c (flag_threadsafe_statics): Record it.
* doc/invoke.texi: Document it.
* tsystem.h (_GNU_SOURCE): Define.
* gthr-posix.h (__gthread_recursive_mutex_t): New typedef.
(__GTHREAD_RECURSIVE_MUTEX_INIT): New macro.
(__GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION): New macro.
(__gthread_recursive_mutex_init_function): New fn.
(__gthread_recursive_mutex_lock): New fn.
(__gthread_recursive_mutex_trylock): New fn.
(__gthread_recursive_mutex_unlock): New fn.
* gthr-solaris.h, gthr-single.h, gthr-dce.h: Likewise.
* gthr-win32.h, gthr-vxworks.h: Likewise.
* gthr.h: Document.
makes it impossible to build the compiler without --enable-threads=single on
Unix95-class (i.e. non Unix98-class platforms), because recursive mutexes
support is now mandatory for POSIX threads. Among the affected platforms are
sparc-sun-solaris2.5.1 and sparc-sun-solaris2.6.
A recursive mutexes emulation was implemented in gthr-win32.h, so I think it
should be doable to do the same in gthr-posix.h (and gthr-solaris.h).
--
Summary: Multithreading broken on Unix95-class platforms
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ebotcazou at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
@ 2004-11-12 13:55 ` pinskia at gcc dot gnu dot org
2004-11-14 13:13 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-12 13:55 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Multithreading broken on |[4.0 Regression]
|Unix95-class platforms |Multithreading broken on
| |Unix95-class platforms
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
2004-11-12 13:55 ` [Bug target/18444] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-14 13:13 ` ebotcazou at gcc dot gnu dot org
2004-11-16 8:35 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-14 13:13 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-14 13:13 -------
Fixing.
--
What |Removed |Added
----------------------------------------------------------------------------
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=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
2004-11-12 13:55 ` [Bug target/18444] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-14 13:13 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-16 8:35 ` ebotcazou at gcc dot gnu dot org
2004-11-22 22:27 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-16 8:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-16 08:35 -------
Pending patch: http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01200.html
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-11-16 8:35 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-22 22:27 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:28 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-22 22:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-22 22:26 -------
Subject: Bug 18444
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2004-11-22 22:26:11
Modified files:
gcc : ChangeLog configure configure.ac config.gcc
gthr.h
gcc/doc : install.texi
Added files:
gcc : gthr-posix95.h
gcc/config : sol26.h
Log message:
PR target/18444
* configure.ac (threading): Accept 'posix95'.
* configure: Regenerate.
* config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
include sol26.h and default to posix95 threads if have_pthread_h.
(sparc-*-solaris2*): Likewise.
* gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
* gthr-posix95.h: New file.
* config/sol26.h: New file.
* doc/install.texi (--enable-threads): Document 'posix95'.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gthr-posix95.h.diff?cvsroot=gcc&r1=NONE&r2=2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6468&r2=2.6469
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.diff?cvsroot=gcc&r1=1.874&r2=1.875
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/configure.ac.diff?cvsroot=gcc&r1=2.83&r2=2.84
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?cvsroot=gcc&r1=1.496&r2=1.497
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/gthr.h.diff?cvsroot=gcc&r1=1.18&r2=1.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/install.texi.diff?cvsroot=gcc&r1=1.329&r2=1.330
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sol26.h.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-22 22:27 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-22 22:28 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:30 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:32 ` ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-22 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-22 22:28 -------
Subject: Bug 18444
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2004-11-22 22:28:33
Modified files:
boehm-gc : ChangeLog configure configure.ac
Log message:
PR target/18444
* configure.ac (threading): Accept 'posix95'.
* configure: Regenerate.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/boehm-gc/ChangeLog.diff?cvsroot=gcc&r1=1.207&r2=1.208
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/boehm-gc/configure.diff?cvsroot=gcc&r1=1.85&r2=1.86
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/boehm-gc/configure.ac.diff?cvsroot=gcc&r1=1.6&r2=1.7
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-11-22 22:28 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-22 22:30 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:32 ` ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-22 22:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-11-22 22:30 -------
Subject: Bug 18444
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: ebotcazou@gcc.gnu.org 2004-11-22 22:30:14
Modified files:
libjava : ChangeLog configure configure.ac
Log message:
PR target/18444
* configure.ac (threading): Accept 'posix95'.
* configure: Regenerate.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3227&r2=1.3228
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.diff?cvsroot=gcc&r1=1.242&r2=1.243
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/configure.ac.diff?cvsroot=gcc&r1=1.12&r2=1.13
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/18444] [4.0 Regression] Multithreading broken on Unix95-class platforms
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-22 22:30 ` cvs-commit at gcc dot gnu dot org
@ 2004-11-22 22:32 ` ebotcazou at gcc dot gnu dot org
6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-22 22:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-22 22:32 -------
See http://gcc.gnu.org/ml/gcc-patches/2004-11/msg01746.html
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18444
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-11-22 22:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-12 8:11 [Bug target/18444] New: Multithreading broken on Unix95-class platforms ebotcazou at gcc dot gnu dot org
2004-11-12 13:55 ` [Bug target/18444] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-11-14 13:13 ` ebotcazou at gcc dot gnu dot org
2004-11-16 8:35 ` ebotcazou at gcc dot gnu dot org
2004-11-22 22:27 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:28 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:30 ` cvs-commit at gcc dot gnu dot org
2004-11-22 22:32 ` 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).