From: Andrea Corallo via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Tom Gillespie <tgbugs@gmail.com>
Cc: 42664@debbugs.gnu.org
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 [thread overview]
Message-ID: <xjfmu3dca9k.fsf@sdf.org> (raw)
In-Reply-To: <CA+G3_PP_kKAe1efpuaEyKwdDpxoH7E+wtoq7dRdMeNjBDZHqmQ@mail.gmail.com> (Tom Gillespie's message of "Sat, 1 Aug 2020 19:51:44 -0700")
Tom Gillespie <tgbugs@gmail.com> 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
next prev parent reply other threads:[~2020-08-02 15:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 2:51 bug#42664: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling Tom Gillespie
2020-08-02 15:55 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2020-08-02 19:44 ` Tom Gillespie
2020-08-02 20:18 ` Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xjfmu3dca9k.fsf@sdf.org \
--to=bug-gnu-emacs@gnu.org \
--cc=42664@debbugs.gnu.org \
--cc=akrl@sdf.org \
--cc=tgbugs@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).