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: Wed, 31 Mar 2021 14:41:10 +0300 Message-ID: <83ft0bim95.fsf@gnu.org> 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> <8335wdknbw.fsf@gnu.org> <83im58k8rb.fsf@gnu.org> <83o8eziw5j.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12408"; mail-complaints-to="usenet@ciao.gmane.io" Cc: andrewjmoreton@gmail.com, dmalcolm@redhat.com, 46495@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 31 13:42: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 1lRZEy-00037T-B7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 13:42:28 +0200 Original-Received: from localhost ([::1]:48204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRZEx-0008S4-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 31 Mar 2021 07:42:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51266) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRZEY-0008Qm-RE for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRZEY-0008CH-JC for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRZEY-0000BA-GD for bug-gnu-emacs@gnu.org; Wed, 31 Mar 2021 07:42: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: Wed, 31 Mar 2021 11:42: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.1617190873632 (code B ref 46495); Wed, 31 Mar 2021 11:42:02 +0000 Original-Received: (at 46495) by debbugs.gnu.org; 31 Mar 2021 11:41:13 +0000 Original-Received: from localhost ([127.0.0.1]:53666 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRZDk-0000A8-OF for submit@debbugs.gnu.org; Wed, 31 Mar 2021 07:41:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRZDi-00009v-QT for 46495@debbugs.gnu.org; Wed, 31 Mar 2021 07:41:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58179) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRZDb-0007by-2B; Wed, 31 Mar 2021 07:41:03 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4121 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRZDU-0001ca-Ho; Wed, 31 Mar 2021 07:41:02 -0400 In-Reply-To: (message from Andrea Corallo on Wed, 31 Mar 2021 08:47:37 +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:203348 Archived-At: > From: Andrea Corallo > Cc: dmalcolm@redhat.com, andrewjmoreton@gmail.com, 46495@debbugs.gnu.org > Date: Wed, 31 Mar 2021 08:47:37 +0000 > > > AFAIU, this means the libgccjit log file is only output with > > comp-debug 3 and higher? > > Correct, the docstring wasn't correct :/ aa159bf696 should update it to > reflect the current situation. Thanks. > > Also, does comp-debug = 3 indeed cause the > > reproducer to be written, or is that controlled independently by > > comp-libgccjit-reproducer? > > The reproducer is controlled independently by > `comp-libgccjit-reproducer', the idea behind this is that we want to be > able to produce reproducers independently from the debug settings (we > might have a ligccjit bug that is related to one debug option). Right, so comp-debug = 3 alone doesn't trigger the reproducer, right? > My proposal would be like: > > 0 none > 1 debug symbols > 2 debug symbols + pseudo C file > 3 debug symbols + pseudo C file + GCC passes + libgccjit log file > > I think the backtrace issue you are facing is clearly a gdb unwinder > limitation on Windows that should be fixed in gdb. It's more like a missing feature in GDB on platforms that don't use ELF binary format. I don't hold my breath to have the situation improved, since this is so far a rare situation when debugging programs: no one expects debugging code without debug symbols to be easy. > OTOH I understand we can't update gdb for all users that might want > to help debugging an issue, but I don't like very much the idea to > have comp-debug 1 as default on every system. What about having 1 > as default only on Windows? WDYT? In general, I'd prefer these settings to be the same on all platforms, although it isn't a strong feeling in this case. But I'm curious why you are so against doing that by default on other systems. Can you explain? Anyway, I've compiled the relevant files with comp-debug = 1, and the problems with backtraces are now completely gone. So I think we can more or less close this issue (modulo changing the meanings of comp-debug and the decision regarding the default value).