From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 02:06:47 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 06:06:48 +0000 Received: from localhost ([127.0.0.1]:41469 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k278v-0006ok-Hy for submit@debbugs.gnu.org; Sun, 02 Aug 2020 02:06:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:56032) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k246T-0003iK-Kt for submit@debbugs.gnu.org; Sat, 01 Aug 2020 22:52:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k246T-0006Bk-Cd for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 22:52:01 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:50239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k246Q-0005q6-LC for bug-gnu-emacs@gnu.org; Sat, 01 Aug 2020 22:52:01 -0400 Received: by mail-wm1-x32e.google.com with SMTP id c80so11492852wme.0 for ; Sat, 01 Aug 2020 19:51:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=YuiG4QPYIZom7VcZQ0Cmg7NQ6W1aFa0ERfVWvLT99z4=; b=ffB4WmvCLbVxbOhPE3k2ZJ3u86er+zAeobd+QKJmmTSNmf7WPxWHX5ra7FZheBylUZ KrpgrLJOFJTaPV28e0gcv/Va+WpIf/Mouxzaad7AspADKMrbqKwASN1u5/LX3dAtt4st LDsAA8eA64fjLOZo41qnE1oK77PH2GB8lq0f95ENFU6yLVlqA7HN6++QuvZfz6I39TuJ XjG6hR44wYpJ/zq9AiokxpVI/D/gRep55BxqYLN76PXGJwFuhiWcFmuST1LsR5/kr+Pt 95Log/Usvr4SfL4WfQyr/Pta47APwTvKWdi2mJSFPhn+V/+I4ofX92NB3O+4Ba5UBOVv L33w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YuiG4QPYIZom7VcZQ0Cmg7NQ6W1aFa0ERfVWvLT99z4=; b=cN0/levy4UVQEe1g2t+hs4X66wVZStWzdHCyBkgjswqx/FCPswxd3m/SKrGPcYXfVC aFif2Ca0+1GbMX1HextzE3pUmzvIwWkYBo+Sx+ZdSAeiQa+QMpc10O9qTViTgo9Ap9c8 lx5WIdX11YT450vUQ1lhbcFUsxVMp3iwB6dFLE6EE90HHNFLkxXotCLAklWHaIR5PzTG oLkGm9SSxuXS1NL/r0K0Mw/kiTwhoG8i30lcr5pRXq7ILeGQo8slHcaO6JesCAGgAsRP t1tQkT5KluvmtxQjSer1fIuNMWetbmNgSc6vNQ29IZt8k8p1ww0XcUWTwXPI7NhCHPMa jOJA== X-Gm-Message-State: AOAM530/o0HpROqY+BbPWkIMNE4vQK/GjHNKuzu8qdbpN6sXH9YhiVGt VyvQf7f7zR2HviweXhJI6YjFh1EnHya3f2/27rNqIRz6 X-Google-Smtp-Source: ABdhPJxNjICaxQFPJeGuPzFlJ3wqgc9ayrvtVsu/fyztyZ9Z13Tg4yagqGNjpPO+z9DLSxmnzHc3AqnX9dTZPXq/Qnw= X-Received: by 2002:a1c:7918:: with SMTP id l24mr9605867wme.132.1596336715295; Sat, 01 Aug 2020 19:51:55 -0700 (PDT) MIME-Version: 1.0 From: Tom Gillespie Date: Sat, 1 Aug 2020 19:51:44 -0700 Message-ID: Subject: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling To: bug-gnu-emacs@gnu.org, akrl@sdf.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=tgbugs@gmail.com; helo=mail-wm1-x32e.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 02 Aug 2020 02:06:44 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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. report-emacs-bug output below ======================= In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit) of 2020-08-01 built on localhost Repository revision: 7a161dc688f0eeee64e307a55efbc7d11bab3627 Repository branch: feature/native-comp Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Gentoo/Linux Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Saving file /home/tom/oh-no.el... Wrote /home/tom/oh-no.el Mark set [2 times] Compiling /home/tom/oh-no.el... goto-history-element: Beginning of history; no preceding item [2 times] Configured using: 'configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --docdir=/usr/share/doc/emacs-28.0.9999-r1 --htmldir=/usr/share/doc/emacs-28.0.9999-r1/html --libdir=/usr/lib64 --program-suffix=-emacs-28-vcs --includedir=/usr/include/emacs-28-vcs --infodir=/usr/share/info/emacs-28-vcs --localstatedir=/var --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp --without-compress-install --without-hesiod --without-pop --with-dumping=pdumper --with-file-notification=inotify --enable-acl --without-dbus --with-modules --without-gameuser --with-libgmp --without-gpm --with-json --without-kerberos --without-kerberos5 --without-lcms2 --with-xml2 --without-mailutils --with-nativecomp --without-selinux --with-gnutls --without-libsystemd --with-threads --without-wide-int --with-zlib --with-sound=alsa --with-x --without-ns --without-gconf --without-gsettings --without-toolkit-scroll-bars --with-gif --with-jpeg --with-png --without-rsvg --with-tiff --with-xpm --without-imagemagick --with-xft --without-cairo --with-harfbuzz --without-libotf --without-m17n-flt --with-x-toolkit=lucid --with-xaw3d 'CFLAGS=-march=core-avx2 -O2 -pipe' CPPFLAGS= 'LDFLAGS=-Wl,-O1 -Wl,--as-needed'' Configured features: XAW3D XPM JPEG TIFF GIF PNG SOUND NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ XFT ZLIB LUCID X11 XDBE XIM MODULES NATIVE_COMP THREADS JSON PDUMPER Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: IELM Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: /usr/share/emacs/site-lisp/cjk-latex/thai-word hides /usr/share/emacs/28.0.50/lisp/language/thai-word Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs text-property-search time-date subr-x seq byte-opt gv mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils warnings compile bytecomp byte-compile cconv cc-defs cl-loaddefs cl-lib cl-print ielm easymenu pp comint ansi-color ring tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs button faces cus-face pcase macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify dynamic-setting font-render-setting x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 69211 5782) (symbols 48 6976 0) (strings 32 18809 2705) (string-bytes 1 632345) (vectors 16 10953) (vector-slots 8 220874 7738) (floats 8 28 31) (intervals 56 395 0) (buffers 992 15)) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 12:00:03 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 16:00:03 +0000 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 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 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 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 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 From: Andrea Corallo To: Tom Gillespie Subject: Re: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling References: Date: Sun, 02 Aug 2020 15:55:51 +0000 In-Reply-To: (Tom Gillespie's message of "Sat, 1 Aug 2020 19:51:44 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:19:03 2020 Received: (at 42664-done) by debbugs.gnu.org; 2 Aug 2020 20:19:03 +0000 Received: from localhost ([127.0.0.1]:43557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KRj-0002Ke-8q for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:19:03 -0400 Received: from mx.sdf.org ([205.166.94.24]:59352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2KRf-0002KC-41 for 42664-done@debbugs.gnu.org; Sun, 02 Aug 2020 16:19:02 -0400 Received: from mab (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTP id 072KIvAr004236; Sun, 2 Aug 2020 20:18:57 GMT From: Andrea Corallo To: Tom Gillespie Subject: Re: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling References: Date: Sun, 02 Aug 2020 20:18:57 +0000 In-Reply-To: (Tom Gillespie's message of "Sun, 2 Aug 2020 12:44:05 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 42664-done Cc: 42664-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Tom Gillespie writes: > Hi Andrea, > Confirming fixed on my end. Thanks! > Tom Great closing it. Thanks again for the very precise report. Andrea -- akrl@sdf.org From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 02 16:54:53 2020 Received: (at submit) by debbugs.gnu.org; 2 Aug 2020 20:54:53 +0000 Received: from localhost ([127.0.0.1]:43600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2L0M-0003CF-TV for submit@debbugs.gnu.org; Sun, 02 Aug 2020 16:54:53 -0400 Received: from lists.gnu.org ([209.51.188.17]:48162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2Ju9-0001Vn-P8 for submit@debbugs.gnu.org; Sun, 02 Aug 2020 15:44:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60004) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2Ju9-0003Y5-H9 for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 15:44:21 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:35355) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2Ju6-0003X9-RS for bug-gnu-emacs@gnu.org; Sun, 02 Aug 2020 15:44:21 -0400 Received: by mail-wm1-x333.google.com with SMTP id 184so13615316wmb.0 for ; Sun, 02 Aug 2020 12:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4CPG5j0h8TX/9PiydnE782JfBTScYpDUiV/+YwYysCA=; b=tMOvTJZAqp25whCMusj4iregNPfJ1JYpQzHlFGFj4brNW/wSs4DS/AHqtB8DHmeTiE vM8+6aZulpoQEtHlScOHGgWszNfE3lkgsFRy+ylUS+DqtI+2FRUi09k7JI9wk492Xhkt HWXhH6tDyMrxQSnRnWWcymkoTkDRP+yZoB9pIQL8jWNCCoXFXpn6uiJSvdPO7PYfDDrB uK5a4QUvtaCEHZ3Oh2UTQEhxziz/8U5dJv8jRKW9qFHIMi1/XmhzmTzIvtDk8lUaN4ej iLqrL0xql+z6rGD4z9gTUTjZJfLfWscPamJllMMvhgQh0jeGbeBYd4XIS07YYzHPi/vO RN/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4CPG5j0h8TX/9PiydnE782JfBTScYpDUiV/+YwYysCA=; b=PWw/55aZrKaw+acDNsi5YUtI/LDMGk0Dn6OdxIquRbBxsLcvouwhwSo8xClSiPOfkW uRREifSdseIBadJ0z1ElIZp6kO3umkJVtPPuZnatgsS4xjZ/x+/wP9qi4j8Pr3EQCOHw zTaF9Tr4cAJviI8IjZvoLY1aJwxoBJdwlGrRK+L+lCrnFxR07tQjioYhv/ywPxPjgL6G jKxT4JWqxh9rUAJNlY6nXpav8nNaObY0ERG51u0vYXPPbCIBEkRKSPZuIe7KrdZ34Qmm QbUz8N/vq69j/HwsqX2Eyrh0RBCO3FzeZAZYTgkOmFFKjg3nXHycStPmvz0wkRVHy4al LWhw== X-Gm-Message-State: AOAM530ycqeA9cGRtr/o/LCxEDIwsKM/P0OONbN4my7TVhJweP7tHUKi TN7dr08ZMt+eSDPMrJcBq1G+VIFBAtLzawYnZus= X-Google-Smtp-Source: ABdhPJwRW5wqpzT/0yq0NzJQgRWIruJoDZeyOf38esVFgD8/uBd95f6LmXgOvu+qzkbN7HuEByZKjqw1DBb/zn7pndE= X-Received: by 2002:a1c:7918:: with SMTP id l24mr12264927wme.132.1596397456098; Sun, 02 Aug 2020 12:44:16 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tom Gillespie Date: Sun, 2 Aug 2020 12:44:05 -0700 Message-ID: Subject: Re: feature/native-comp; cc-defs.el: c-lang-const Symbol's function definition is void: cc-bytecomp-is-compiling To: Andrea Corallo Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=tgbugs@gmail.com; helo=mail-wm1-x333.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 02 Aug 2020 16:54:49 -0400 Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Andrea, Confirming fixed on my end. Thanks! Tom On Sun, Aug 2, 2020 at 8:55 AM Andrea Corallo wrote: > > 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 From unknown Fri Aug 15 20:27:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 31 Aug 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator