From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#46111: Reverting fns.c hash function due to OpenBSD/SPARC64 compile breaking Date: Thu, 28 Jan 2021 10:44:09 -0500 Message-ID: References: <87sg6oyzi6.wl-me@enzu.ru> <6915951F-2A53-4B08-A48A-6683B99AA14A@gnu.org> <871re5vh7a.fsf@ultra.enzu.ru> <8335ylytpf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12004"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46111@debbugs.gnu.org, me@enzu.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 16:47:03 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 1l59Vd-0002xT-9D for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 16:47:01 +0100 Original-Received: from localhost ([::1]:51056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l59Vc-0006uE-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 10:47:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40676) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l59Ti-00051o-GO for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 10:45:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37955) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l59Ti-0005Dx-91 for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 10:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l59Ti-0002T6-7N for bug-gnu-emacs@gnu.org; Thu, 28 Jan 2021 10:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Jan 2021 15:45:02 +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.16118486599419 (code B ref 46111); Thu, 28 Jan 2021 15:45:02 +0000 Original-Received: (at 46111) by debbugs.gnu.org; 28 Jan 2021 15:44:19 +0000 Original-Received: from localhost ([127.0.0.1]:49501 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l59T1-0002Rr-CH for submit@debbugs.gnu.org; Thu, 28 Jan 2021 10:44:19 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:22108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l59T0-0002Re-1Y for 46111@debbugs.gnu.org; Thu, 28 Jan 2021 10:44:18 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 8493A8084A; Thu, 28 Jan 2021 10:44:12 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id CBB6D80712; Thu, 28 Jan 2021 10:44:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1611848650; bh=1L9glPaQnqOI4meWw4nl45rZzGWJ21DxplyiuWdhR9A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=nQQ1sT/qAG1vIcAyYUeEieXWgHJNh23SUOol1hOHBFKBOZkf+wisCNqUjKUWq/gbc h9BDGqKbLOoGb3s1Kow3t7BFO8T5ZKNCKL7lniL+lTCfWpeBlVMCFzxiEbQj1Fd/jN qdHU6WREEabsjgxEGm+RTLCbWY2h2eLrf/K+7rNeWE7Ye15BeSDCMRRs7Prp1liRiI F9Izhzxts7M2Oim6V1cSOBSmTRPkJvAFWI1wMyUtPQMsu6CvdrzkPZNQDarzt75PFG s+ZZVjPmfjVO/e5zOADPXRzPw2M6JMwbab/wa8QA6UorP67CKKpIA7QlF7BrKS7zFF WpvJsuMPVVQJA== Original-Received: from alfajor (69-196-141-46.dsl.teksavvy.com [69.196.141.46]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 95922120213; Thu, 28 Jan 2021 10:44:10 -0500 (EST) In-Reply-To: <8335ylytpf.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Jan 2021 17:19:56 +0200") 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:198799 Archived-At: >> - I'd guess that the bus error is due to alignment restrictions. >> What hardware is this running on? > See the Subject: it's SPARC64. I mean the actual hardware, not the architecture. [ I know most RISC processors started with a restriction that they only allowed aligned memory accesses, but AFAIK they've changed stance since (IIUC the extra hardware can be very little, sometimes even less than the hardware that would be needed to implement the ad-hoc "support instructions" used to do the unaligned access as a sequence of instructions). It's one of the RISC simplifications that just didn't pan out. ] >> - AFAICT from the backtrace, `ptr` points to a plain normal ELisp >> string's content, yet these are supposed to be aligned, so what's >> going on here > I wondered that myself. And what did you conclude? ;-) Stef