From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#46111: Reverting fns.c hash function due to OpenBSD/SPARC64 compile breaking Date: Tue, 26 Jan 2021 10:36:25 +0100 Message-ID: References: <87sg6oyzi6.wl-me@enzu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27722"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 46111@debbugs.gnu.org To: Ahmed Khanzada Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 26 10:37:13 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 1l4Kmf-00077D-8l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 10:37:13 +0100 Original-Received: from localhost ([::1]:40380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Kme-0003TD-BI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Jan 2021 04:37:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4KmW-0003Rk-2J for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 04:37:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4KmT-0007FB-Oq for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 04:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l4KmT-0002ZO-MF for bug-gnu-emacs@gnu.org; Tue, 26 Jan 2021 04:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Jan 2021 09:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46111 X-GNU-PR-Package: emacs Original-Received: via spool by 46111-submit@debbugs.gnu.org id=B46111.16116538039842 (code B ref 46111); Tue, 26 Jan 2021 09:37:01 +0000 Original-Received: (at 46111) by debbugs.gnu.org; 26 Jan 2021 09:36:43 +0000 Original-Received: from localhost ([127.0.0.1]:40757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4KmB-0002Yg-JG for submit@debbugs.gnu.org; Tue, 26 Jan 2021 04:36:43 -0500 Original-Received: from mail-ot1-f41.google.com ([209.85.210.41]:44582) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l4KmA-0002YS-3f for 46111@debbugs.gnu.org; Tue, 26 Jan 2021 04:36:42 -0500 Original-Received: by mail-ot1-f41.google.com with SMTP id e70so15588850ote.11 for <46111@debbugs.gnu.org>; Tue, 26 Jan 2021 01:36:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xRnHS4PSWCsy7ZIsjCRr+1NU3WvB1bnn8sgXhJ3KG4E=; b=ZJ+N89XFiarRFavoLHmfV5vLhjJNJG9z0vpy7rTftJAEnQdAYfws2N1+I7MOmxMRn4 Z1KDEPaBLbJmfzk4Ec21cMsZa0TJtoy+RYibX1PDUVDFEX2SE+VM2FdcMXHJ1RKOsuEF QYYWMYslEXPvEMStsKj2tFFA1kHg3x2gmoT9i775UlfHXGQB3Re01g+bvqKNmXlUNGlI SAtgZPcH5oDvhk6nXWkvO2oguhtdjuxBYGcSRnD20kyCU8QhYldfjeOTJQ3y5c1kP0Tg DJGG2OKN9Qxy7Dq59LEMH+xeZPFiQjdLeI/c/jRkRWA+K5S57Eaj3areBl1W+1lXQjHs uwSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xRnHS4PSWCsy7ZIsjCRr+1NU3WvB1bnn8sgXhJ3KG4E=; b=DpGnOPvSPF1Kr53zFng8jfcFdv7PBQhmEUSPneVYW0Uwz6qDyMbjkaoiRI8CPJ2x8f HUfFbY/Sr2NZ6V1zaek3m1D2fG8dfzpjaqffJePvg1mTLptH3uLvMLhrUYrEdaCkyeU+ pnfQYkOtjJF2mgvVPGkOtayuhEOoEGztw3q29IY0BqhHTKw41DB+urHJH+oVvH89u+Qs XeDXZgYKn8r/6AChiOT9mKkz0RXZyoQ/+23H5rG8RqlGTW5SFE5tuCtfaNKoqxBQSLZU +VfyFX/Svox/74zzdIIsXo9RvFflrbWOsJQxJZDcR7Oc93eKXwie/eix+/XkxQpnjse3 YjmQ== X-Gm-Message-State: AOAM532SMBiMM9At+hjbPLixN9B8EVEUh4DbwX5Enkp98KnVtl0zlfel U6hUsQmlbGiNdrVgvErnQPVlHp1LsIXh7LHHModTJ7bgDB/JIQ== X-Google-Smtp-Source: ABdhPJx+8QFW+jQfYnvORwHupiv9T0e0FQWulvlEaSEUlHUF/+AjrejEVRoVU+147iUDBpFpejMFXIEXUCbUzmsRzo0= X-Received: by 2002:a9d:4e8d:: with SMTP id v13mr3491305otk.12.1611653796110; Tue, 26 Jan 2021 01:36:36 -0800 (PST) In-Reply-To: <87sg6oyzi6.wl-me@enzu.ru> 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:198614 Archived-At: Am Di., 26. Jan. 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. > > During a gmake, bootstrap-emacs would get a SIGBUS and fail. Running > gdb led me to the hash_string function where it seemed to be failing. The culprit might be commit be0f2de179235980b5409d5e77577207b93a4f12. I don't think that something like EMACS_UINT const *p = (EMACS_UINT const *) ptr; is legal on any platform; it just happens to work on forgiving platforms such as x86-64.