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#46495: 28.0.50; [native-comp] Build fails for 32bit --with-wide-int Date: Mon, 29 Mar 2021 19:59:17 +0300 Message-ID: <83h7ktlwuy.fsf@gnu.org> References: <86y2fq93zj.fsf@gmail.com> <83lfbqbq3g.fsf@gnu.org> <868s7pwvq8.fsf@gmail.com> <28FB9567-61E6-4083-8711-6CF6C8A493F4@gnu.org> <86o8gjheaw.fsf@gmail.com> <865z2p0zrq.fsf@gmail.com> <86pn0w59nj.fsf@gmail.com> <83y2eap33a.fsf@gnu.org> <83lfa6kl8s.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22951"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, 46495@debbugs.gnu.org To: Andrea Corallo , David Malcolm Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 19:00:12 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 1lQvFL-0005r7-Cp for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 19:00:11 +0200 Original-Received: from localhost ([::1]:44764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQvFK-0001KQ-Dn for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 13:00:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQvFD-0001KF-1l for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 13:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQvFC-0000ro-Pd for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 13:00:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQvFC-0004JD-NK for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2021 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46495 X-GNU-PR-Package: emacs Original-Received: via spool by 46495-submit@debbugs.gnu.org id=B46495.161703715816480 (code B ref 46495); Mon, 29 Mar 2021 17:00:02 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 29 Mar 2021 16:59:18 +0000 Original-Received: from localhost ([127.0.0.1]:49470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQvEU-0004Hk-EJ for submit@debbugs.gnu.org; Mon, 29 Mar 2021 12:59:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQvEQ-0004HV-RX for 46495@debbugs.gnu.org; Mon, 29 Mar 2021 12:59:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:48094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQvEK-0000RJ-Az; Mon, 29 Mar 2021 12:59:08 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4933 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lQvEI-0003Rs-DD; Mon, 29 Mar 2021 12:59:07 -0400 In-Reply-To: (message from Andrea Corallo on Mon, 29 Mar 2021 16:15:56 +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:203261 Archived-At: > From: Andrea Corallo > Cc: andrewjmoreton@gmail.com, 46495@debbugs.gnu.org > Date: Mon, 29 Mar 2021 16:15:56 +0000 > > > https://sourceware.org/pipermail/gdb-patches/2021-March/177334.html > > > > Is that possible? > > Well if this is what you observe it certainly can be. There might very > well be something in how/what libgccjit generates that is causing this > difference. David, can you please chime in and help us understand what is going on here? > > are we doing something that could affect the > > prologue of the natively-compiled Lisp code? > > I suspect this is a libgccjit thing, without knowing where the > difference is coming from it's hard to predict if there's a workaround > we can put in place in the Emacs codebase, but I suspect there's not. > > If the generated code is correct I think gdb should recognize it > improving its unwinder, otherwise if this is a libgccjit bug we should > open a PR on bugzilla. GDB's native platform is ELF-based, so its unwinders' support for COFF-PE format used by MS-Windows is known to be less thorough. > Perhaps if the case is the later one can try a simpler testcase to > report it using the test we have in the configure or libgccjit hello > world [1]. This might help also analysing how this different frame is > formed. I think if David doesn't show us the light, my best bet is to recompile the Lisp code with debug info and see if that resolves the problem and/or allows us to understand why the code with no debug info produces these effects. Thanks.