From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#42664: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling Date: Sun, 02 Aug 2020 15:55:51 +0000 Message-ID: References: Reply-To: Andrea Corallo Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12481"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 42664@debbugs.gnu.org To: Tom Gillespie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 02 18:01:48 2020 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 1k2GQm-00034v-CV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 18:01:48 +0200 Original-Received: from localhost ([::1]:41294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2GQj-0002LT-Ty for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Aug 2020 12:01:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2GQ2-0001vb-Lt for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 12:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59906) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2GQ2-0001dI-Ad for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 12:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2GQ2-0003jH-7B for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 12:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Aug 2020 16:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42664 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159638400314193 (code B ref -1); Sun, 02 Aug 2020 16:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 16:00:03 +0000 Original-Received: from localhost ([127.0.0.1]:43219 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2GP2-0003g1-Qk for submit@debbugs.gnu.org; Sun, 02 Aug 2020 12:00:03 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2GOx-0003fq-2f for submit@debbugs.gnu.org; Sun, 02 Aug 2020 11:59:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2GOw-0000CM-ND for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 11:59:54 -0400 Original-Received: from mx.sdf.org ([205.166.94.24]:63899) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2GOt-00010b-Ug for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 11:59:54 -0400 Original-Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 072Ftq4P011939; Sun, 2 Aug 2020 15:55:52 GMT In-Reply-To: (Tom Gillespie's message of "Sat, 1 Aug 2020 19:51:44 -0700") Received-SPF: pass client-ip=205.166.94.24; envelope-from=akrl@sdf.org; helo=mx.sdf.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 11:55:56 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:183860 Archived-At: Tom Gillespie writes: > When trying to byte compile on 28.0.50 on the feature/native-comp branch at > 7a161dc688f0eeee64e307a55efbc7d11bab3627 I encountered the following > error message: > Symbol's function definition is void: cc-bytecomp-is-compiling. > > This is not an issue on master at 9f01ce6327af886f26399924a9aadf16cdd4fd9f. > > To repro run the following. > > #+begin_src bash > emacs -q -batch --no-site-file --eval '(progn (with-temp-buffer > (insert "(c-lang-const c-matchers-1 c)") (write-file "oh-no.el")) > (require '"'"'cc-defs) (byte-compile-file "oh-no.el"))' > #+end_src > > > Or in emacs launched with =emacs -q --no-site-file= run =M-x ielm= and then > > #+begin_src ielm > (with-temp-buffer (insert "(c-lang-const c-matchers-1 c)") (write-file > "oh-no.el")) > (require 'cc-defs) > (byte-compile-file "oh-no.el") > #+end_src > > Testing against master on in the emacs git repo via the following > produces no error. > ./autogen.sh > ./configure > make -j 8 > src/emacs -q -batch --no-site-file --load lisp/progmodes/cc-defs.el > --load lisp/progmodes/cc-fonts.el --eval '(progn (with-temp-buffer > (insert "(c-lang-const c-matchers-1 c)") (write-file "oh-no.el")) > (require '"'"'cc-defs) (byte-compile-file "oh-no.el"))' > > The output of > git diff 9f01ce6327af886f26399924a9aadf16cdd4fd9f > 7a161dc688f0eeee64e307a55efbc7d11bab3627 -- lisp/progmodes > suggests that something similarly strange may be going on in this case. Hi Tom, "80d7f710f2 * Fix defsubst missing inline Bug#42664" does the job for me. Would you check is effective for you too? Thanks for the report. Andrea -- akrl@sdf.org