From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31354 invoked by alias); 6 Mar 2012 16:17:20 -0000 Received: (qmail 31343 invoked by uid 22791); 6 Mar 2012 16:17:19 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,TW_BF,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e39.co.us.ibm.com (HELO e39.co.us.ibm.com) (32.97.110.160) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Mar 2012 16:17:06 +0000 Received: from /spool/local by e39.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Mar 2012 09:17:05 -0700 Received: from d01dlp03.pok.ibm.com (9.56.224.17) by e39.co.us.ibm.com (192.168.1.139) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 6 Mar 2012 09:17:04 -0700 Received: from d01relay03.pok.ibm.com (d01relay03.pok.ibm.com [9.56.227.235]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 3B6D2C90057 for ; Tue, 6 Mar 2012 11:17:03 -0500 (EST) Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d01relay03.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q26GH2Td131552 for ; Tue, 6 Mar 2012 11:17:02 -0500 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q26GGmta025670 for ; Tue, 6 Mar 2012 09:16:49 -0700 Received: from [192.168.1.103] (vorma.rchland.ibm.com [9.10.86.174]) by d03av03.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q26GGiZ8025260; Tue, 6 Mar 2012 09:16:44 -0700 Message-ID: <1331050603.21041.25.camel@otta> Subject: Re: libffi fails to build on powerpc64-linux From: Peter Bergner To: dclarke@blastwave.org Cc: Anthony Green , kyle.d.moffett@boeing.com, libffi-discuss@sourceware.org Date: Tue, 06 Mar 2012 16:17:00 -0000 In-Reply-To: <50878.10.0.66.17.1331007647.squirrel@interact.purplecow.org> References: <50878.10.0.66.17.1331007647.squirrel@interact.purplecow.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12030616-4242-0000-0000-000000F8DC1F X-IsSubscribed: yes 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 X-SW-Source: 2012/txt/msg00092.txt.bz2 On Mon, 2012-03-05 at 23:20 -0500, Dennis Clarke wrote: > I am no where near my powermac g5 but as soon as I can I'll climb back > in and see what I can get done with libffi. The entire objective of my > efforts was to get a clean bootstrap of GCC 4.6.2 for ppc970 and then > to work towards GCC 4.7.0RC1 etc. Thus this is a bit of a road block > that must be cleared on ppc. I just built mainline libffi on my G5 installed with Fedora 16 which has GCC 4.6.2 installed. Building went fine (using my latest patch from my other email) and so did the testsuite run. I'll mention that Fedora 16's GCC defaults to producing 64-bit binaries. Are you trying to build libffi on a system where GCC defaults to producing 32-bit binaries and you're trying to produce a 64-bit libffi? Peter