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.devel Subject: Re: --with-native-compilation build failure on 32-bit systems Date: Tue, 09 Aug 2022 14:16:47 +0300 Message-ID: <83h72lvf8g.fsf@gnu.org> References: <86k07nl9qe.fsf@phe.ftfl.ca> <87bksyc36k.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20995"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, jrm@ftfl.ca, emacs-devel@gnu.org, emacs@FreeBSD.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Aug 09 13:17:55 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oLNFB-0005EM-Cr for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 13:17:53 +0200 Original-Received: from localhost ([::1]:37418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLNFA-0004IW-78 for ged-emacs-devel@m.gmane-mx.org; Tue, 09 Aug 2022 07:17:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33914) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLNEJ-0003b7-Su for emacs-devel@gnu.org; Tue, 09 Aug 2022 07:16:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLNEJ-0002Hj-9M; Tue, 09 Aug 2022 07:16:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1YUHipdlO82U+NhxxAd2NFunk1CWiI+mpx60U/hOuRI=; b=RP1b/OBGVmht ko+w2NFxlQKf6ilhs34OS8+NIQWug25RUcMQ65EE2R93dxHcTD0pBz5yMri+vXJaZClU5wj6bEn13 o0iv4VN1w6ReXYXrqVgQ9FrEIW9cQk1YzlfQoBGTykXnFmcooTV/i8zGSEkpWl9xz8DiLakxW4baQ FvL2JaAXZWUQbOqODQgnGPCGO0lvWXy2X/AIKjAMrPsbF9VnQnfGPxmY6UOnlm44PycovE9b/YQZs XQyO2PzemzJrKDCb52Z3kAoerky2WNzdROZ38K/ZhX703rilqtCx+8dV7wis+yCT3yhwUDIaimCcG hN1BT/zwhCoH7CSthafhMw==; Original-Received: from [87.69.77.57] (port=1775 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLNEI-0001tc-Av; Tue, 09 Aug 2022 07:16:58 -0400 In-Reply-To: (message from Andrea Corallo on Tue, 09 Aug 2022 09:21:11 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293299 Archived-At: > From: Andrea Corallo > Cc: Joseph Mingrone , emacs-devel@gnu.org, emacs@FreeBSD.org > Date: Tue, 09 Aug 2022 09:21:11 +0000 > > > It looks to me like a GC bug so far. Unfortunatly I've very constrained > > time to dedicate on this this week. > > Thinking about this... Maybe relying on the GC for this is not a very > good idea in the first place. If we are conservative on the stack my > might always mark a CU accidentally and fall into the same issue. > > I think we should maintain a list of all loaded CUs so we can fix them > up reliably. If this is agreed not to be a bad idea I'll prepare a > patch. I suggest to postpone the decision until we have a good understanding of what happens in this particular case and why it happens only in 32-bit builds. Maybe we will decide what you suggest, but there are likely other factors at work here, and it would be good to know what they are. Thanks.