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 1qLQyt-0036VU-AG for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 16:21:51 +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 1qLQyr-00Btjv-U5 for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 16:21:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLQyr-00Btjn-Lq for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 16:21:49 +0000 Received: from mxout012.mail.hostpoint.ch ([2a00:d70:0:e::312]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLQyo-0015qD-I7 for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 16:21:48 +0000 Received: from [10.0.2.46] (helo=asmtp013.mail.hostpoint.ch) by mxout012.mail.hostpoint.ch with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.95 (FreeBSD)) (envelope-from ) id 1qLQym-000KUc-AY; Mon, 17 Jul 2023 18:21:44 +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 1qLQym-000DUv-4h; Mon, 17 Jul 2023 18:21:44 +0200 X-Authenticated-Sender-Id: hofstetter@jomasoft.ch Message-ID: Date: Mon, 17 Jul 2023 18:21:43 +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) To: Tom Lane Cc: pgsql-bugs@lists.postgresql.org References: <18026-d5bb69f79cd16203@postgresql.org> <4037095.1689610559@sss.pgh.pa.us> Content-Language: en-US From: Marcel Hofstetter Organization: JomaSoft GmbH In-Reply-To: <4037095.1689610559@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: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. Best regards, Marcel