From patchwork Fri Nov 11 17:44:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 125237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id ACDE51007DA for ; Sat, 12 Nov 2011 04:44:29 +1100 (EST) Received: (qmail 8271 invoked by alias); 11 Nov 2011 17:44:26 -0000 Received: (qmail 8255 invoked by uid 22791); 11 Nov 2011 17:44:24 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, TW_ZJ X-Spam-Check-By: sourceware.org Received: from mail-yx0-f175.google.com (HELO mail-yx0-f175.google.com) (209.85.213.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 11 Nov 2011 17:44:06 +0000 Received: by yenm3 with SMTP id m3so3759536yen.20 for ; Fri, 11 Nov 2011 09:44:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.5.22 with SMTP id h22mr817757yai.0.1321033445476; Fri, 11 Nov 2011 09:44:05 -0800 (PST) Received: by 10.147.114.16 with HTTP; Fri, 11 Nov 2011 09:44:05 -0800 (PST) Date: Fri, 11 Nov 2011 18:44:05 +0100 Message-ID: Subject: [PATCH, testsuite]: Do not run simulate-thread on alpha*-*-linux* From: Uros Bizjak To: gcc-patches@gcc.gnu.org Cc: Richard Henderson Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hello! For some reason, single-stepping executable between ldl_l and stl_c insns in gdb [1] breaks LL/SC chaining, so atomic operations never finish. This calls for gdb bugreport. Also taking into account that dejagnu timeout didn't trigger for unattended testsuite run and considering huge amount of log information in testsuite log logged during gdb session, this all-together was quite devastating to disk space... We can simply claim that gdb on alpha*-*-linux* is unusable for the purpose of thread-simulate tests. 2011-11-11 Uros Bizjak * lib/gcc-simulate-thread.exp (simulate-thread): Do not run on alpha*-*-linux* targets. Tested on alphaev68-pc-linux-gnu. OK for mainline SVN? [1] GNU gdb (Gentoo 7.3.1 p1) 7.3.1 Uros. Index: lib/gcc-simulate-thread.exp =================================================================== --- lib/gcc-simulate-thread.exp (revision 181284) +++ lib/gcc-simulate-thread.exp (working copy) @@ -22,6 +22,11 @@ # Call 'fail' if a given test printed "FAIL:", otherwise call 'pass'. proc simulate-thread { args } { + + # ??? Exit immediately if this is alpha*-*-linux* target, single-stepping + # executable between ldl_l and stl_c insns in gdb breaks LL/SC chaining. + if { [istarget alpha*-*-linux*] } { return } + if { ![isnative] || [is_remote target] } { return } if { [llength $args] == 1 } {