This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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
>

Attachment: powerpc-ffi-softfloat.patch
Description: powerpc-ffi-softfloat.patch


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]