From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46495: 28.0.50; [native-comp] Build fails for 32bit --with-wide-int Date: Mon, 29 Mar 2021 20:46:27 +0000 Message-ID: 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> <83h7ktlwuy.fsf@gnu.org> <65e12b1d547420e10a19cdad6a33198926abb527.camel@redhat.com> Reply-To: Andrea Corallo 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="10541"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , andrewjmoreton@gmail.com, 46495@debbugs.gnu.org To: David Malcolm Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 29 22:47:18 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 1lQyn6-0002c0-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 22:47:16 +0200 Original-Received: from localhost ([::1]:32912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQyn5-0003XP-Tr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 29 Mar 2021 16:47:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQyms-0003Wl-Nf for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 16:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38182) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQyms-0001f6-GP for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 16:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQyms-0005ZT-Cu for bug-gnu-emacs@gnu.org; Mon, 29 Mar 2021 16:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Mar 2021 20:47: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.161705079221376 (code B ref 46495); Mon, 29 Mar 2021 20:47:02 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 29 Mar 2021 20:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:49728 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQymN-0005Yh-OV for submit@debbugs.gnu.org; Mon, 29 Mar 2021 16:46:32 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:54879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQymK-0005YY-P7 for 46495@debbugs.gnu.org; Mon, 29 Mar 2021 16:46:30 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 12TKkRqR023921 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 29 Mar 2021 20:46:27 GMT In-Reply-To: <65e12b1d547420e10a19cdad6a33198926abb527.camel@redhat.com> (David Malcolm's message of "Mon, 29 Mar 2021 14:11:28 -0400") 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:203270 Archived-At: David Malcolm writes: > On Mon, 2021-03-29 at 19:59 +0300, Eli Zaretskii wrote: >> > From: Andrea Corallo >> > Cc: andrewjmoreton@gmail.com, 46495@debbugs.gnu.org >> > Date: Mon, 29 Mar 2021 16:15:56 +0000 >> >=20 >> > > =C2=A0=20 >> > > https://sourceware.org/pipermail/gdb-patches/2021-March/177334.html >> > >=20 >> > > Is that possible? >> >=20 >> > Well if this is what you observe it certainly can be.=C2=A0 There might >> > very >> > well be something in how/what libgccjit generates that is causing >> > this >> > difference. >>=20 >> David, can you please chime in and help us understand what is going >> on >> here? > > In theory, libgccjit uses the same code-generation code and the same > debuginfo-generation code as a regular gcc invocation. > > Some ideas: > > (a) Is libgccjit being invoked multiple times in-process? > If so, I wonder if you're running into a latent bug in state-handling > in libgccjit that's affecting either code generation or debuginfo > generation. Maybe something isn't being reset that should have been? > > Is there a way to get emacs to only do one libgccjit context > compilation per process, and see if that affects things? Hi Dave, libgccjit here is invoked once. > (b) Alternatively, maybe a simple bug in libgccjit that affects the > first in-process invocation? Shouldn't this likely affect configurations other than Windows i386? > (c) Alternatively, maybe a bug in the emacs jit stuff that's corrupting > the stack somehow? I think as suggested compiling a simple function on Eli's system like the hello word may give a strong indication on if this is Emacs related or not. Regards Andrea