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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Issues cross-compiling libpq 14.x to MacOS armv8
Дата
Msg-id 1628170.1638302387@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Issues cross-compiling libpq 14.x to MacOS armv8  (Vincas Dargis <vindrg@gmail.com>)
Ответы Re: Issues cross-compiling libpq 14.x to MacOS armv8  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-general
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



В списке pgsql-general по дате отправления:

Предыдущее
От: Vincas Dargis
Дата:
Сообщение: Issues cross-compiling libpq 14.x to MacOS armv8
Следующее
От: Shaozhong SHI
Дата:
Сообщение: Re: How to reveal the codes of functions properly?