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 1maMjX-0003Ef-5G for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:42:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maMjW-0001k4-1F for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 18:42:38 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMjV-0001jv-PI for pgsql-hackers@lists.postgresql.org; Tue, 12 Oct 2021 18:42:37 +0000 Received: from relay12.mail.gandi.net ([217.70.178.232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maMjQ-000883-CK for pgsql-hackers@postgresql.org; Tue, 12 Oct 2021 18:42:36 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 11DA8200005; Tue, 12 Oct 2021 18:42:28 +0000 (UTC) Subject: Re: [RFC] building postgres with meson To: Andres Freund Cc: pgsql-hackers@postgresql.org References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> <20211012165926.phrxn7vwx6ysfioj@alap3.anarazel.de> <20211012182359.ieijw7mika6a4cxm@alap3.anarazel.de> From: Andrew Dunstan Message-ID: Date: Tue, 12 Oct 2021 14:42:27 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <20211012182359.ieijw7mika6a4cxm@alap3.anarazel.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/12/21 2:23 PM, Andres Freund wrote: > 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... > Yes, I've had to disable ccache on fairywren. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com