From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lynn Winebarger Newsgroups: gmane.emacs.devel Subject: Re: disable automatic native-compilation? Date: Sun, 10 Jul 2022 14:32:54 -0400 Message-ID: References: <86h73qi62w.fsf@stephe-leake.org> <83zghi19ps.fsf@gnu.org> <838rp10yfz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33006"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ken Brown , Stephen Leake , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 10 20:33:57 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 1oAbkj-0008Ig-2I for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 20:33:57 +0200 Original-Received: from localhost ([::1]:33098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAbkh-0007Vz-El for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 14:33:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAbjz-000668-9b for emacs-devel@gnu.org; Sun, 10 Jul 2022 14:33:11 -0400 Original-Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:46980) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAbjx-0000zL-Ks; Sun, 10 Jul 2022 14:33:10 -0400 Original-Received: by mail-ot1-x335.google.com with SMTP id by10-20020a056830608a00b0061c1ac80e1dso2689524otb.13; Sun, 10 Jul 2022 11:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uVvQpxagQznlkBGyhB82rm3x4XkztR8AC6coeM3S+Cs=; b=Ocw+0mOjTfQVE3rRt/PSdDAHQYiivXhkAZcSaIrUjR9A3LkzhdIneG9nVPoMZBX2e0 sWgR8+9rYtcBx5165U9RRXUJSdvp/n2JjzTfocuh9LfBP4nswkUgDE0Lgyr7355IWV9k ebmS58B3vjDGkhaSDdsvzraSCCmW+VkT9fxD0ik2bQV8divFU++EW/ukRXmu8isxWLOH 8dyrJp6PgSmpjl9CVty32TjR/u6BJD0G2NXzly6atzK3oYCehNe/v5F3iDmpDttKXfVR veWa47lvOwmW5Q8OeHG6Jh1R9poep1zhz+hjAa9r96TkhLCGk4wFYH969/v0xdjUQ1mQ VT6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uVvQpxagQznlkBGyhB82rm3x4XkztR8AC6coeM3S+Cs=; b=SdV6TwJgfWpPD0IxGSVCE3Rawx275O0oQrhkezqUnZX/Yzlj1uQK586zcE3RkluXiS 55x5Yzr9mC3GrZCu04CJt5rQnE0k6hD8li/jpPlFaeiWYqhOwqzTep0UOxyxbYzm1fVB S5a63WAruDWI2o+0qwkVuSFYs0DeBaMzdcSjW/Kic0Q5DlkXhkjGse7dnpSlsQ0AVS5r /gwvhBLzIqpZ7q2gMiXk/nuFCss83p3Jf6jWv9bBL2Ana5SHxAi3/yPsrhiD9JFJBgwi RYRY1PNLBhLyNi8ynZv1x9BrNfb03xVBcAzsgDd6nUtjCHbc2t3hcfqNDNLm0PIwRa+i RQxA== X-Gm-Message-State: AJIora9hyvges8g6nRSOC913Utzbrm/WXXVwNHD1iKw90Pb4QZ+U0q7+ wLvHXb4209EFMeQmQuIq3uTOGSuZIQbly5Jd4Zmv9OP9m9E= X-Google-Smtp-Source: AGRyM1t/MmM4BBqEGrPOa6xdqsftEVhd6hySPtlgJaL1pn9NxM70CG+IKiunNV+h+4HL8YgspmWBkH5AicPcnfz5TSA= X-Received: by 2002:a05:6830:439e:b0:616:f2c2:9c53 with SMTP id s30-20020a056830439e00b00616f2c29c53mr6183817otv.2.1657477986525; Sun, 10 Jul 2022 11:33:06 -0700 (PDT) In-Reply-To: <838rp10yfz.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=owinebar@gmail.com; helo=mail-ot1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:292035 Archived-At: I see a discussion under bug #50666 - https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50666 [ note - only found by google site search on lists.gnu.org for "Ken Brown" "cygwin" "native", the bug did not show up when I used debbugs's search for bugs for package "emacs" with "cygwin" in the subject ]. It seems to have focused on the 32-bit architecture, but I only use 64-bit targets. I'm updating dozens of packages at a time, although the practical limit seems to be 20-30 in a pass before I get an error about having run out of some resource (process ids or file descriptors or something along those lines, not sure). In any case, if the eln files are asynchronously getting rebased before being loaded, perhaps there's a race condition somewhere? I can file a bug if merited. Lynn On Sun, Jul 10, 2022 at 11:39 AM Eli Zaretskii wrote: > > > From: Lynn Winebarger > > Date: Sun, 10 Jul 2022 11:10:27 -0400 > > Cc: Stephen Leake , emacs-devel > > > > If Stephen's building native compilation under cygwin, perhaps he's > > referring to an error message about not being able to load the ELN > > file, either in the form of a "fork" failure, or an explicit complaint > > about the dll base address conflicting with another dll that's already > > been loaded. For a 64-bit build, a restart of emacs seems to be > > enough to cure the issue, although I have also had issues that didn't > > seem to be resolved without doing a "rebase all". > > I don't know if this behavior is considered a bug (in either libgccjit > > or emacs) or just a basic limitation of using the cygwin platform. > > It is definitely an annoyance when either installing packages or when > > one of the package's features/modules is autoloaded the first time. > > This was discussed with Ken Brown (CC'ed) at some point, but I don't > remember what was the conclusion for the future. > > (And I don't think Stephen uses Cygwin. But I may be mistaken.)