Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)

Поиск
Список
Период
Сортировка
От Marcel Hofstetter
Тема Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Дата
Msg-id 3bd7eb9f-15f6-e4d6-290b-cea9b890c826@jomasoft.ch
обсуждение исходный текст
Ответ на Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)  (Marcel Hofstetter <hofstetter@jomasoft.ch>)
Ответы Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Am 17.07.2023 um 18:21 schrieb Marcel Hofstetter:
> Am 17.07.2023 um 18:15 schrieb Tom Lane:
>> PG Bug reporting form <noreply@postgresql.org> writes:
>>> fe-auth.c: In function 'check_expected_areq':
>>> fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this
>>> function)
>>
>> Hmm.  This problem seems straightforward enough to fix, but what I
>> don't understand is why we've not seen it already.  We do have a
>> buildfarm animal running on Solaris 11.4 [1], and it's not unhappy.
>> Are you using any unusual build options or toolchain?
>>
>>             regards, tom lane
>>
>> [1] 
>> https://buildfarm.postgresql.org/cgi-bin/show_history.pl?nm=margay&br=HEAD
> 
> I'm the owner of margay. No idea why it works there.
> buildfarm tests and building this beta2 is on the same system.
> 
> Using just defaults and --without-icu on buildfarm and beta2 compile.

I found it fails after

./configure --prefix /usr/local/16-pgsql --without-icu

but compiles with

./configure --prefix /usr/local/16-pgsql --without-icu  --with-openssl

Best regards,
Marcel





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

Предыдущее
От: Marcel Hofstetter
Дата:
Сообщение: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function)