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#50230: Endian problem with native compilation Date: Wed, 01 Sep 2021 19:05:56 +0300 Message-ID: <83y28gp9gb.fsf@gnu.org> References: <87r1eeu6r0.fsf@igel.home> <87wno3i7f3.fsf@igel.home> <87r1ebhy7t.fsf@igel.home> <838s0gqtu4.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20190"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@linux-m68k.org, 50230@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 01 18:09:01 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 1mLSnM-0004yv-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 18:09:00 +0200 Original-Received: from localhost ([::1]:38252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLSnL-0000w6-QZ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 Sep 2021 12:08:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSlS-0005ga-8J for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 12:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLSlR-0001mJ-Sn for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 12:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLSlR-0007Pt-Lf for bug-gnu-emacs@gnu.org; Wed, 01 Sep 2021 12:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2021 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50230 X-GNU-PR-Package: emacs Original-Received: via spool by 50230-submit@debbugs.gnu.org id=B50230.163051236728427 (code B ref 50230); Wed, 01 Sep 2021 16:07:01 +0000 Original-Received: (at 50230) by debbugs.gnu.org; 1 Sep 2021 16:06:07 +0000 Original-Received: from localhost ([127.0.0.1]:38897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLSkY-0007OR-PW for submit@debbugs.gnu.org; Wed, 01 Sep 2021 12:06:06 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43468) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLSkX-0007Nw-En for 50230@debbugs.gnu.org; Wed, 01 Sep 2021 12:06:05 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55296) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLSkQ-0000uV-NB; Wed, 01 Sep 2021 12:05:58 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3966 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSkQ-0003p5-AO; Wed, 01 Sep 2021 12:05:58 -0400 In-Reply-To: (message from Andrea Corallo on Wed, 01 Sep 2021 15:13:54 +0000) 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:213205 Archived-At: > From: Andrea Corallo > Cc: schwab@linux-m68k.org, 50230@debbugs.gnu.org > Date: Wed, 01 Sep 2021 15:13:54 +0000 > > This is changing the cast functions we synthesize and use in all the > code we generate, so yes it is potentially destabilizing. > > That said the generated code looks correct to me (and considerably > cleaner). Also, given these functions are really the foundation of a > lot of other code we generate I guess would be unlikely to have these > wrong but still have the testsuite passing clean and Emacs booting up > correctly. Call me optimistic but I'd be pretty confident with this > change... OK, thanks. We'll see how it goes (after you find the problem with endianness and fix it).