From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76083 invoked by alias); 3 Feb 2016 10:22:07 -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 76071 invoked by uid 89); 3 Feb 2016 10:22:06 -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*Ad:U*libffi-discuss, ffih, 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; Wed, 03 Feb 2016 10:22:05 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by sys.alezan.org (Postfix) with ESMTP id 3D07A880FF6 for ; Wed, 3 Feb 2016 11:22:01 +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 5YU-NGYOtgjB for ; Wed, 3 Feb 2016 11:21:58 +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 AE2C4880FCF for ; Wed, 3 Feb 2016 11:21:56 +0100 (CET) Date: Wed, 03 Feb 2016 10:22:00 -0000 From: =?UTF-8?B?RnLDqWTDqXJpYw==?= To: libffi-discuss@sourceware.org Subject: Cross-compiling libffi on ppc 603e Message-ID: <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/msg00001.txt.bz2 Hi! I cross-compiled Python 2.5.3 for an embedded VME card running a 32bits ppc 603e processor: http://www.dpie.com/vme/cpu-powerpc/men-mikro-a15c All worked fine, except the _ctypes python module, using libffi, which failed with the following error: 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" (python 2.5.3 uses libffi 3.0.13). 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? Thanks for your help. --=20 Fr=C3=A9d=C3=A9ric