unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Regression compile of emacs-27.1.tar.gz
@ 2024-03-20 20:02 John Conover
  2024-03-20 21:53 ` Stephen Berman
  0 siblings, 1 reply; 2+ messages in thread
From: John Conover @ 2024-03-20 20:02 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=US-ASCII, Size: 662 bytes --]


I need to compile emacs-27.1.tar.xz, (the standard for Debian 11,
Bullseye,) on Debian 12, Bookworm, and prefer to compile the gnu
sources:

    Source: https://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.xz:

        Compiler error:

            sysdep.c:1819:22: error: variably modified ‘sigsegv_stack’ at file scope
             1819 | static unsigned char sigsegv_stack[SIGSTKSZ];

Can this sigsegv_stack statement in sysdep.c be replaced with the same
statement from emacs-29.x.tar.xz, (which is quite different, but
compiles.)

Any consequences for that single change?

    Thanks,

    John

-- 

John Conover, conover@panix.com, http://www.johncon.com/



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regression compile of emacs-27.1.tar.gz
  2024-03-20 20:02 Regression compile of emacs-27.1.tar.gz John Conover
@ 2024-03-20 21:53 ` Stephen Berman
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Berman @ 2024-03-20 21:53 UTC (permalink / raw)
  To: John Conover; +Cc: help-gnu-emacs

On Wed, 20 Mar 2024 13:02:10 -0700 conover@panix.com (John Conover) wrote:

> I need to compile emacs-27.1.tar.xz, (the standard for Debian 11,
> Bullseye,) on Debian 12, Bookworm, and prefer to compile the gnu
> sources:
>
>     Source: https://ftp.gnu.org/gnu/emacs/emacs-27.1.tar.xz:
>
>         Compiler error:
>
>             sysdep.c:1819:22: error: variably modified ‘sigsegv_stack’ at file scope
>              1819 | static unsigned char sigsegv_stack[SIGSTKSZ];
>
> Can this sigsegv_stack statement in sysdep.c be replaced with the same
> statement from emacs-29.x.tar.xz, (which is quite different, but
> compiles.)

Yes, the change was made because SIGSTKSZ was removed from glibc 2.34,
see
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=f97e07ea807cc6d38774a3888a15091b20645ac6

> Any consequences for that single change?

Besides being able to compile Emacs under glib 2.34 and later, none that
I'm aware of.

>     Thanks,
>
>     John

Steve Berman



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-20 21:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-20 20:02 Regression compile of emacs-27.1.tar.gz John Conover
2024-03-20 21:53 ` Stephen Berman

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).