emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#66851: closed (30.0.50; Building emacs with native compilation fails


From: GNU bug Tracking System
Subject: bug#66851: closed (30.0.50; Building emacs with native compilation fails)
Date: Wed, 01 Nov 2023 08:36:03 +0000

Your message dated Wed, 01 Nov 2023 04:35:03 -0400
with message-id <yp17cn1c1mw.fsf@fencepost.gnu.org>
and subject line Re: bug#66851: 30.0.50; Building emacs with native compilation 
fails
has caused the debbugs.gnu.org bug report #66851,
regarding 30.0.50; Building emacs with native compilation fails
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
66851: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66851
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; Building emacs with native compilation fails Date: Tue, 31 Oct 2023 14:36:22 -0400
Hi,

I am having trouble to build emacs with the native-compilation flag.

I am using the following build options on the current master:

commit 5f371ca07be891cc41e8e80b8a1bc9ffcc909363 (HEAD -> master, origin/master, 
origin/HEAD)
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Date:   Tue Oct 31 12:24:51 2023 -0400

    * lisp/emacs-lisp/comp.el: Remove redundant requires


I build with the following options:

./configure --with-json \
            --with-imagemagick\
            --with-pgtk\
            --with-tree-sitter\
            --with-native-compilation


During make, I get a huge lisp code truncation followed by this error
message:

Symbol’s function definition is void: cl-find-class
make[3]: *** [Makefile:323: emacs-lisp/loaddefs-gen.elc] Error 255
Symbol’s function definition is void: cl-find-class
make[3]: *** [Makefile:323: emacs-lisp/radix-tree.elc] Error 255
make[3]: Leaving directory '/home/main/git/emacs/lisp'
make[2]: *** [Makefile:1015: bootstrap-emacs.pdmp] Error 2
make[2]: Leaving directory '/home/main/git/emacs/src'
make[1]: *** [Makefile:554: src] Error 2
make[1]: Leaving directory '/home/main/git/emacs'
make[1]: Entering directory '/home/main/git/emacs'
***
*** "make all" failed with exit status 2.

If remove the native comp flag then it builds fine.


Wondering if this affects only my system.

Best,
Nikos




--- End Message ---
--- Begin Message --- Subject: Re: bug#66851: 30.0.50; Building emacs with native compilation fails Date: Wed, 01 Nov 2023 04:35:03 -0400 User-agent: Gnus/5.13 (Gnus v5.13)
Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:

>>> During make, I get a huge lisp code truncation followed by this error
>>> message:
>>> 
>>> Symbol’s function definition is void: cl-find-class
>> Thanks, but please capture and post here the complete build log, from
>> its start till the last error message.  We need to see all of that to
>> understand what could cause the problem.
>
> Won't be necessary, I see the problem.
> I'll commit a fix ASAP,
>
>
>         Stefan

I confirm bootstrap works here with b93f931e9e9 so closing.

Everything in the native compiler is very senstitive, please remember to
try a bootstrap always when touching it.

Thanks

  Andrea


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]