This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Unknown FDE encoding - known issue? Resolved?
- From: Timothy Wall <twall at users dot sf dot net>
- To: Steve Fink <sphink at gmail dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Mon, 20 Sep 2010 19:42:12 -0400
- Subject: Re: Unknown FDE encoding - known issue? Resolved?
- References: <AANLkTi=4QDkXJFvds93doKEPuLGt=mD1jBZvtia8UEBf@mail.gmail.com>
I believe the issue is an invalid relocation type; apple has a python ctypes-derived version of libffi included with their systems that has patched the bug.
AFAIK it's not resolved in upstream libffi.
On Sep 20, 2010, at 6:46 PM, Steve Fink wrote:
> I apologize for the lack of detail, but this is a problem I ran into a
> while back while compiling Mozilla Firefox as a ppc executable (to be
> included in a universal binary). Mozilla is dropping support for ppc,
> but before I just abandon the bug I thought I should check to see if
> this is a known issue.
>
> The exact error message was "unsupported encoding in FDE". See
> https://bugzilla.mozilla.org/show_bug.cgi?id=582690
>
> I resolved it with the following patch, which I created but don't
> begin to understand:
> https://bug582690.bugzilla.mozilla.org/attachment.cgi?id=460945 (it
> was based off some random web search result that I didn't archive.)
>
> It switches the FDE (Flying Donkey Earmuff?) encoding from 0x90 to
> 0x10. That fixes the compile. Whether it actually now does what it's
> supposed to, I've no clue.
>
> If it's been resolved in a newer libffi, I might try importing that
> into Mozilla.
>
> Thanks,
> Steve