From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#58254: 29.0.50; Untracked lib/assert.h with Clang 14 Date: Sun, 2 Oct 2022 13:20:48 -0700 Organization: UCLA Computer Science Department Message-ID: References: <87lepykxzr.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------jWQ4Wma90KiS8PQpiJEl824W" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cc: 58254-done@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 22:21:15 2022 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 1of5Sd-0007DX-5R for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 22:21:15 +0200 Original-Received: from localhost ([::1]:58340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1of5Sb-0005A1-Rm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 16:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50338) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1of5SR-00059Q-2u for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 16:21:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1of5SQ-0005Gt-RH for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1of5SQ-00050b-MN for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 16:21:02 -0400 Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 20:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58254 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 58254@debbugs.gnu.org, eggert@cs.ucla.edu, contovob@tcd.ie Original-Received: via spool by 58254-done@debbugs.gnu.org id=D58254.166474205919213 (code D ref 58254); Sun, 02 Oct 2022 20:21:02 +0000 Original-Received: (at 58254-done) by debbugs.gnu.org; 2 Oct 2022 20:20:59 +0000 Original-Received: from localhost ([127.0.0.1]:48138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of5SN-0004zp-3Q for submit@debbugs.gnu.org; Sun, 02 Oct 2022 16:20:59 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:40892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1of5SJ-0004zZ-RI for 58254-done@debbugs.gnu.org; Sun, 02 Oct 2022 16:20:57 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6ADA216008E; Sun, 2 Oct 2022 13:20:49 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id lQ55ad7sJcGx; Sun, 2 Oct 2022 13:20:48 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 9DB04160091; Sun, 2 Oct 2022 13:20:48 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.9.2 zimbra.cs.ucla.edu 9DB04160091 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=78364E5A-2AF3-11ED-87FA-8298ECA2D365; t=1664742048; bh=ZVfvU7RrPPC9peIyLIycqOgfViqXgm0wLO1FvtzIKFc=; h=Content-Type:Message-ID:Date:MIME-Version:To:From:Subject; b=aHQgnTHp+yLTiWOsDLCss2zNFTvZIRRIfM1On42m4hFSBAKH9ld7cEabu3Ep6L/IP ZUhROHxo2iDHl5mj3JXnDf8Keg0aJvvXXXE8hQpazGM/+z3NM0C6dMrTOzcZFEv/DC 0pkEmiOmLKkM6XamUt/C0QV1HgBrsu7057/btlco= X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zBq-vi_NgfML; Sun, 2 Oct 2022 13:20:48 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 6E7B016008E; Sun, 2 Oct 2022 13:20:48 -0700 (PDT) Content-Language: en-US In-Reply-To: <87lepykxzr.fsf@tcd.ie> 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" Xref: news.gmane.io gmane.emacs.bugs:244258 Archived-At: This is a multi-part message in MIME format. --------------jWQ4Wma90KiS8PQpiJEl824W Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 10/2/22 09:10, Basil L. Contovounesios wrote: > This file is not generated with the default CC=gcc; there is only a > lib/assert.in.h present. That's odd. As far as I can see, lib/assert.h is needed only if you need to compile lib/filevercmp.c, lib/nanosleep.c, lib/pipe2.c, lib/rawmemchr.c, or lib/strtoimax.c, and I don't see why choosing clang over gcc would affect whether these files need to be compiled. I didn't notice the problem partly because I tested on Fedora 36, where none of the above files need to be compiled. Anyway, it is indeed a glitch on some platforms and I installed the attached patch to fix the annoyance. Thanks for reporting it. --------------jWQ4Wma90KiS8PQpiJEl824W Content-Type: text/x-patch; charset=UTF-8; name="0001-.gitignore-Add-lib-assert.h-Bug-58254.patch" Content-Disposition: attachment; filename="0001-.gitignore-Add-lib-assert.h-Bug-58254.patch" Content-Transfer-Encoding: base64 RnJvbSBmZmNlNTliM2FkZTAyYzY5NmYwNmY3M2Y4MWUyZGYyZTVmNzJhZTA3IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBQYXVsIEVnZ2VydCA8ZWdnZXJ0QGNzLnVjbGEuZWR1 PgpEYXRlOiBTdW4sIDIgT2N0IDIwMjIgMTM6MDU6MDIgLTA3MDAKU3ViamVjdDogW1BBVENI XSAqIC5naXRpZ25vcmU6IEFkZCBsaWIvYXNzZXJ0LmggKEJ1ZyM1ODI1NCkuCgotLS0KIC5n aXRpZ25vcmUgfCAxICsKIDEgZmlsZSBjaGFuZ2VkLCAxIGluc2VydGlvbigrKQoKZGlmZiAt LWdpdCBhLy5naXRpZ25vcmUgYi8uZ2l0aWdub3JlCmluZGV4IGViNzdiMjM4OGYuLmMxMGIz YjMzZDMgMTAwNjQ0Ci0tLSBhLy5naXRpZ25vcmUKKysrIGIvLmdpdGlnbm9yZQpAQCAtNTMs NiArNTMsNyBAQCBzcmMvZW1hY3MtbW9kdWxlLmgKIAogIyBDLWxldmVsIHNvdXJjZXMgYnVp bHQgYnkgJ21ha2UnLgogbGliL2FsbG9jYS5oCitsaWIvYXNzZXJ0LmgKIGxpYi9ieXRlc3dh cC5oCiBsaWIvZGlyZW50LmgKIGxpYi9lcnJuby5oCi0tIAoyLjM0LjEKCg== --------------jWQ4Wma90KiS8PQpiJEl824W--