Re: Issues cross-compiling libpq 14.x to MacOS armv8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vincas Dargis <vindrg(at)gmail(dot)com>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org, Daniel Gustafsson <daniel(at)yesql(dot)se>, Magnus Hagander <magnus(at)hagander(dot)net>, Michael Paquier <michael(at)paquier(dot)xyz>
Subject: Re: Issues cross-compiling libpq 14.x to MacOS armv8
Date: 2021-11-30 19:59:47
Message-ID: 1628170.1638302387@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vincas Dargis <vindrg(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Shaozhong SHI 2021-11-30 20:17:32 Re: How to reveal the codes of functions properly?
Previous Message Vincas Dargis 2021-11-30 18:14:43 Issues cross-compiling libpq 14.x to MacOS armv8