From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Native Compile: Example Of Possibly Spurious Warning Date: Mon, 17 May 2021 13:20:54 -0700 Message-ID: References: <20210516205102.286BDC21098@raman-glaptop.localdomain> <83y2cducdp.fsf@gnu.org> <83cztptphx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb18030 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35168"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 17 22:21:50 2021 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 1lijkL-0008um-KS for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 22:21:49 +0200 Original-Received: from localhost ([::1]:48372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lijkK-0004UO-Iz for ged-emacs-devel@m.gmane-mx.org; Mon, 17 May 2021 16:21:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lijjZ-0003nP-TN for emacs-devel@gnu.org; Mon, 17 May 2021 16:21:01 -0400 Original-Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:46649) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lijjX-0006Jm-4F for emacs-devel@gnu.org; Mon, 17 May 2021 16:21:01 -0400 Original-Received: by mail-pj1-x1034.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso286597pjb.5 for ; Mon, 17 May 2021 13:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=JTFCJVLfzcdJhLNI32mBwmdkcEmVUs12N2XtYdKcWWo=; b=fd+iOQoHsLRRFLraKeuD2LgzxSYDz9NiiXS9FEC2Y/ZMs2uMJG335r9FaMg4rryUzG SWKVGrY9rBy+p/ZcT06HzCRz09zOymU3zmoqtHFbzztjndrnOGhbVf3H+KLQfdZJtrYp OAkkpwtUlu7he5qZnVUWyZHovZtelNPY2/S0W9s/fR+jYHS+p2RtPWHtcZgUBxVDJUwy xHvl/RUAHU8m0kphlHyl+ZJ7ZDUuz9BHsYDd9cigEv5JpDCC/uYuyRgVeSLuGmLooCc7 2JjNy1aPaO3tmIuELf32YCGDb8WPcanrfligsQCGK6bjjIAJqpsB7HlmiWXpksGhpBdH oSXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=JTFCJVLfzcdJhLNI32mBwmdkcEmVUs12N2XtYdKcWWo=; b=Y0t4wMocXOSwvTQBAknQs1pAOlHqo2VYJ7r/9BaAtsdnHUt2sywJF3qCM42K6XKzpj JBfvn0ck3N7czQJrEzCvpfReNw46rVjNhEXoVOoNl3VKDuUSpPV+z5EQXBLTK8LoZBcs M7kMucLTGIUlXlyK79E/7x+QgiJ4SOrQbjCNjWY6Jg2EH/BmU9i+XVA9X0YI2TcRocLA uELZNcAdhfQ2VtslQMO4yvJO6GsdQ9ghZuKGa5948sXatIbAAk8Z4Y8o7jIHDQJdm9d7 6adBfbyAlm9pU4OXSqRNkt8YX3mdh8nf7uFwSPg4uljJZdTaBYuHXWx1jgCYjLia2FXX dp8A== X-Gm-Message-State: AOAM5339zp9/Ef960Kctu8mZThRTSUosovYG+gZJZ27F2U5i3mlxEHz/ qB1DZcjv6CxzVX8/hOVq1tkUMg== X-Google-Smtp-Source: ABdhPJxR4nI5xujJXwTsv8G9wy/wbN4YVWBy6xKNlIGU/dQGP4X36irq892gAHZeCaivl0/ciEsBqw== X-Received: by 2002:a17:90a:390d:: with SMTP id y13mr1299887pjb.52.1621282857309; Mon, 17 May 2021 13:20:57 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id r5sm244940pjd.2.2021.05.17.13.20.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 May 2021 13:20:56 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 5F1A4C21501; Mon, 17 May 2021 13:20:54 -0700 (PDT) In-Reply-To: (Andrea Corallo's message of "Mon, 17 May 2021 19:22:00 +0000") Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=raman@google.com; helo=mail-pj1-x1034.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:269428 Archived-At: Andrea Corallo writes: Hi Andrea, emacspeak is at https://github.com/tvraman/emacspeak I've tried many things, including batch native compiling emacspeak --- and to ensure that a running Emacs did not end up polluting the eln-cache, I did this while running an emacs that did not have native support compiled in. If after then killing the non-native emacs and start the Emacs with native support, I still see the warning I showed in my email. Not sure whether you'll have the cycles to run emacspeak itself -- you'll minimally need to install the espeak and espeak-ng packages to get speech synthesis on Linux for Emacspeak to use. Here is my suspicion: When emacspeak is ormally compiled via make, it loads it's own loaddefs file etc --- and I suspect that when Emacs itself compiles any of the emacspeak modules while running, it doesn't pull in the prerequisites. Also: I was hoping that once batch-native-compile had done its thing for all the emacspeak modules, then a newly started emacs would not need to compile those files; however this is not true -- with no further changes to the source-code of those files, Emacs appears to recompile those files on the fly -- dont know why. I've not fully understood how the cacheing strategy works, but I suspect it's over-aggressive. One final thought: for complex packages like Emacspeak that have their own custom build rules, it would be nice if emacs' async native compile cycle could be given access to those rules. > Eli Zaretskii writes: > >>> From: "T.V Raman" >>> Cc: emacs-devel@gnu.org >>> Date: Mon, 17 May 2021 06:58:17 -0700 >>>=20 >>> Eli Zaretskii writes: >>>=20 >>>=20 >>> All of the spurious warnings I'm seeing dont appear in batch compilation >>> with batch-byte-compile. >>> Here is the file on Github: >>>=20 >>> https://github.com/tvraman/emacspeak/blob/master/lisp/emacspeak-preambl= e.el#L91 >> >> I hope Andrea will look into this and tell what causes the error (my >> guess is some other file this one loads or requires, but that's just a >> guess). > > I'll be happy to have a look this week. > > Raman can you share a sequence precise instructions I can follow to > reproduce what you see? > > Thanks > > Andrea --=20 Thanks, --Raman =817=A94 Id: kg:/m/0285kf1 =950=DC8