From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Can't build previous versions of Emacs? Date: Thu, 14 Jul 2022 19:07:53 +0200 Message-ID: References: <877d4gcr7g.fsf@ericabrahamsen.net> <87ilo0s70s.fsf@yahoo.com> <8735f3d655.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38061"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) Cc: emacs-devel@gnu.org To: Eric Abrahamsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 14 19:10:01 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oC2Lh-0009iP-6r for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 19:10:01 +0200 Original-Received: from localhost ([::1]:52332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oC2Lg-0004Fv-1U for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Jul 2022 13:10:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45166) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oC2Jn-0002hp-KH for emacs-devel@gnu.org; Thu, 14 Jul 2022 13:08:03 -0400 Original-Received: from woodpecker.gentoo.org ([140.211.166.183]:40930 helo=smtp.gentoo.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oC2Jk-0002Kk-7o for emacs-devel@gnu.org; Thu, 14 Jul 2022 13:08:01 -0400 In-Reply-To: <8735f3d655.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 14 Jul 2022 09:13:26 -0700") Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@gentoo.org; helo=smtp.gentoo.org X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292161 Archived-At: >>>>> On Thu, 14 Jul 2022, Eric Abrahamsen wrote: > Po Lu writes: >> Eric Abrahamsen writes: >>=20 >>> Hi all, >>>=20 >>> I have the Emacs 25, 26 and 27 branches checked out in git worktrees, >>> and I was going to build them to test some backwards compatibility. On a >>> clean checkout, "make" failed for all three of them with this error: >>>=20 >>> sysdep.c:1795:22: error: variably modified =E2=80=98sigsegv_stack=E2=80= =99 at file scope >>> 1795 | static unsigned char sigsegv_stack[SIGSTKSZ]; >>> | ^~~~~~~~~~~~~ >>> make[2]: *** [Makefile:377: sysdep.o] Error 1 >>> make[2]: Leaving directory '/home/eric/dev/emacs-26/src' >>> make[1]: *** [Makefile:421: src] Error 2 >>> make[1]: Leaving directory '/home/eric/dev/emacs-26' >>> make: *** [Makefile:1107: bootstrap] Error 2 >>>=20 >>> This is on Arch Linux, I can send the config.status file for any of the >>> branches if that would help. >>=20 >> That's expected. glibc recently changed in that SIGSTKSZ is now a call >> to a function. Emacs wasn't modified to be compatible with that until >> 28.1. > Thanks! That's good to know. You can find patches for the SIGSTKSZ issue here: https://gitweb.gentoo.org/proj/emacs-patches.git/tree/emacs For example, for Emacs 27.2: https://gitweb.gentoo.org/proj/emacs-patches.git/tree/emacs/27.2/02_all_gli= bc-2.34.patch