From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 6AdyFRiKO2HlMQAAWB0awg (envelope-from ) for ; Fri, 10 Sep 2021 12:38:48 -0400 Received: by simark.ca (Postfix, from userid 112) id 406F01EE23; Fri, 10 Sep 2021 12:38:48 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,NICE_REPLY_A,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 8E5251ECEB for ; Fri, 10 Sep 2021 12:38:47 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0D94F384A895 for ; Fri, 10 Sep 2021 16:38:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D94F384A895 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1631291927; bh=b65CLnBbvFwkKqCWYu/iqiEMcFNwYqP6h+nZjhXjmjs=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=Ew6NtTvhOHcc0urg77WPtPWDhknn9fP3etsXscTMtXJ5MWtbSeS9KLvxRuwP15Nyz 5RFMJ9QW/hlY0rfBAqIyKfNg49dVEJybstJU5gFVRtiEdUCVBIvESKcGJtVcealfMJ cMZl9XcyHzv2DCDHCeq15xPq3uSAr2Vy9r0x5ZWk= Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 213C1385840D for ; Fri, 10 Sep 2021 16:38:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 213C1385840D Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4AD891FE59; Fri, 10 Sep 2021 16:38:27 +0000 (UTC) Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 2AD3F1365E; Fri, 10 Sep 2021 16:38:27 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id VJ3ICAOKO2HXIQAAGKfGzw (envelope-from ); Fri, 10 Sep 2021 16:38:27 +0000 Subject: Re: [PATCH][gdb/testsuite] Handle unrecognized command line option in gdb_compile_test To: gdb-patches@sourceware.org References: <20210908112058.GA15665@delia> Message-ID: Date: Fri, 10 Sep 2021 18:38:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210908112058.GA15665@delia> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Cc: Tom Tromey Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 9/8/21 1:20 PM, Tom de Vries wrote: > Hi, > > When running the gdb testsuite with gnatmake-4.8, I get many fails of the > following form: > ... > gcc: error: unrecognized command line option '-fgnat-encodings=all'^M > gnatmake: "gdb.ada/O2_float_param/foo.adb" compilation error^M > compiler exited with status 1 > compilation failed: gcc ... gdb.ada/O2_float_param/foo.adb > gcc: error: unrecognized command line option '-fgnat-encodings=all' > gnatmake: "gdb.ada/O2_float_param/foo.adb" compilation error > FAIL: gdb.ada/O2_float_param.exp: scenario=all: compilation foo.adb > ... > > Fix this by marking the test unsupported instead, such that we have: > ... > UNSUPPORTED: gdb.ada/O2_float_param.exp: scenario=all: compilation foo.adb \ > (unsupported option '-fgnat-encodings=all') > ... I've committed this non-controversial part and backported to gdb-11-branch. Thanks, - Tom