From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#46111: Reverting fns.c hash function due to OpenBSD/SPARC64 compile breaking Date: Tue, 26 Jan 2021 13:12:16 +0200 Message-ID: <9020EC26-6AC7-4316-B5FB-11A27AB61481@gnu.org> References: <87sg6oyzi6.wl-me@enzu.ru> 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="36790"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android To: 46111@debbugs.gnu.org, p.stephani2@gmail.com, me@enzu.ru Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 26 12:13:09 2021 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 1l4MHV-0009SC-6P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 12:13:09 +0100 Original-Received: from localhost ([::1]:36786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4MHU-0000P5-2r for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 06:13:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4MHN-0000Os-Vp for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 06:13:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57551) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4MHN-0006ir-Oo for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 06:13:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4MHN-0004wd-Ii for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 06:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jan 2021 11:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46111 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Philipp Stephani , Ahmed Khanzada X-Debbugs-Original-Cc: 46111@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161165954318946 (code B ref -1); Tue, 26 Jan 2021 11:13:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Jan 2021 11:12:23 +0000 Original-Received: from localhost ([127.0.0.1]:40861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4MGl-0004vW-DG for submit@debbugs.gnu.org; Tue, 26 Jan 2021 06:12:23 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4MGj-0004vP-R6 for submit@debbugs.gnu.org; Tue, 26 Jan 2021 06:12:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4MGj-0000Mf-Mk for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 06:12:21 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45804) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4MGj-0006TN-3Y; Tue, 26 Jan 2021 06:12:21 -0500 Original-Received: from [2001:4df7:1:dcaf::1] (port=46138) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1l4MGi-0007ct-7C; Tue, 26 Jan 2021 06:12:20 -0500 In-Reply-To: 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:198615 Archived-At: On January 26, 2021 11:36:25 AM GMT+02:00, Philipp Stephani wrote: > Am Di=2E, 26=2E Jan=2E 2021 um 10:07 Uhr schrieb Ahmed Khanzada > : > > > > I'm not an expert on C, OpenBSD, or SPARC64, but I did notice > > emacs-current was not compiling=2E > > > > During a gmake, bootstrap-emacs would get a SIGBUS and fail=2E Running > > gdb led me to the hash_string function where it seemed to be > failing=2E >=20 >=20 > The culprit might be commit be0f2de179235980b5409d5e77577207b93a4f12=2E > I don't think that something like > EMACS_UINT const *p =3D (EMACS_UINT const *) ptr; > is legal on any platform; it just happens to work on forgiving > platforms such as x86-64=2E It's definitely legal, as it doesn't violate any laws=2E=2E=2E