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 Compilation And External Packages Date: Sat, 29 May 2021 10:18:05 -0700 Message-ID: References: <24754.27537.803673.706445@google.com> 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="3351"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 19:18:57 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 1ln2bw-0000fD-So for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 19:18:56 +0200 Original-Received: from localhost ([::1]:53246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ln2bv-0003Rb-Up for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 13:18:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ln2bD-0002n6-5H for emacs-devel@gnu.org; Sat, 29 May 2021 13:18:11 -0400 Original-Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:42693) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ln2bB-0003TG-C9 for emacs-devel@gnu.org; Sat, 29 May 2021 13:18:10 -0400 Original-Received: by mail-pg1-x535.google.com with SMTP id f22so4995586pgb.9 for ; Sat, 29 May 2021 10:18:09 -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=ldh8RN5wxN7kl+fpl93uX+Ud3JIEAC4Gn8AJeD9NG3E=; b=jHAGmi/KOAXp/M4g0/9WiMU/xbKEvCB3uNH2cqhjXCOrvxAES0SU9J9T/V9yzbugXX /f08euCTwtT8wlBfORV8CHbGACXdue1YMrRAK/7VmBK+pGtHPpeiE34NrPXNsa1GOcX1 CvTwaest+tzA7JUI97oRMFld5gwz4Bt3lTkG7xN3quQWE1xn129zPFRcSG83QBoaFOUz L/LK52jFJIRSM5MXrZod8AaFJZTa3kPRms9yL+CAMFEYyjxh20cTujH59bw1Knj3Utyq zU2cqBEXeznPBI8IX5OTVg37OnA0Z/IYYGPeeqllkAkuaGUFS1Jj4Vq1k5t6ph1e5Kpg d8uw== 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=ldh8RN5wxN7kl+fpl93uX+Ud3JIEAC4Gn8AJeD9NG3E=; b=KxBHSVJ6ZI9vISR0khYP4CmldKorThbv0ExaWzGw+NRezrHGV8A5pJG9UaCMfojmk8 qYoQ8B3mp+jg3DYF8HEFNkk/sARXPNMKOicknELWwc+7lb0hlEJJ4wMN42lQDsPCm37X pKgnop65VCLnMCOgIQ22dp5U/8KAT8Mbhrd/86jPYo+GeBIitnWmm9HCHA+xXtng/HfH F1RhaDalUfXbX2mfdw/tBvPIykWNuKIUMM3u7MJFqkOPFR+jb2uP9+vuEfBNTtdCDM0V o+PXd7rdFQ7Xd/OBUV7WtHpLSgnlTKUdDWPkG746Bf/uygY/Mz8EcOxdsu63g5tWS6xH OoOQ== X-Gm-Message-State: AOAM531gTDg72/HmfAbx1LRI8V7t66QpNgnxN+VTQg0ZzwGfhniMTzDn H9V8R3+hg59QdijCHFsJZtOoWX/9YW4JsrCn X-Google-Smtp-Source: ABdhPJxjsXOSb/sUb3jqNkMOO3Iz22ZSnI4+MMjFL4whVwjiidgHn6jQcKZTTxaaT2X7GexV3Lm1eg== X-Received: by 2002:a63:1c1a:: with SMTP id c26mr15137623pgc.301.1622308687265; Sat, 29 May 2021 10:18:07 -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 p1sm6826806pfp.137.2021.05.29.10.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 10:18:06 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 13EA5C204B9; Sat, 29 May 2021 10:18:05 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sat, 29 May 2021 13:00:38 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=raman@google.com; helo=mail-pg1-x535.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=ham 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:270077 Archived-At: Stefan Monnier writes: It's easier to point at my makefiles, see links below. Here is my conjecture: The Emacspeak build rules load auto-generated emacspeak-loaddefs files, that helps the compiler know about functions. When native-emacs itself jits these, it doesn't have access to those rules. Makefile: https://github.com/tvraman/emacspeak/blob/master/lisp/Makefile#L50 To native compile all the emacspeak sources from the shell, I used this shell script: https://github.com/tvraman/emacspeak/blob/master/native#L1 and that compiles all the sources with no warnings. However if I run native-emacs, then I get spurious warnings like the one I reported about a defvar a couple of weeks ago and a lot more --- all of which look spurious. >> happens on load -- the same warnings dont appear if you compile the >> code with batch-byte-compile replaced with batch-native-compile. > > Please report this as a bug. We may end up deciding the bug is how you > launch those compilations, but we first need to see concretely why > there's a discrepancy. > > > Stefan > --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =817=A94 Id: kg:/m/0285kf1 =950=DC8