From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Old (static) builds of Emacs Date: Wed, 01 Dec 2021 08:15:47 -0500 Message-ID: References: <877dfavmzw.fsf@posteo.net> <87y278ieeh.fsf@posteo.net> <875yu9pb9u.fsf_-_@posteo.net> <87ilw9l4pc.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36217"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 01 14:19:54 2021 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 1msPWb-0009Av-NJ for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 14:19:53 +0100 Original-Received: from localhost ([::1]:44910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msPWa-0001aP-Ht for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Dec 2021 08:19:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msPT0-0007mR-8p for emacs-devel@gnu.org; Wed, 01 Dec 2021 08:16:12 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:47072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msPSm-00084R-99 for emacs-devel@gnu.org; Wed, 01 Dec 2021 08:16:04 -0500 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6C4BB440CE7; Wed, 1 Dec 2021 08:15:52 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D8B994409FE; Wed, 1 Dec 2021 08:15:50 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1638364550; bh=TnqR8+uvSTZi4kAJ358oL9lG/B6opD3VSrJWONtoz/A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dkjG+gsKk3m8z61SYiND+M88hWNkprHu0JVM0LU9DmdNevJFcC/XoVG6sWkVX7+aw NlV3OfpoJ6VW+eQXWjd5M6Plwlx8Bmlm35uNCEFjpdv+pxKs6sfdtXI4GiX2lP5bAi 6pCKrnxGjl3EY9ZlV3PIHPsuFBRzQDpMX4tVOdQIrbwRzgRuRVllR7QvN9/23MjYXm Bsv04sd9tuYPU6oIXlRjetZhdcxBLRK0R/RVRtCyz41wwtE0P3qYroj1EtgtKjjF2M vmCY9k1erTuSPYfQez+0PeqjNr/1Ee8xFzkdj8NB/x4mo7Yjd40gPFATa+1BMxYTKY 072hMT4AzxarQ== Original-Received: from pastel (unknown [216.154.30.173]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8E4511207C1; Wed, 1 Dec 2021 08:15:50 -0500 (EST) In-Reply-To: <87ilw9l4pc.fsf@posteo.net> (Philip Kaludercic's message of "Tue, 30 Nov 2021 21:21:51 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:280615 Archived-At: Philip Kaludercic [2021-11-30 21:21:51] wrote: > I have tried using GNU Guix to build old versions of Emacs, and it seems > to work well up until 24.5. It seems something was changed in glibc (?) > that necessitated a change in Emacs, if I understand correctly. Does > anyone remember what happened here, so that I can patch these versions > (or would it be easier to build an old version of Glibc)? Might have been when they dropped some malloc hooks we were using, or something like that. IIRC this problem was "really fixed" with the pdumper and before that we circumvented it by using the src/gmalloc.c code during the dump (and switch to the native malloc afterwards). So, you might want to try and tell Emacs to use src/gmalloc.c instead of the system's malloc. Stefan