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 1maMRi-0002iS-5K for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:24:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maMRg-00061h-5c for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:24:12 +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 1maMRf-0005wN-Tv for pgsql-hackers@lists.postgresql.org; Tue, 12 Oct 2021 18:24:11 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMRX-0005dp-UJ for pgsql-hackers@postgresql.org; Tue, 12 Oct 2021 18:24:11 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E68435C01D8; Tue, 12 Oct 2021 14:24:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 12 Oct 2021 14:24:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=HacVMufZL3VoQHwa2TtJvqnF1Dm kzr1SnADlH8n/OJw=; b=urQNbC5eALCaNNkSdyxEBqzNUOo6V9wABy3q0pAUn/1 4jJjMqV3blIC4NR2VRjIVcp9OpGZpFJ+/oG+zdJ4orAnQXLCbx1Pc6LJ28M0Ikx2 s37SlpB0LUnJOxKEZUkDcM3J43hUMQ79z1b+SHqzoWGAP+jNoLJIHEDVNJZ4odSs RzZgZPQV7sv7hcXlR9M0sIgz/UJckPgy+e7wApA0maFp8NDF0YlCLg6Z8NM4EYjX xfV+wTvBbK56VOB0/8+VA5EWHzp16NO8y36avYmNp9IZjd/wiYdGQPyoXsO9gGio 7RFw89q2cbvegTEBDB13MO3zclFsBBM2DdvfLgLY9XQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=HacVMu fZL3VoQHwa2TtJvqnF1Dmkzr1SnADlH8n/OJw=; b=j3RWXdhZ8qw0LBhbqBGdFz qAb3GpXsC6PjfmH9Pe5LC74+cXuLrgFBG/6v5tH4zNAUwORIn7THZjB7WTCHqTib DH68Sk14U9Y5CNpEE5Q928NJNJL1XZrx6uVMy+8s68XDnSTm53128meVL8EC4yGH f9a2Y98X+eImH/uj+IQUczyhbyJjHWrRTvR7xtTWTywswTWokJcNmYb5rWiwJF/V FO4cJA37tXFKQOBxr2RBz/I9dM6k5TxwLkr5bD+5iAWGGCMmR2UYjXZeOIfRCqRq BhWh/EfitIvQWNIqjMs+9PJAbwvEhmvtbaZ2i30lFvW7YTX05n8aanU2kP6l+79Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtkedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeff hfeuffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Oct 2021 14:24:00 -0400 (EDT) Date: Tue, 12 Oct 2021 11:23:59 -0700 From: Andres Freund To: Andrew Dunstan Cc: pgsql-hackers@postgresql.org Subject: Re: [RFC] building postgres with meson Message-ID: <20211012182359.ieijw7mika6a4cxm@alap3.anarazel.de> References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20211012165926.phrxn7vwx6ysfioj@alap3.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 2021-10-12 14:11:39 -0400, Andrew Dunstan wrote: > On 10/12/21 12:59 PM, Andres Freund wrote: > > If you repro the hanging, what's the last bit in meson-logs/meson-log.txt? > Here's the entire thing > Sanity check compiler command line: ccache cc sanitycheckc.c -o > sanitycheckc.exe -D_FILE_OFFSET_BITS=64 > Sanity check compile stdout: > > ----- > Sanity check compile stderr: > > ----- > > meson.build:1:0: ERROR: Compiler ccache cc can not compile programs. Huh, it's not a question of gcc vs cc, it's that meson automatically uses ccache. And it looks like msys's ccache is broken at the moment (installed yesterday): $ ccache --version ccache version 4.4.1 ... $ echo > test.c $ ccache cc -c test.c Segmentation fault (core dumped) .. not sure how that leads to hanging, but it's not too surprising that things don't work out after that... Greetings, Andres Freund