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: Dennis Clarke <dclarke at blastwave dot org>
- To: Anthony Green <green at moxielogic dot com>
- Cc: Peter Bergner <bergner at vnet dot ibm dot com>, kyle dot d dot moffett at boeing dot com, libffi-discuss at sourceware dot org, dclarke at blastwave dot org
- Date: Mon, 05 Mar 2012 23:20:47 -0500 (EST)
- Subject: Re: libffi fails to build on powerpc64-linux
- Reply-to: dclarke at blastwave dot org
> (let me preface this by apologizing for the build breakage)
>
> On Mon, Mar 5, 2012 at 7:28 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
>> Taking my best swag at where the soft_double_prep label should be
>> (comment said it should be handled like UINT64), I tried the following
>> patch which allows everything to build without warnings and seems to
>> pass the testsuite:
>>
>>
>> ? ? ? ? ? ? ? ?=== libffi Summary ===
>>
>> # of expected passes ? ? ? ? ? ?1659
>> # of unsupported tests ? ? ? ? ?55
>
> Those results look fine, however, the soft_double_prep label was
> specifically removed by this patch...
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=powerpc-ffi-softfloat.patch;att=1;bug=644338
>
> ...which was designed to enable support for soft-float ppc targets,
> among other things. I see now that the original patch didn't remove
> all references to soft_double_prep.
>
> At this point, I'm hoping that Kyle Moffett, the author of this patch
> can have a look. My guess is that either I mis-applied the patch, or
> he posted the wrong patch to apply.
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.
Dennis
--
--
http://pgp.mit.edu:11371/pks/lookup?op=vindex&search=0x1D936C72FA35B44B
+-------------------------+-----------------------------------+
| Dennis Clarke | Solaris and Linux and Open Source |
| dclarke@blastwave.org | Respect for open standards. |
+-------------------------+-----------------------------------+