Re: Broken build on macOS (Universal / Intel): cpuid instruction not available

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Дата
Msg-id 873909.1778170924@sss.pgh.pa.us
обсуждение
Ответ на Re: Broken build on macOS (Universal / Intel): cpuid instruction not available  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Broken build on macOS (Universal / Intel): cpuid instruction not available
Список pgsql-hackers
I wrote:
> ... The code in HEAD doesn't have
> that guard, and is essentially assuming that every x86 platform
> wil provide HAVE__GET_CPUID or HAVE__CPUID.

Independently of whether macOS multi-arch is something we consider
supportable, I think the aforesaid assumption is a bad idea.
Can't we make pg_cpuid() return zeroes if it doesn't know how to
get the info, analogously to what pg_cpuid_subleaf() does?

            regards, tom lane



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