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 1qLQtN-0036Gm-Ax for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 16:16:09 +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 1qLQtL-00BmLO-TB for pgsql-bugs@arkaria.postgresql.org; Mon, 17 Jul 2023 16:16:07 +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 1qLQtL-00BmLF-LE for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 16:16:07 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qLQtH-0015n1-Kb for pgsql-bugs@lists.postgresql.org; Mon, 17 Jul 2023 16:16:07 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 36HGFxu04037096; Mon, 17 Jul 2023 12:15:59 -0400 From: Tom Lane To: hofstetter@jomasoft.ch cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18026: compile error / fe-auth.c:807:64: error: 'CHAR_BIT' undeclared (first use in this function) In-reply-to: <18026-d5bb69f79cd16203@postgresql.org> References: <18026-d5bb69f79cd16203@postgresql.org> Comments: In-reply-to PG Bug reporting form message dated "Mon, 17 Jul 2023 15:27:21 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4037094.1689610559.1@sss.pgh.pa.us> Date: Mon, 17 Jul 2023 12:15:59 -0400 Message-ID: <4037095.1689610559@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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