From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by sourceware.org (Postfix) with ESMTPS id 8592C3858C50 for ; Mon, 18 Sep 2023 19:35:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8592C3858C50 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-8ch.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1695065738; bh=dtpOFyTAuMDN9k3il5hI7EIH/AsTjMVRDigLRfDhGuM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=c0RjQnXaEAWLBK3MiUsI/uZf3khWBkynNg+s38ZI8uFouisfe80JbF3PJkvmziQss RaL9LksOnMaqL6Cb+hv1T66bEbOzDWBf15Ttn+0Uf8oBWLsDLnGD97x9CxZvSd4lM4 NMBaKyQ12s1YqqUUDaNgxQg+S2w5DVmGui+0vNsM= Date: Mon, 18 Sep 2023 21:35:37 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Jan Beulich Cc: Alan Modra , binutils@sourceware.org Subject: Re: [PATCH v2 2/2] ld: write full paths to dependency-file Message-ID: References: <20230916103619.819791-1-thomas@t-8ch.de> <20230916103619.819791-3-thomas@t-8ch.de> <9d844234-3e05-42f3-8bfe-3ddf814c8bd8@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9d844234-3e05-42f3-8bfe-3ddf814c8bd8@suse.com> X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-09-18 15:38:21+0200, Jan Beulich wrote: > On 16.09.2023 12:36, Thomas Weißschuh wrote: > > When relative paths are written to the dependency-file it forces the > > users of it to run from the same directory. > > To avoid this only write absolute paths. > > Using relative paths, otoh, may allow to move build trees around. First and > foremost the two behaviors may relevant when (not) building in the source > tree itself. Furthermore the compiler, gcc at least, looks to also write > relative paths when relative paths were given. Fair enough. Let's drop this patch then. Thomas