pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Vincas Dargis <vindrg@gmail.com>
Cc: pgsql-general@lists.postgresql.org, Daniel Gustafsson <daniel@yesql.se>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Michael Paquier <michael@paquier.xyz>
Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8
Date: Tue, 30 Nov 2021 14:59:47 -0500
Message-ID: <1628170.1638302387@sss.pgh.pa.us> (raw)
In-Reply-To: <0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com>
References: <0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com>

Vincas Dargis <vindrg@gmail.com> 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





view thread (12+ messages)  latest in thread

Message-ID: <1628170.1638302387@sss.pgh.pa.us>
Permalink:  ../1628170.1638302387@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1628170.1638302387@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, vindrg@gmail.com, daniel@yesql.se, magnus@hagander.net, michael@paquier.xyz
  Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8
  In-Reply-To: <1628170.1638302387@sss.pgh.pa.us>
  References: <0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com> <1628170.1638302387@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox