From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11581 invoked by alias); 11 Jan 2012 17:38:58 -0000 Received: (qmail 11445 invoked by uid 22791); 11 Jan 2012 17:38:56 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_CX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Jan 2012 17:38:43 +0000 From: "ro at CeBiTec dot Uni-Bielefeld.DE" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/51296] Several 30_threads tests FAIL on Tru64 UNIX Date: Wed, 11 Jan 2012 17:38:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ro at CeBiTec dot Uni-Bielefeld.DE X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2012-01/txt/msg01296.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51296 --- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE 2012-01-11 17:37:59 UTC --- > --- Comment #18 from Jonathan Wakely 2012-01-11 16:50:09 UTC --- > Regarding the remaining failures, it appears to be a front-end issue. Fixing it > in the library could be done with an autoconf macro to detect that the testcase > in comment 13 works. If that macro isn't defined, use the init function instead > of the init macro. I've just tried it with the vendor cxx (first disabling noexcept for C++ < 2011), and it also fails with EINVAL. > I'm not sure if/when I'll be able to work on that. Given that this is mostly autoconf work, I could give it a try myself if I can figure out where best to override the __GTHREAD_MUTEX_INIT definition from gthr-default.h/gthr-posix.h. The problem seems to be that autoconf results go into , which is included way before . If all else failed, one could do so in libgcc/gthr-posix.h. Rainer