pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Cope with cross-compiling when checking for a random-number sour
2+ messages / 1 participants
[nested] [flat]

* pgsql: Cope with cross-compiling when checking for a random-number sour
@ 2021-11-30 22:18 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-11-30 22:18 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Cope with cross-compiling when checking for a random-number source.

Commit 16f96c74d neglected to consider the possibility of cross-compiling,
causing cross-compiles to fail at the configure stage unless you'd
selected --with-openssl.  Since we're now more or less assuming that
/dev/urandom is available everywhere, it seems reasonable to assume
that the cross-compile target has it too, rather than failing.

Per complaint from Vincas Dargis.  Back-patch to v14 where this came in.

Discussion: https://postgr.es/m/0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b637101644aa84dccc7da4f30bad40452939b57a

Modified Files
--------------
configure    | 5 ++++-
configure.ac | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Cope with cross-compiling when checking for a random-number sour
@ 2021-11-30 22:18 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2021-11-30 22:18 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Cope with cross-compiling when checking for a random-number source.

Commit 16f96c74d neglected to consider the possibility of cross-compiling,
causing cross-compiles to fail at the configure stage unless you'd
selected --with-openssl.  Since we're now more or less assuming that
/dev/urandom is available everywhere, it seems reasonable to assume
that the cross-compile target has it too, rather than failing.

Per complaint from Vincas Dargis.  Back-patch to v14 where this came in.

Discussion: https://postgr.es/m/0dc14a31-acaf-8cae-0df4-a87339b22bd9@gmail.com

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/175edafd1f30a78643359b56c5545b5e7aabfb50

Modified Files
--------------
configure    | 5 ++++-
configure.ac | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-11-30 22:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-11-30 22:18 pgsql: Cope with cross-compiling when checking for a random-number sour Tom Lane <tgl@sss.pgh.pa.us>
2021-11-30 22:18 pgsql: Cope with cross-compiling when checking for a random-number sour Tom Lane <tgl@sss.pgh.pa.us>

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