From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: [PATCH PING] Honor 'SOURCE_DATE_EPOCH' when generating autoloads. Date: Wed, 06 Apr 2016 21:29:46 +0000 Message-ID: References: <87k2ph3mgx.fsf@gnu.org> <5665DAA1.2080208@cs.ucla.edu> <83k2o9t6t1.fsf@gnu.org> <56771D52.2070406@cs.ucla.edu> <83fuytp1au.fsf@gnu.org> <83ege7hny6.fsf@gnu.org> <56D5C4FA.1010905@cs.ucla.edu> <56D72FDB.9050805@cs.ucla.edu> <56F1AD03.1050706@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f8dd2c226d9052fd7a91b X-Trace: ger.gmane.org 1459978221 24105 80.91.229.3 (6 Apr 2016 21:30:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Apr 2016 21:30:21 +0000 (UTC) Cc: Eli Zaretskii , Paul Eggert , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 06 23:30:20 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1anv1n-0004UO-6Q for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2016 23:30:19 +0200 Original-Received: from localhost ([::1]:45768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anv1m-0005h9-Nt for ged-emacs-devel@m.gmane.org; Wed, 06 Apr 2016 17:30:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anv1S-0005gt-Kr for emacs-devel@gnu.org; Wed, 06 Apr 2016 17:29:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anv1R-0006n0-Kj for emacs-devel@gnu.org; Wed, 06 Apr 2016 17:29:58 -0400 Original-Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:36564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anv1R-0006mr-C1; Wed, 06 Apr 2016 17:29:57 -0400 Original-Received: by mail-lf0-x243.google.com with SMTP id p81so5714067lfb.3; Wed, 06 Apr 2016 14:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WeIbEFekus+oV0WH2uBLBXaYCePK9aFVfyYXnszDz+s=; b=Dfw48JErFDJuGSh1kn0pF9ua4rtlqBbSHUPI1TcuwWX+SNZ2DsRomzJsnEHi2nzMhZ 2Bi6yTemkHDor8S1IVwTHyqjLN+nfGATlYnUEgpHhDoZsJqWEIjGT+piwsIteA9FAuTB 59O87XMJzc+6j34PyG0OJ42c5ItrMeUOHn6vhx7v/ymwKJWh8raD7Ga0qhbtONmpfLeU lGh+WAGOi8zepgXesIDIR8cYssDHVc7HOu1JhKEamK1Z/l7Ngt13Gj/y70gxFFLB34Nn bD0uDoRnf7aRSJm62N+K11GtryWO+JnUhlDWnVjDq/t/ThYaT0takPpS9udB12NzeCDa 30ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WeIbEFekus+oV0WH2uBLBXaYCePK9aFVfyYXnszDz+s=; b=O94sN1YlGYxtcRqThAwzMg8n5vEsUkJyJ1HTwDO/e85yhSmODm/gG4rrQjY6glh5wg skKEHNXy+kezjcMgb/9pZX8G8n8HrnNSYp7Wm0yUinp5DLfzfGYcD26HUmjZdfxMuSTv KiU0ed9i1/hNhzKrwn0gc7wQCE36YjJrXkGm2lN3IA+V0iEBQnR2metvTl72lGD8R5ym rt6Gqf8CVJci5BvhHmRP3MWxlsGKm1DxOA45Aovb7/b29Xqm9O+VTXI0Xoo1+faLhsT4 iMlMjkGYWiQbN3XeuauynlH6mSswzdvHu3EQeZfSl77C7Cas2VigPO4eQWOBYCsQjVJy DtIw== X-Gm-Message-State: AD7BkJLtVc3dPQXeU3UDSNnYSHBkQmITUYxXIh2pE7jt6rOR6Ir8yQ/x0V6v+dMKMllVHCwH1DL8yA1WNkrXqg== X-Received: by 10.25.17.230 with SMTP id 99mr2916197lfr.23.1459978196099; Wed, 06 Apr 2016 14:29:56 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::243 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:202774 Archived-At: --001a113f8dd2c226d9052fd7a91b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andreas Schwab schrieb am Mi., 23. M=C3=A4rz 2016 um 09:03= Uhr: > Philipp Stephani writes: > > > Unfortunately there are still ~1000 differing bytes left. > > Is it possible to determine the source address in temacs/bootstrap-emac= s > > from the position in the ,bss segment? > > Set a watchpoint. > > Thanks, I've used that (and 'info symbol') to search for a couple more sources of nondeterminism. So far I've found: - various jmp_buf objects; these can most likely be zeroed out before dumping - gl_state; could also be zeroed - consing_since_gc; Fdump_emacs could just call Fgarbage_collect to reset it (though I'm wondering why this difference exists; AFAIK the garbage collector should be pretty deterministic) --001a113f8dd2c226d9052fd7a91b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Andrea= s Schwab <schwab@suse.de> schri= eb am Mi., 23. M=C3=A4rz 2016 um 09:03=C2=A0Uhr:
Philipp Stephani <p.stephani2@gmail.com> writes:

> Unfortunately there are still ~1000 differing bytes left.
> Is it possible to determine the source address in temacs/bootstrap-ema= cs
> from the position in the ,bss segment?

Set a watchpoint.


Thanks, I've used that (and 'i= nfo symbol') to search for a couple more sources of nondeterminism. So = far I've found:
- various jmp_buf objects; these can most lik= ely be zeroed out before dumping
- gl_state; could also be zeroed=
- consing_since_gc; Fdump_emacs could just call Fgarbage_collect= to reset it (though I'm wondering why this difference exists; AFAIK th= e garbage collector should be pretty deterministic)=C2=A0
--001a113f8dd2c226d9052fd7a91b--