mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
re PR bootstrap/3456 (bootstrapping gcc-3.0 with threadmodel=posix fails on IRIX64 6.5)
gcc: PR bootstrap/3456 * config.gcc (mips-sgi-irix[56]*): Enable pthread support. * doc/install.texi (mips-sgi-irix6): pthread support works now. libstdc++-v3: PR bootstrap/3456 * testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on mips-sgi-irix6*. * testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise. * testsuite/thread/18185.cc: Likewise. * testsuite/thread/pthread1.cc: Likewise. * testsuite/thread/pthread2.cc: Likewise. * testsuite/thread/pthread3.cc: Likewise. * testsuite/thread/pthread4.cc: Likewise. * testsuite/thread/pthread5.cc: Likewise. * testsuite/thread/pthread6.cc: Likewise. * testsuite/thread/pthread7-rope.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. From-SVN: r126685
This commit is contained in:
parent
c1331fd4fb
commit
40f5cc95ab
@ -1,3 +1,9 @@
|
|||||||
|
2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
PR bootstrap/3456
|
||||||
|
* config.gcc (mips-sgi-irix[56]*): Enable pthread support.
|
||||||
|
* doc/install.texi (mips-sgi-irix6): pthread support works now.
|
||||||
|
|
||||||
2007-07-16 Paul Brook <paul@codesourcery.com>
|
2007-07-16 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
PR target/32753
|
PR target/32753
|
||||||
|
@ -1644,9 +1644,9 @@ mips-sgi-irix[56]*)
|
|||||||
then
|
then
|
||||||
tm_defines="${tm_defines} IRIX_USING_GNU_LD"
|
tm_defines="${tm_defines} IRIX_USING_GNU_LD"
|
||||||
fi
|
fi
|
||||||
# if test x$enable_threads = xyes; then
|
case ${enable_threads}:${have_pthread_h} in
|
||||||
# thread_file='irix'
|
"":yes | yes:yes ) thread_file=posix ;;
|
||||||
# fi
|
esac
|
||||||
use_fixproto=yes
|
use_fixproto=yes
|
||||||
;;
|
;;
|
||||||
mips*-*-netbsd*) # NetBSD/mips, either endian.
|
mips*-*-netbsd*) # NetBSD/mips, either endian.
|
||||||
|
@ -3693,8 +3693,7 @@ To enable debugging for the O32 ABI, you must use GNU @command{as} from
|
|||||||
GNU binutils 2.15 or later. You may also use GNU @command{ld}, but
|
GNU binutils 2.15 or later. You may also use GNU @command{ld}, but
|
||||||
this is not required and currently causes some problems with Ada.
|
this is not required and currently causes some problems with Ada.
|
||||||
|
|
||||||
The @option{--enable-threads} option doesn't currently work, a patch is
|
The @option{--enable-libgcj}
|
||||||
in preparation for a future release. The @option{--enable-libgcj}
|
|
||||||
option is disabled by default: IRIX 6 uses a very low default limit
|
option is disabled by default: IRIX 6 uses a very low default limit
|
||||||
(20480) for the command line length. Although @command{libtool} contains a
|
(20480) for the command line length. Although @command{libtool} contains a
|
||||||
workaround for this problem, at least the N64 @samp{libgcj} is known not
|
workaround for this problem, at least the N64 @samp{libgcj} is known not
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||||
|
|
||||||
|
PR bootstrap/3456
|
||||||
|
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Enable on
|
||||||
|
mips-sgi-irix6*.
|
||||||
|
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
|
||||||
|
* testsuite/thread/18185.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread1.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread2.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread3.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread4.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread5.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread6.cc: Likewise.
|
||||||
|
* testsuite/thread/pthread7-rope.cc: Likewise.
|
||||||
|
* testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc: Likewise.
|
||||||
|
* testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
|
||||||
|
|
||||||
2007-07-16 Danny Smith <dannysmith@users.sourceforge.net>
|
2007-07-16 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
|
* config/os/mingw32/ctype_base.h: Use the generic libstdc++ masks
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
// { dg-require-namedlocale "" }
|
// { dg-require-namedlocale "" }
|
||||||
|
|
||||||
// Copyright (C) 2004, 2005 Free Software Foundation
|
// Copyright (C) 2004, 2005, 2007 Free Software Foundation
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
// { dg-require-namedlocale "" }
|
// { dg-require-namedlocale "" }
|
||||||
|
|
||||||
// Copyright (C) 2004, 2005 Free Software Foundation
|
// Copyright (C) 2004, 2005, 2007 Free Software Foundation
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
// Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
@ -17,8 +17,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <ext/new_allocator.h>
|
#include <ext/new_allocator.h>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
// This multi-threading C++/STL/POSIX code adheres to rules outlined here:
|
// This multi-threading C++/STL/POSIX code adheres to rules outlined here:
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -20,8 +20,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
||||||
// USA.
|
// USA.
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <ext/rope>
|
#include <ext/rope>
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
// TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
|
// TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <tr1/memory>
|
#include <tr1/memory>
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
|
|
||||||
// TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
|
// TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
|
||||||
|
|
||||||
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* } }
|
// { dg-do run { target *-*-freebsd* *-*-netbsd* *-*-linux* *-*-solaris* *-*-cygwin *-*-darwin* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* } }
|
// { dg-options "-pthread" { target *-*-freebsd* *-*-netbsd* *-*-linux* alpha*-*-osf* mips-sgi-irix6* } }
|
||||||
// { dg-options "-pthreads" { target *-*-solaris* } }
|
// { dg-options "-pthreads" { target *-*-solaris* } }
|
||||||
|
|
||||||
#include <tr1/memory>
|
#include <tr1/memory>
|
||||||
|
Loading…
Reference in New Issue
Block a user