From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id WzNJGuWI0mD/bQAAWB0awg (envelope-from ) for ; Tue, 22 Jun 2021 21:05:41 -0400 Received: by simark.ca (Postfix, from userid 112) id 5DCAD1F1F2; Tue, 22 Jun 2021 21:05:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,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 920B81E01F for ; Tue, 22 Jun 2021 21:05:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 012EE383B83C for ; Wed, 23 Jun 2021 01:05:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 012EE383B83C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1624410340; bh=XVQWuqti8a+CmyS/B71OnJW/jRGiHFHcCUOuceUAhmw=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=twm9mGzmJ0vLPTyx6Fh8wEtYE1KGSVGn8Z8prtc1j/EUd5zZUxvRJpiA2RSt8tduN 7oHfSN4UjEqphj6qn54ZOg/b9DeB3tME9CbhYtIMXh7lQYGQX6HHaTh3fRH2CBzpM8 cPoH2cq13ufiSRDLOvZvLw4xqTYe8x24T/VHUUP4= Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 556E13844019 for ; Wed, 23 Jun 2021 01:05:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 556E13844019 Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 15N156eR008052 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 22 Jun 2021 21:05:11 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 15N156eR008052 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 60B1D1E01F; Tue, 22 Jun 2021 21:05:06 -0400 (EDT) Subject: Re: [PATCH 3/5] sim: drop configure scripts for simple ports To: Mike Frysinger , gdb-patches@sourceware.org References: <20210620055519.22229-1-vapier@gentoo.org> <20210620055519.22229-3-vapier@gentoo.org> Message-ID: <6d81e053-3470-e106-9556-e20e2610545a@polymtl.ca> Date: Tue, 22 Jun 2021 21:05:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210620055519.22229-3-vapier@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Wed, 23 Jun 2021 01:05:06 +0000 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: Simon Marchi via Gdb-patches Reply-To: Simon Marchi Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" On 2021-06-20 1:55 a.m., Mike Frysinger via Gdb-patches wrote: > These ports only use the pieces that have been unified, so we can > merge them into the common configure script and get rid of their > unique one entirely. > > We still compile & link separate run programs, and have dedicated > subdir Makefiles, but the configure script portion is merged. Starting with this patch (I think) the file sim/aarch64/Makefile gets generated with a wrong srcdir value: srcdir = ..//home/simark/src/binutils-gdb/sim/aarch64 Which causes: make[2]: Entering directory '/home/simark/build/binutils-gdb/sim/aarch64' Makefile:34: ..//home/simark/src/binutils-gdb/sim/aarch64/../../gdb/silent-rules.mk: No such file or directory make[2]: *** No rule to make target '..//home/simark/src/binutils-gdb/sim/aarch64/../../gdb/silent-rules.mk'. Stop. make[2]: Leaving directory '/home/simark/build/binutils-gdb/sim/aarch64' That's strange. I deleted sim/ completely and it still happens. For reference, here's my top-level configure line: .../configure 'CC=ccache gcc' 'CXX=ccache g++' '--with-system-readline' '--with-system-zlib' '--disable-gold' '--disable-ld' '--disable-gprof' '--disable-gas' '--enable-targets=all' '--with-expat=yes' '--with-python=python3' '--with-guile=guile-2.0' '--with-intel-pt' '--with-babeltrace' '--with-debuginfod' '--enable-libctf' 'CFLAGS=-g3 -O0 -fsanitize=address -fmax-errors=1 -fdiagnostics-color=always' 'CXXFLAGS=-g3 -O0 -fsanitize=address -D_GLIBCXX_DEBUG=1 -fmax-errors=1 -fdiagnostics-color=always' 'LDFLAGS=-fuse-ld=gold -fsanitize=address' '--enable-silent-rules' Simon