From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by sourceware.org (Postfix) with ESMTPS id C9257399B42B for ; Fri, 4 Jun 2021 13:09:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C9257399B42B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x42c.google.com with SMTP id f2so9234356wri.11 for ; Fri, 04 Jun 2021 06:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=MVKI7uek9avPhv02SaGwlxVcVWYGN3ym9oHrWGiJ4YY=; b=MNUBNBwofURy8EBVFzMgIfGSW1gUXVus25hAKZMYpYHIy0vTXEIlL/3p51pdth3iTc RmySTEY55n0g9XGBKhWC6Sn+WNRfnyGbTziUO3E5in1e9E7yDASNy8mwS71QhdAZN6AG UAUh0gjD6B5f2vN3yYEmwIulFG+CMPG5PtO77eaNPtHgDnlLwKgZrNsZ7KBpAJ/O49l8 tKITLl5poFqR3hpVSxs3vjLILpvCo3nDfiHMixakl9AVjBZxn0xlynoQnd7g2lo7MLno 3TGKENxkXvL54Qod/VDVyg9FtXwtnLCgS982dwqrB51NPF81xc4B5lI1wFZ2Qjs09qJg KtOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MVKI7uek9avPhv02SaGwlxVcVWYGN3ym9oHrWGiJ4YY=; b=QwAz7Hpk3hHqK7OiUoqJvnZ0ph8TXwe8Ka9mHlxAvt7FTuzTLmtTr/ri7BoZY9/WGA 7xu+hPPKz/46DTfTdK51IBtzsgUllhD+AiN8P+9YNjMgI5qTEiW3RgGnCI7uvRNaR3ZA AbZQn4hvJa+D1JoxtahsW54gfVdBxL2f7d4fQgxqHGmqLX5b0WU3bWgpxFdHn23QpRh/ fFyGH9YGpR1PTVOQ71UJVlo7CfGJ6O2d2Z3p4Tb+8jkJEyS0+bbnRCPbtUktLB3qADU1 Q1jPXxEb5DurHHup8RmuNEsithCYu/ylDkFtNjGR+t5sqhQm+4Fl2nJI0AfMA98xU1Cx Jq5g== X-Gm-Message-State: AOAM5303Xo1YFpMEgSTWwAPxlAtIJMObUcw2qE/l+klokw3c6oV8pCr3 aFCxdj+02TgnIcHngDQDtolaCA== X-Google-Smtp-Source: ABdhPJx8ZRroaa+G5GYsZlfCX5q/rPRCCBZivh46zK2RRiOBU6T/6JPKhwotkR9/8rhUpXobJaKyoQ== X-Received: by 2002:a5d:60cf:: with SMTP id x15mr3856244wrt.86.1622812184893; Fri, 04 Jun 2021 06:09:44 -0700 (PDT) Received: from localhost (host109-151-46-70.range109-151.btcentralplus.com. [109.151.46.70]) by smtp.gmail.com with ESMTPSA id m21sm3652612wms.42.2021.06.04.06.09.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Jun 2021 06:09:44 -0700 (PDT) Date: Fri, 4 Jun 2021 14:09:43 +0100 From: Andrew Burgess To: Shahab Vahedi Cc: Tom Tromey , gdb@sourceware.org Subject: Re: Question about running "make check-gdb" Message-ID: <20210604130943.GD2295059@embecosm.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux/5.8.18-100.fc31.x86_64 (x86_64) X-Uptime: 14:08:05 up 16 days, 2:52, X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2021 13:09:56 -0000 * Shahab Vahedi via Gdb [2021-06-04 11:56:48 +0200]: > Hi Tom, > > Couple of days ago, you've pushed a refactoring commit [1] to gdb. > I noticed after that change I am not able to run gdb tests for > ARC targets anymore. I investigated a little bit and it seems like > that the "target_alias" in generated "gdb/testsuite/site.exp" is > not recognized correctly: > > ------ After the commit ------- > $ configure --target=arc-elf32 ... > $ make > $ make check-gdb > $ cat gdb/testsuite/site.exp > ... > set target_alias @target_noncanonical@ > ... > ------ After the commit ------- > > ------ Before the commit ------- > $ ./configure --target=arc-elf32 ... > $ make > $ make check-gdb > $ cat gdb/testsuite/site.exp > ... > set target_alias arc-elf32 > ... > ------ Before the commit ------- > > I've tried some other target combinations as well to no avail: > > $ ./configure --target=arc-none-elf32 > $ ./configure --target=arc-snps-elf > $ ... > > I would much appreciate it if you could point me in the direction of > how to fix this. I suspect that it was the loss of ACX_NONCANONICAL_TARGET that is the problem, this used to be present in gdb/testsuite/configure.ac, but is not in gdb/configure.ac. Try adding this call into gdb/configure.ac and see if that fixes it for you. thanks, Andrew