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: Tue, 16 Feb 2021 09:34:49 +0000 Message-ID: References: <86y2fq93zj.fsf@gmail.com> <83lfbqbq3g.fsf@gnu.org> <868s7pwvq8.fsf@gmail.com> <28FB9567-61E6-4083-8711-6CF6C8A493F4@gnu.org> Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15421"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: eliz@gnu.org, andrewjmoreton@gmail.com To: 46495@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 16 10:35:28 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 1lBwlT-0003rD-8E for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 10:35:27 +0100 Original-Received: from localhost ([::1]:59334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBwlS-0003H9-9k for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Feb 2021 04:35:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwl4-0003Cm-J2 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:35:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56081) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBwl4-0007ls-Ab for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBwl4-0007VB-84 for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:35:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Feb 2021 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46495 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" X-Debbugs-Original-Cc: Eli Zaretskii , andrewjmoreton@gmail.com, 46495@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161346809928825 (code B ref -1); Tue, 16 Feb 2021 09:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 09:34:59 +0000 Original-Received: from localhost ([127.0.0.1]:39394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBwl0-0007Ur-HX for submit@debbugs.gnu.org; Tue, 16 Feb 2021 04:34:58 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:60450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBwky-0007Uj-RH for submit@debbugs.gnu.org; Tue, 16 Feb 2021 04:34:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwky-00033I-KO for bug-gnu-emacs@gnu.org; Tue, 16 Feb 2021 04:34:56 -0500 Original-Received: from mx.sdf.org ([205.166.94.24]:62919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBwkw-0007i5-Ds; Tue, 16 Feb 2021 04:34:56 -0500 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 11G9YnCr022708 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 16 Feb 2021 09:34:50 GMT In-Reply-To: (Andrea Corallo via's message of "Mon, 15 Feb 2021 12:56:35 +0000") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:200103 Archived-At: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" writes: > Eli Zaretskii writes: > >> On February 15, 2021 11:01:19 AM GMT+02:00, Andy Moreton wrote: >>> On Sun 14 Feb 2021, Eli Zaretskii wrote: >>> >>> >> From: Andy Moreton >>> >> Date: Sun, 14 Feb 2021 13:24:32 +0000 >>> >> >>> >> > I suspect that this problem may not be Windows-specific, and >>> should be >>> >> > reproducable on Linux, but I have not tried that. >>> >> >>> >> I have also tried the mingw.org 32bit toolchain (i686-pc-mingw32) >>> when >>> >> configured with with "--with-nativecomp --with-wide-int", and that >>> >> works. >>> > >>> > Thanks, that's good news. >>> > >>> >> Thus this bug seems to be a problem with the MSYS2 mingw32 32bit >>> >> toolchain (i686-w64-mingw32) only. >>> > >>> > It does seem that way, although I wonder what could that problem >>> be... >>> >>> I have only just discovered this news item: >>> >>> https://www.msys2.org/news/#2020-05-17-32-bit-msys2-no-longer-actively-supported >>> >>> Perhaps that means that only the mingw.org (i686-w64-mingw32) >>> toolchain >>> should be supported for 32bit builds on Windows. >>> >>> AndyM >> >> Right, but Andrea said there were problems on Posix systems as well with this configuration, so it could be that something else is at work here. > > Confirm, I see a problem compiling closures, this should be the > responsible for the bootstrap to be broken (at least on my case). > > Yesterday I've already reduced a small reproducer so I should be on the > good way to understand during the next debug session why this is > happening only on wide-int. > > It will be interesting why is working in some configuration and not in > others. > > Andrea Andy could you point out the two libgccjit versions you used specifying wich one was used in the successfull / failed experiment? Thanks Andrea