From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SPHsI-0005LC-1E for qemu-devel@nongnu.org; Tue, 01 May 2012 14:32:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SPHsG-00079F-4h for qemu-devel@nongnu.org; Tue, 01 May 2012 14:32:33 -0400 Message-ID: <4FA02C3C.2080305@suse.de> Date: Tue, 01 May 2012 20:32:28 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1335862740-17408-1-git-send-email-agraf@suse.de> <1335862740-17408-4-git-send-email-agraf@suse.de> In-Reply-To: <1335862740-17408-4-git-send-email-agraf@suse.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 3/8] linux-user: Fix undefined HOST_LONG_SIZE on PPC hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf , blauwirbel@gmail.com, malc Cc: qemu-ppc@nongnu.org, qemu-devel Developers Am 01.05.2012 10:58, schrieb Alexander Graf: > On my PPC host, HOST_LONG_SIZE is not defined even after > running configure. Use the normal C way of determining the > long size instead. >=20 > Signed-off-by: Alexander Graf > --- > thunk.h | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >=20 > diff --git a/thunk.h b/thunk.h > index 5be8f91..87025c3 100644 > --- a/thunk.h > +++ b/thunk.h > @@ -113,7 +113,7 @@ static inline int thunk_type_size(const argtype *ty= pe_ptr, int is_host) > defined(HOST_PARISC) || defined(HOST_SPARC64) > return 4; > #elif defined(HOST_PPC) > - return HOST_LONG_SIZE; > + return sizeof(void *); malc has committed a different fix (TARGET_ABI_BITS / 8) - thanks for fixing the build - but this PULL will now conflict. Andreas > #else > return 2; > #endif --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg