From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id cOVNM8Yyl2rdzhsAWB0awg (envelope-from ) for ; Tue, 01 Sep 2026 16:17:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1788293830; bh=o4AEiBrIUO3SfPakF/UQthPDIh4uj52agzN5DPQmlLM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=QdGGULjGMksuqBWrCNxyurL2Kdnu/LwMFE5NaqmcFbDT9NbjRPTmDe/urri7nOF9E GSrPbrQADHBgPdfRZz2P1EVwLgF6zIqnjhLwH4vaxd76iIVTgVmaQdm1LktlNR92FR lfbyJWr0c+qMxgSFQEJsiz+3IDPEXU5AB+WYWbdw= Received: by simark.ca (Postfix, from userid 112) id AC29C1E166; Tue, 01 Sep 2026 16:17:10 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-5.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=pHDaDVAQ; dkim-atps=neutral Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EA3471E033 for ; Tue, 01 Sep 2026 16:17:09 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1AA824BA23C1 for ; Tue, 1 Sep 2026 20:17:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AA824BA23C1 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=pHDaDVAQ Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 421E94BA2E0A for ; Tue, 1 Sep 2026 20:16:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 421E94BA2E0A Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=simark.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simark.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 421E94BA2E0A Authentication-Results: sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788293805; cv=none; b=eWXsWjj7M7mctBEXZsk9yCdxA/m2G/AfaUWHG5GT5wggGkyd/Y8j6lgrAKLE/AjoLgTKHtpFkIvIaDlcaB6FmseCYdTMnV+MINpwXieDfzk3I/ylOlU5sLNVp1ezFAO1uBrJP49JnEI0fpblv26ZFmOqAvMEQb9ZgwI7RB9mrkI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1788293805; c=relaxed/simple; bh=o4AEiBrIUO3SfPakF/UQthPDIh4uj52agzN5DPQmlLM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=cplz9+/cKqfxlZ0suvTLBoZcYnBP5/XsQw7Y93cnG/aPM2h79DolnrAKKDAXn/xSbtaBoLyrbVVGpdi9Vot9i1FAIh3nCNidjqo91TI8lgLLXOxpxfBClEfvtCwXp4NBZ11BUHoFiXL94BFEvGFIQ5rFYZ1/h4NN8XLpOuyMB4w= ARC-Authentication-Results: i=1; sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=simark.ca header.i=@simark.ca header.a=rsa-sha256 header.s=mail header.b=pHDaDVAQ DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 421E94BA2E0A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=simark.ca; s=mail; t=1788293804; bh=o4AEiBrIUO3SfPakF/UQthPDIh4uj52agzN5DPQmlLM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=pHDaDVAQ/RBGqqTwkCsJok8R4gZEkBNQ2onSX7xejdDR/krQpa3wlaxu2cATPJKe7 nayIH69zN9E//wviUMLCjooYVXVXOQllA0STiaQHYcgc77S4R7/kqa3tNv4KLGolG9 FXeMTjHfe5hNi0x02LWdwsXi1SDHhFZTIN4zmGdU= Received: by simark.ca (Postfix) id 2B6041E033; Tue, 01 Sep 2026 16:16:43 -0400 (EDT) Message-ID: <6ae22222-818f-46f8-97c1-0237d7fa1839@simark.ca> Date: Tue, 1 Sep 2026 16:16:42 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/7] gdb, gdbserver: require gcc-style dependency generation, drop the depcomp fallback To: Tom Tromey , Simon Marchi , Rainer Orth Cc: gdb-patches@sourceware.org References: <20260831185300.572297-1-simon.marchi@efficios.com> <20260831185300.572297-3-simon.marchi@efficios.com> <878q5l7x0p.fsf@tromey.com> Content-Language: en-US From: Simon Marchi In-Reply-To: <878q5l7x0p.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 2026-09-01 12:32, Tom Tromey wrote: >>>>>> "Simon" == Simon Marchi writes: > > Simon> gdb/Makefile.in and gdbserver/Makefile.in have similar code to do manual > Simon> gcc3-style dependency tracking, or fallback to the depcomp tool for > Simon> other dependency tracking modes. I believe that in this day and age, we > Simon> can assume that all compilers we support know about gcc3-style > Simon> dependency tracking. > > Simon> Obviously, gcc and clang both know about it. The other compilers I am > Simon> aware of (I don't even know if they can build GDB) are Intel icc and IBM > Simon> XL, and they both appear to have known about it for a while. > > I wonder if the Windows or Solaris compilers work. If by Windows you mean MSVC, I would be really surprised. I did not know about the Sun Studio compiler, but I would assume that people juste use gcc to build gdb on Solaris. Rainer, is that true? > Anyway, I'm fine with this. I tend to doubt anybody uses anything else, > on the theory that if they did, we'd probably have seen patches to work > around problems. I suppose we can revert this or just ask people to > write wrapper scripts for any compiler not supporting this feature. > > The depcomp stuff was more important for C and the olden times when > other compilers were in use. > > Approved-By: Tom Tromey Thanks, Simon