From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72036: 31.0.50; master doesn't build on macOS with clang 18 Date: Wed, 10 Jul 2024 16:29:30 +0000 Message-ID: References: <2fddzPXUVzb4REn07AbCQ54x1ieZE5W9GLmGbm6qwpVguuEoArdvq1oVGQzXhSp3MQBh_pRadQSowkxpOzIJb2yL79O9o35tXRbRSwISgMI=@protonmail.com> Reply-To: Pip Cet Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18764"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "eggert@cs.ucla.edu" , "meyering@meta.com" , "72036-done@debbugs.gnu.org" <72036-done@debbugs.gnu.org> To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 10 18:30:23 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sRaD0-0004dz-B3 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jul 2024 18:30:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRaCc-0000KP-S4; Wed, 10 Jul 2024 12:29:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRaCb-0000CO-77 for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 12:29:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRaCa-0003QJ-Ta for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 12:29:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRaCg-0007hG-RC for bug-gnu-emacs@gnu.org; Wed, 10 Jul 2024 12:30:02 -0400 Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jul 2024 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 72036 X-GNU-PR-Package: emacs Mail-Followup-To: 72036@debbugs.gnu.org, pipcet@protonmail.com, gerd.moellmann@gmail.com Original-Received: via spool by 72036-done@debbugs.gnu.org id=D72036.172062899029536 (code D ref 72036); Wed, 10 Jul 2024 16:30:02 +0000 Original-Received: (at 72036-done) by debbugs.gnu.org; 10 Jul 2024 16:29:50 +0000 Original-Received: from localhost ([127.0.0.1]:57007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRaCU-0007gK-JD for submit@debbugs.gnu.org; Wed, 10 Jul 2024 12:29:50 -0400 Original-Received: from mail-4316.protonmail.ch ([185.70.43.16]:37121) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRaCR-0007g4-6C for 72036-done@debbugs.gnu.org; Wed, 10 Jul 2024 12:29:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1720628974; x=1720888174; bh=g8BE4cnnmq15P+0MWRtOweDVDj7xsbVlJu7BV/kRcPw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=MgHPy9jLB3osyvQT6YLmGxkQI63vwjVLGzglupTnjqm8tgJrTJCSe6dnGdC8ZF3qR 81kMB3iRx4GZd4LFbcPr4Y2gfRCrj8QwcxsFw2ZLXOYcHU3tcFLd/q7ThDwi1tfdQY m+Dhu+bznhTZNw2TUG1XzVzC7aB5nxAMVVOswIGvmVl3mT9QBLwwUpQTvXJYOZ0X+i 8oTdcz9aYoO/KC93rX3ZvClOlLz1QUP3P90OZE95fX4DrNcs/nVkNS3eDAmyCFWyNI PQIJ2fO7154Xgmj/VLfDaYVqryGZX3NqYI+FbB4+slT0eVxOq/u2CaD40btg+oLCUR TIEdYSkHSparg== In-Reply-To: Feedback-ID: 112775352:user:proton X-Pm-Message-ID: e924f09d1bdac6a1ea2ebdaad6b0e830027b06ef X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288687 Archived-At: On Wednesday, July 10th, 2024 at 16:16, Gerd M=C3=B6llmann wrote: > Pip Cet pipcet@protonmail.com writes: >=20 > > (CC'ing Paul Eggert and Jim Meyering, the relevant gnulib maintainers). > >=20 > > On Wednesday, July 10th, 2024 at 14:09, Gerd M=C3=B6llmann gerd.moellma= nn@gmail.com wrote: > >=20 > > > master, HEAD a29a385ee5ea938ed17d94622c7bfd0a10e84830 > > >=20 > > > timespec-sub.c:38:12: error: operand argument to checked integer oper= ation must be an integer type > > > other than plain 'char', 'bool', bit-precise, or an enumeration ('boo= l' invalid) > > > 38 | if (v =3D=3D ckd_sub (&rs, rs, borrow)) > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~ > > > /opt/homebrew/Cellar/llvm/18.1.8/lib/clang/18/include/stdckdint.h:38:= 54: note: expanded from macro > > > 'ckd_sub' > > > 38 | #define ckd_sub(R, A, B) __builtin_sub_overflow((A), (B), (R)) > > > | ^~~ > >=20 > > The attached patch to gnulib helps here. I'm using clang version > > 18.1.8 and the testdir-all build fails if I ./configure CC=3Dclang. >=20 >=20 > Thanks! Closing this optimistically as Paul pushed a fix. Pip