From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#46502: 28.0.50; [feature/native-comp] (d3a399dd) native-comp bootstrap failure Date: Thu, 18 Feb 2021 10:14:24 +0000 Message-ID: References: <87o8gn8ciy.fsf@md5i.com> 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="13228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Welsh Duggan , 46502@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 18 11:16:14 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 1lCgM2-0003Ks-88 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Feb 2021 11:16:14 +0100 Original-Received: from localhost ([::1]:46176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCgM1-0004Po-7V for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 18 Feb 2021 05:16:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCgLq-0004Nj-I0 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 05:16:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34567) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lCgLq-00037Q-AB for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 05:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lCgLq-0003cV-47 for bug-gnu-emacs@gnu.org; Thu, 18 Feb 2021 05:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Feb 2021 10:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46502 X-GNU-PR-Package: emacs Original-Received: via spool by 46502-submit@debbugs.gnu.org id=B46502.161364330813840 (code B ref 46502); Thu, 18 Feb 2021 10:16:02 +0000 Original-Received: (at 46502) by debbugs.gnu.org; 18 Feb 2021 10:15:08 +0000 Original-Received: from localhost ([127.0.0.1]:46113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCgKy-0003b8-Ei for submit@debbugs.gnu.org; Thu, 18 Feb 2021 05:15:08 -0500 Original-Received: from mail-ot1-f54.google.com ([209.85.210.54]:33265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lCgKw-0003aL-3e for 46502@debbugs.gnu.org; Thu, 18 Feb 2021 05:15:06 -0500 Original-Received: by mail-ot1-f54.google.com with SMTP id c16so1412938otp.0 for <46502@debbugs.gnu.org>; Thu, 18 Feb 2021 02:15:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GUG555N1OQaR7WFEoJYDOngznX0KGlKMWq8sYe4jBDo=; b=QkZ7xjhMB+GW2ruBUC6wvbkgaKd+vtDGjsp5BYjROtjXdfN9UEzG36Xl3XzTtkf3f5 HJHYtVcOQvmOgDdb6WVP4tJqn4L8sgUy67iCDgYixXXIr7Rs+c3XixRaGZwcg/aE1IpU BSRVRmLuFvDawVmnjYmyNf+cayQ8GiGPAWNRab4rh5RI0ZNFUKyxm3bj5yIIsGXkx0pW lSFZ1Rb3XApPtUQ3yH90mMmL51omgcwTWW1yN4QMOVlJfMa1ZmP1ODpaxamNNNJ51rlq A0x8pGs+kgbxUwnOCyIJFtY1hp8R6Xv1F3iBGaAvAltKwvv7bNPuMa2oTaE85GFWz3nV inZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GUG555N1OQaR7WFEoJYDOngznX0KGlKMWq8sYe4jBDo=; b=reORFg/RMw+uVDxLepcMfNLsrPUB/xYzhmWGUjLa695CvHDK8eswrt7uPGJjqnKAQm PR8yaa8fLd3RjEcOT/cLYPzrF52BQ86cw/WjrvRr9BPWvueX3jXlWcCql4a93DDDgwZD ZmW4giIE79ZQjCOxlAU1daoQitQpcUU8/3tLYlNVAjTYrB4nVLd+YpnGMjuxuH/rLsEB gzDocBnr5AG+7UHs4c6BGt8L62CLSH9HMG77y+DXsyx38f+Iku420/kELzYffMK0Ln4q 7dTUk6y8qCx7foK2bvZWjYoV/4/WAF0NQt2Zo2RaWo58PRAi0b1Zzu/vtG6hIS6VT4vs onvA== X-Gm-Message-State: AOAM5330vPtAjIiG92sDAZcBg0M2BONWvWFdoYHU9flLryFUnMW6ILlw lf0cWaNHKInyEHohDxgZbaRDLLedDvNnCtcQIHU= X-Google-Smtp-Source: ABdhPJwzgQkPyhiBEzfJb2ApRny2PeWBhmIKNWHY2l6Ro9UMQtJYLtGa9PvCLCPegle/kOzqkU2DJy7ppZrUzi1SGLg= X-Received: by 2002:a05:6830:1605:: with SMTP id g5mr2414550otr.292.1613643300510; Thu, 18 Feb 2021 02:15:00 -0800 (PST) In-Reply-To: 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:200239 Archived-At: On Thu, Feb 18, 2021 at 10:04 AM Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > Michael Welsh Duggan writes: > > I decided to attempt building the native-comp feature branch, since it > > seems like it may make it to mainline fairly soon. When bootstrapping > > with > > > > make NATIVE_FULL_AOT=3D1 -j 32 bootstrap > > > > I get an error compiling gnus/gnus-icalendar.el. I've put the log > > below. I've updated the emacs information from my running emacs below > > to match the version of the repository from which I built. > > > > > > In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo ve= rsion 1.16.0) > > of 2021-02-13 built on miko > > Repository revision: d3a399dd299bf7e811cf42950d5f8ac67f063b36 > > Repository branch: native-comp > > Windowing system distributor 'The X.Org Foundation', version 11.0.12010= 000 > > System Description: Debian GNU/Linux bullseye/sid > > > > Configured using: > > 'configure --without-toolkit-scroll-bars --with-x-toolkit=3Dlucid --wi= th-nativecomp' > > > > > > Debugger entered--Lisp error: (error "Lisp nesting exceeds =E2=80=98max= -lisp-eval-depth=E2=80=99") > > Hi Michael, > > just tried compiling the current branch (f92bb788a0) following your > configuration with no issues. Could you retry on the current head maybe > starting from a "git clean -xfd" to be on the safe side? One thing I've noticed in my experiments is that many builds that are interrupted at the wrong point and then resumed produce different results. I.e. you type "make", then hit Ctrl-C at the wrong time, then type "make" again and you get a different result. We should fix that, and it might lead to the behavior Michael has observed (macroexp being executed from source code when compiling gnus)... BTW, I'm also seeing very deep recursion when building the nativecomp branch, even outside of the garbage collector (which is easy to "fix" so it allocates more than one object at the same time on the C stack). Maybe we can avoid that by doing an -O0 compile first, then compiling the optimized compiler with the unoptimized one?