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: Wed, 31 Mar 2021 13:13:39 +0000 Message-ID: References: <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> <837dlpkrma.fsf@gnu.org> <834kgtko2p.fsf@gnu.org> <83mtujivuj.fsf@gnu.org> <6e8b54e5d93d4e311b9db56adb538ae6aa848c60.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="32924"; 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 Wed Mar 31 15:15:33 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 1lRah3-0008Sg-R4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 15:15:33 +0200 Original-Received: from localhost ([::1]:33368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRah1-0004ts-2d for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 09:15:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRafa-00043e-IB for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 09:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42271) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRafa-00030S-9o for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 09:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRafa-0002QS-42 for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 09:14: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: Wed, 31 Mar 2021 13:14: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.16171964239292 (code B ref 46495); Wed, 31 Mar 2021 13:14:02 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 31 Mar 2021 13:13:43 +0000 Original-Received: from localhost ([127.0.0.1]:53817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRafG-0002Po-TC for submit@debbugs.gnu.org; Wed, 31 Mar 2021 09:13:43 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:51934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRafF-0002Pe-9v for 46495@debbugs.gnu.org; Wed, 31 Mar 2021 09:13:42 -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 12VDDdQT023175 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 31 Mar 2021 13:13:39 GMT In-Reply-To: <6e8b54e5d93d4e311b9db56adb538ae6aa848c60.camel@redhat.com> (David Malcolm's message of "Wed, 31 Mar 2021 09:03:33 -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:203358 Archived-At: David Malcolm writes: > On Wed, 2021-03-31 at 11:13 +0300, Eli Zaretskii wrote: >> > Date: Tue, 30 Mar 2021 12:06:38 +0300 >> > From: Eli Zaretskii >> > Cc: akrl@sdf.org, andrewjmoreton@gmail.com, 46495@debbugs.gnu.org >> >=20 >> > =C2=A03) I see in my temporary directory subdirectories, created when I >> > run >> > =C2=A0=C2=A0=C2=A0 the example program, with files fake.s and fake.so.= =C2=A0 Are they >> > =C2=A0=C2=A0=C2=A0 supposed to be left there, or are they supposed to = be deleted >> > =C2=A0=C2=A0=C2=A0 when the program exits? >>=20 >> These temporary files behave strangely, to say the least.=C2=A0 Just >> running the tut01-hello-world example program produces a new >> temporary >> directory each time, and deposits a fake.so file there.=C2=A0 If I run a >> variant of that which I built after adding >>=20 >> =C2=A0 gcc_jit_context_set_bool_option ( >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ctxt, >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GCC_JIT_BOOL_OPTI= ON_DEBUGINFO, >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 1); >>=20 >> then the temporary directory isn't created, or maybe it's deleted >> when >> the program exits.=C2=A0 I think the latter is the case, because the >> directory is visible if I step through the program with a debugger, >> but disappears when the program exits. >>=20 >> David, what's the story with these temporary directories? > > They're meant to be cleaned up automatically by libgccjit: on > gcc_jit_result_release for a successful compilation, or at the end of > gcc_jit_context_compile* for a failed compilation. I suspect we are just missing the call to 'gcc_jit_result_release'. I'm having a look. Thanks Andrea