From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41400 invoked by alias); 9 Feb 2016 08:02:39 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 41387 invoked by uid 89); 9 Feb 2016 08:02:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:libffi-, embedded, card, HTo:U*libffi-discuss X-HELO: sys.alezan.org Received: from sys.alezan.org (HELO sys.alezan.org) (5.135.178.62) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 09 Feb 2016 08:02:36 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by sys.alezan.org (Postfix) with ESMTP id 8E08F880FF9 for ; Tue, 9 Feb 2016 09:02:32 +0100 (CET) Received: from sys.alezan.org ([127.0.0.1]) by localhost (sys.alezan.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ImBnXIovBDTJ for ; Tue, 9 Feb 2016 09:02:27 +0100 (CET) Received: from gbiloba.org (localhost.localdomain [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: fma@gbiloba.org) by sys.alezan.org (Postfix) with ESMTPSA id 92E26880FF8 for ; Tue, 9 Feb 2016 09:02:26 +0100 (CET) Date: Tue, 09 Feb 2016 08:02:00 -0000 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= To: libffi-discuss@sourceware.org Subject: Re: Cross-compiling libffi on ppc 603e Message-ID: <20160209090223.340b3bc0@gbiloba.org> In-Reply-To: <20160203112152.6e7bfb4c@gbiloba.org> References: <20160203112152.6e7bfb4c@gbiloba.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016/txt/msg00003.txt.bz2 Le 03/02/2016, Fr=C3=A9d=C3=A9ric a =C3=A9crit : > I cross-compiled Python 2.5.3 for an embedded VME card running a 32bits > ppc 603e processor: >=20 > http://www.dpie.com/vme/cpu-powerpc/men-mikro-a15c >=20 > All worked fine, except the _ctypes python module, using libffi, which > failed with the following error: >=20 > In file included from Modules/_ctypes/libffi/src/prep_cif.c:26: > build/temp.linux2-powerpc-2.7/libffi/include/ffi.h:153: > #error "no 64-bit data type supported" >=20 > (python 2.5.3 uses libffi 3.0.13). >=20 > Any idea why I can't cross-compile on this platform? I can see that ppc > 32bits is supported. I may need to give an additional env. var. to my > toolchain? No idea? --=20 Fr=C3=A9d=C3=A9ric