Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLTFP-003C0h-VF for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 18:47:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qLTFO-00Da65-Fy for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 18:47:02 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLTFO-00Da4f-7Z for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 18:47:02 +0000 Received: from mxout017.mail.hostpoint.ch ([2a00:d70:0:e::317]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLTFI-000ws5-R6 for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 18:46:59 +0000 Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout017.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qLTFD-000H8w-M3; Mon, 17 Jul 2023 20:46:51 +0200 Received: from [2a02:1210:94db:500:1c02:b18d:a19e:52d1] by asmtp013.mail.hostpoint.ch with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qLTFD-000IK2-Gi; Mon, 17 Jul 2023 20:46:51 +0200 X-Authenticated-Sender-Id: hofstetter@jomasoft.ch Message-ID: <3bd7eb9f-15f6-e4d6-290b-cea9b890c826@jomasoft.ch> Date: Mon, 17 Jul 2023 20:46:50 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function) From: Marcel Hofstetter To: Tom Lane Cc: pgsql-bugs@lists.postgresql.org References: <18026-d5bb69f79cd16203@postgresql.org> <4037095.1689610559@sss.pgh.pa.us> Content-Language: en-US Organization: JomaSoft GmbH In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Vs-State: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Am 17.07.2023 um 18:21 schrieb Marcel Hofstetter: > Am 17.07.2023 um 18:15 schrieb Tom Lane: >> PG Bug reporting form 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