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 1ms9IF-0006qs-By for pgsql-general@arkaria.postgresql.org; Tue, 30 Nov 2021 19:59:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ms9IE-0001fH-7r for pgsql-general@arkaria.postgresql.org; Tue, 30 Nov 2021 19:59:58 +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 1ms9ID-0001f2-Te for pgsql-general@lists.postgresql.org; Tue, 30 Nov 2021 19:59:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms9I7-0006PV-Is for pgsql-general@lists.postgresql.org; Tue, 30 Nov 2021 19:59:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 1AUJxlai1628171; Tue, 30 Nov 2021 14:59:47 -0500 From: Tom Lane To: Vincas Dargis cc: pgsql-general@lists.postgresql.org, Daniel Gustafsson , Magnus Hagander , Michael Paquier Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8 In-reply-to: <0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com> References: <0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com> Comments: In-reply-to Vincas Dargis message dated "Tue, 30 Nov 2021 20:14:43 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1628169.1638302387.1@sss.pgh.pa.us> Date: Tue, 30 Nov 2021 14:59:47 -0500 Message-ID: <1628170.1638302387@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Vincas Dargis writes: > checking which random number source to use... /dev/urandom > checking for /dev/urandom... > configure: error: cannot check for file existence when cross compiling Hmm ... this evidently stems from 16f96c74d. AFAICS this is the only test in our configure script that is a hard fail when cross-compiling, and I don't see a reason for it to be that. We could just assume that /dev/urandom will be available --- that's no worse than a lot of the other optimistic assumptions that configure makes in that mode. regards, tom lane