This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: libffi fails to build on powerpc64-linux
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: dclarke at blastwave dot org
- Cc: Anthony Green <green at moxielogic dot com>, kyle dot d dot moffett at boeing dot com, libffi-discuss at sourceware dot org
- Date: Tue, 06 Mar 2012 10:16:43 -0600
- Subject: Re: libffi fails to build on powerpc64-linux
- References: <50878.10.0.66.17.1331007647.squirrel@interact.purplecow.org>
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