From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ulrich Mueller Newsgroups: gmane.emacs.devel Subject: Re: Size of emacs.pdmp changes between successive installs Date: Wed, 20 Nov 2019 00:21:45 +0100 Message-ID: References: <871ru34tq0.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="111105"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 20 00:23:51 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iXCqd-000SkG-5n for ged-emacs-devel@m.gmane.org; Wed, 20 Nov 2019 00:23:51 +0100 Original-Received: from localhost ([::1]:52360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXCqb-00081U-KP for ged-emacs-devel@m.gmane.org; Tue, 19 Nov 2019 18:23:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43938) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iXCok-0006G0-Am for emacs-devel@gnu.org; Tue, 19 Nov 2019 18:21:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iXCoi-0000xj-KR for emacs-devel@gnu.org; Tue, 19 Nov 2019 18:21:53 -0500 Original-Received: from smtp.gentoo.org ([140.211.166.183]:36568) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iXCoi-0000w9-FH for emacs-devel@gnu.org; Tue, 19 Nov 2019 18:21:52 -0500 Original-Received: from a1i15 (a1i15.kph.uni-mainz.de [134.93.134.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ulm) by smtp.gentoo.org (Postfix) with ESMTPSA id 5211034D0E2; Tue, 19 Nov 2019 23:21:48 +0000 (UTC) In-Reply-To: <871ru34tq0.fsf@igel.home> (Andreas Schwab's message of "Tue, 19 Nov 2019 19:16:39 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 140.211.166.183 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:242457 Archived-At: >>>>> On Tue, 19 Nov 2019, Andreas Schwab wrote: > On Nov 19 2019, Ulrich Mueller wrote: >> For two successive installs from a clean checkout of the same git >> commit, emacs.pdmp ends up having slightly different size: >> >> $ stat -c %s /usr/libexec/emacs/27.0.50/x86_64-pc-linux-gnu/emacs.pdmp >> 10563744 >> >> $ stat -c %s /usr/libexec/emacs/27.0.50/x86_64-pc-linux-gnu/emacs.pdmp >> 10563728 >> >> Why is that so? Shouldn't it be deterministic? > Try disabling ASLR. That doesn't make it completely reproducible, > though. Indeed. After doing "echo -n 0 >/proc/sys/kernel/randomize_va_space" I get at least the same size every time. This is with Linux 4.14.154 and glibc 2.30.