[Top][All Lists]

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

Need help compiling emacs 27.2

From: Ruijie Yu
Subject: Need help compiling emacs 27.2
Date: Fri, 13 Jan 2023 21:28:47 -0600
User-agent: mu4e 1.8.13; emacs 29.0.60


I was trying to compile emacs 27.2 for some testing, but the build
fails.  I am not sure what I am missing, as this is the first time I
compile Emacs from source manually.  Any hints are appreciated.

What I did:

$ git clone --bare <url> /opt/src/emacs.git
$ cd /opt/src/emacs.git
$ git worktree add ../emacs-27.2 tags/emacs-27.2
$ cd ../emacs-27.2
$ make
  CC       sysdep.o
sysdep.c:1821:22: error: variably modified ‘sigsegv_stack’ at file scope
 1821 | static unsigned char sigsegv_stack[SIGSTKSZ];
      |                      ^~~~~~~~~~~~~
make[2]: *** [Makefile:406: sysdep.o] Error 1

See the attachment for full output of `make'.

Attachment: emacs-27.2-failed.txt
Description: Text document

I suspect my compiler and toolchain are too new, but I don't know where
exactly to look to ascertain that this is the case.  Thanks.

$ gcc --version
gcc (GCC) 12.2.0



reply via email to

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