Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYgpT-00040n-5f for pgsql-committers@arkaria.postgresql.org; Thu, 15 Sep 2022 04:50:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oYgpR-00027B-NA for pgsql-committers@arkaria.postgresql.org; Thu, 15 Sep 2022 04:50:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYgpQ-000272-5i for pgsql-committers@lists.postgresql.org; Thu, 15 Sep 2022 04:50:21 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYgpK-00071V-Gq for pgsql-committers@lists.postgresql.org; Thu, 15 Sep 2022 04:50:19 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 691165C00E1; Thu, 15 Sep 2022 00:50:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 15 Sep 2022 00:50:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1663217409; x=1663303809; bh=WwspI4+CJa 2KPaN/GFXehuTlyAvS9kQNS7iGhK1aZsw=; b=H/To14eWFpIkIobbXv3fhXBrXQ dyeguXf0uzuKHD4lTEe51DuPh9VxwSakc1WoNPxGpcZiSj3eRrssAYLns7M4NX1+ DGdphbAEHZC+WAj28Nf2ngSOpl0GiOaOh/BSGNp0buPorr9RkAYV+/JBCfbQCoTU IffGbXPGdw86g6sbI5PTGdgaGUmUxwF3uTztBxaSUOkgTQANhuw+n8D7VHOZOy9m fwxKMuTWBYJEg+3LwHCLdhSuaNfcJAM1xFAlE7K0HYcgn9S0Gu9jnzi1lU4DW9mz q/3gjkngpnlGAYls7ggLYwNrMwuupOh7ozdMOpf2dHXKrWBxgej/+D/CfUhg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663217409; x=1663303809; bh=WwspI4+CJa2KPaN/GFXehuTlyAvS 9kQNS7iGhK1aZsw=; b=wfX9jFIIpm4Ke3CkWBHTNyB1s8Er7MYwaDNoB+gM8Rpd 5P04GbOvP9+0vek2vkG68lJfx8ty0cgZIrJX+un/X8B8mL0RxiW1TvTh+Ecp4l2s 7EdJ4wRpn3/U0L+MinX25+yriGfcFbSChyt8li56RKazZ6YyYxqQfLsL0Gm0u04k TEcIuxcqsYqHbSRCDuWjyTrq9ohsMO35TOxXiRnxLV+74UvCsk6f2EgiEqsr2iBX 7H2W35SK8JSgT+YJpxNOppZ0Cx2K2oBNkF8xnKAGm00Q6DTgbG5VfKyGFhtTkQ8M pHkJKoqdXN8KK14ZzP8ZstvfBMNc66TG/518vMfOxw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfedujedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 15 Sep 2022 00:50:08 -0400 (EDT) Date: Wed, 14 Sep 2022 21:50:07 -0700 From: Andres Freund To: John Naylor Cc: Tom Lane , John Naylor , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move gramparse.h to src/backend/parser Message-ID: <20220915045007.zvlrqqicbttzpgi3@awork3.anarazel.de> References: <2862807.1663184226@sss.pgh.pa.us> <20220914205715.xbmuqox5htobzggy@awork3.anarazel.de> <20220914210427.y26tkagmxo5wwbvp@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-09-15 10:52:31 +0700, John Naylor wrote: > On Thu, Sep 15, 2022 at 4:04 AM Andres Freund wrote: > > > > The most general solution I can see would be > > > > diff --git i/src/backend/common.mk w/src/backend/common.mk > > index fa96a82b1a0..61861f5c7eb 100644 > > --- i/src/backend/common.mk > > +++ w/src/backend/common.mk > > @@ -23,6 +23,7 @@ objfiles.txt: Makefile $(SUBDIROBJS) $(OBJS) > > > > ifeq ($(with_llvm), yes) > > objfiles.txt: $(patsubst %.o,%.bc, $(OBJS)) > > +$(patsubst %.o,%.bc, $(OBJS)): $(OBJS) > > endif > > Since there have been no other ideas in the past few hours, I will > push this but it will be a blind attempt since it seems sporadic and > doesn't happen to reproduce for me. WFM. FWIW, you can reproduce it with rm -rf .deps/ gram.c scan.c *.o *.bc && make parser.bc in src/backend/parser. Greetings, Andres Freund