From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27121 invoked by alias); 15 Dec 2008 16:42:51 -0000 Received: (qmail 26855 invoked by uid 48); 15 Dec 2008 16:41:29 -0000 Date: Mon, 15 Dec 2008 16:42:00 -0000 Message-ID: <20081215164129.26854.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug ada/38400] Acats faillures due to undefined pthread_setrunon_np In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "J dot J dot vanderHeijden at gmail dot com" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg01526.txt.bz2 ------- Comment #4 from J dot J dot vanderHeijden at gmail dot com 2008-12-15 16:41 ------- Created an attachment (id=16911) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16911&action=view) IRIX-6.2 only dummy implementation of pthread_setrunon_np() This patch adds an empty implementation of pthread_setrunon_np() on IRIX 6.2. Since Ada threading seems to operate independent of GCC's 'enable-threads=posix' I've chosen the existence of SGI_INITIAL_PT_SPROC as a trigger to #include and thus prevent breakage on IRIX 5.x (which doesn't have pthreads at all). Testsuite results follow -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38400