bootstrapping gcc-3.0 on IRIX64 6.5 fails if threadmodel posix is chosen, since stage1/xgcc does not link libpthread. Release: unknown How-To-Repeat: try building on this system
Fix: add "-lpthread" to *link options in specs file.
State-Changed-From-To: open->suspended State-Changed-Why: The release notes for GCC at http://gcc.gnu.org/install/specific.html#mips-sgi-irix6 say the following: "The --enable-threads option doesn't currently work, a patch is in preparation for a future release." I don't know what the status of the patch is, but basically --enable-threads option does not work on IRIX.
From: rodrigc@gcc.gnu.org To: boris.waibel@gmx.de, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: bootstrap/3456: bootstrapping gcc-3.0 with treadmodel=posix fails on IRIX64 6.5 Date: 19 Nov 2001 03:49:19 -0000 Synopsis: bootstrapping gcc-3.0 with treadmodel=posix fails on IRIX64 6.5 State-Changed-From-To: open->suspended State-Changed-By: rodrigc State-Changed-When: Sun Nov 18 19:49:18 2001 State-Changed-Why: The release notes for GCC at http://gcc.gnu.org/install/specific.html#mips-sgi-irix6 say the following: "The --enable-threads option doesn't currently work, a patch is in preparation for a future release." I don't know what the status of the patch is, but basically --enable-threads option does not work on IRIX. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3456&database=gcc
From: Dara Hazeghi <dhazeghi@yahoo.com> To: boris.waibel@gmx.de, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org, echristo@redhat.com Cc: Subject: Re: bootstrap/3456: bootstrapping gcc-3.0 with treadmodel=posix fails on IRIX64 6.5 Date: Wed, 21 May 2003 01:18:41 -0700 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- trail&database=gcc&pr=3456 Hello, this bug report deals with the inavailability of thread support on Irix 6.5, as mentioned in the target specific install instructions. Does anybody know how current this statement is? Is such support still lacking? Does gcc 3.3 still exhibit this problem? Thanks, Dara
I just looked in the source and the LINK_SPEC does not have -lpthread in there at all so thi is not fixed at all.
Working on a patch.
Patch here: http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01185.html
Subject: Bug 3456 Author: ro Date: Mon Jul 16 17:21:10 2007 New Revision: 126685 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126685 Log: 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. Modified: trunk/gcc/ChangeLog trunk/gcc/config.gcc trunk/gcc/doc/install.texi trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-1.cc trunk/libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-2.cc trunk/libstdc++-v3/testsuite/thread/18185.cc trunk/libstdc++-v3/testsuite/thread/pthread1.cc trunk/libstdc++-v3/testsuite/thread/pthread2.cc trunk/libstdc++-v3/testsuite/thread/pthread3.cc trunk/libstdc++-v3/testsuite/thread/pthread4.cc trunk/libstdc++-v3/testsuite/thread/pthread5.cc trunk/libstdc++-v3/testsuite/thread/pthread6.cc trunk/libstdc++-v3/testsuite/thread/pthread7-rope.cc trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc trunk/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc
Fixed for 4.3.