Fwd: libffi: Build errors on PowerPC e500, test-suite failures on PowerPC soft-float

Moffett, Kyle D Kyle.D.Moffett@boeing.com
Fri Oct 7 21:58:00 GMT 2011


I am forwarding this upstream from Debian bug 644338:
  http://bugs.debian.org/644338

Please see the following URL for more information about the port:
  http://wiki.debian.org/PowerPCSPEPort

Your comments, suggestions, and critiques are highly appreciated.

Cheers,
Kyle Moffett

> From: "Moffett, Kyle D" <Kyle.D.Moffett@boeing.com>
> Date: October 04, 2011 18:12:27 EDT
> To: Debian Bug Tracking System <submit@bugs.debian.org>
> Subject: libffi: Build errors on PowerPC e500, test-suite failures on PowerPC soft-float
>
> Package: libffi
> Severity: normal
> Tags: patch upstream
> User: debian-powerpcspe@breakpoint.cc
> Usertags: powerpcspe
>
> The Debian-Ports "powerpcspe" architecture can't currently build the
> libffi package for a couple reasons:
>
>  (1) The package contains lots of FP assembly instructions even when
>      built on a soft-float target, resulting in compile errors on the
>      Debian powerpcspe architecture (totally different FPU ops).
>
>  (2) The existing soft-float support code has buggy handling of 128-bit
>      values and results in testsuite failures on soft-float and e500
>      (powerpcspe) platforms even when it can be made to compile.
>
> The attached patch resolves both issues.
>
> Cheers,
> Kyle Moffett
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: powerpc-ffi-softfloat.patch
URL: <http://sourceware.org/pipermail/libffi-discuss/attachments/20111007/b7191f56/attachment.ksh>


More information about the Libffi-discuss mailing list