From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Preview: portable dumper Date: Mon, 19 Feb 2018 22:41:18 +0100 Message-ID: <87k1v8d5dt.fsf@linux-m68k.org> References: <58430d23-3b86-44e7-8346-25f0cbefb6ef@email.android.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1519076418 12371 195.159.176.226 (19 Feb 2018 21:40:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Feb 2018 21:40:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) Cc: Angelo Graziosi , emacs-devel@gnu.org To: Daniel Colascione Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 19 22:40:14 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1entAE-0001wA-5E for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2018 22:39:58 +0100 Original-Received: from localhost ([::1]:52507 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1entCG-0000us-5m for ged-emacs-devel@m.gmane.org; Mon, 19 Feb 2018 16:42:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1entBd-0000ue-KM for emacs-devel@gnu.org; Mon, 19 Feb 2018 16:41:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1entBb-0005uR-0M for emacs-devel@gnu.org; Mon, 19 Feb 2018 16:41:25 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:55774) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1entBa-0005tc-Oz for emacs-devel@gnu.org; Mon, 19 Feb 2018 16:41:22 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3zlcdF0yxJz1rTS2; Mon, 19 Feb 2018 22:41:21 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3zlcdF0kRzz1qwr3; Mon, 19 Feb 2018 22:41:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id 7O5CkBC_6jv5; Mon, 19 Feb 2018 22:41:20 +0100 (CET) X-Auth-Info: wKaSgnZs65IIGl4lYLwMT0N0joe3ktUSvBssHr/3vmSIhngd2FHOoWNcCB5VhtQ+ Original-Received: from localhost (ppp-188-174-146-66.dynamic.mnet-online.de [188.174.146.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 19 Feb 2018 22:41:20 +0100 (CET) Original-Received: by localhost (Postfix, from userid 1000) id B76C12C10DA; Mon, 19 Feb 2018 22:41:18 +0100 (CET) X-Yow: Kids, the seven basic food groups are GUM, PUFF PASTRY, PIZZA, PESTICIDES, ANTIBIOTICS, NUTRA-SWEET and MILK DUDS!! In-Reply-To: <58430d23-3b86-44e7-8346-25f0cbefb6ef@email.android.com> (Daniel Colascione's message of "Mon, 19 Feb 2018 13:16:01 -0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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:223458 On Feb 19 2018, Daniel Colascione wrote: >
On Feb 19, 2018 12:39 PM, Andreas Schwab <schwab@linux-m68k.org> wrote:

On Feb 19 2018, Daniel Colascione <dancol@dancol.org> wrote: >
> >
> > pdumper works for me in both 32- and 64-bit forms on x86. >
> >
> That's pure luck.  There is nothing that forces the size of struct >
> buffer to be EMACS_INT aligned. >


No, there isn't. That's why the code generally doesn't require that it be.
Then you need to fix that. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."