Closed Bug 582690 Opened 14 years ago Closed 9 years ago

Build failure on x86 cross-compiling ppc: unsupported encoding in FDE

Categories

(Core :: js-ctypes, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: sfink, Unassigned)

Details

Attachments

(1 file)

I really don't understand why this is a problem for me and not for the try server, but I am unable to generate a univeral osx binary. When I use the try server's mozconfig (in particular the part that cross-compiles a ppc binary), I get:

  ld: in darwin.o, unsupported encoding in FDE

I can "fix" it with the attached patch, but I really don't understand anything about this, so I have no idea whether it's correct or not. Perhaps we need a newer upstream libffi?

Why isn't everyone hitting this? Is there a secret incantation I am unaware of?
I'd recommend pushing this to the libffi devel list, libffi-discuss@sourceware.org, and see what people say. I don't know a whole lot about the ppc code.

There haven't been any changes to libffi's ppc asm code between our in-tree rev and tip.
(In reply to comment #0)
> Why isn't everyone hitting this? Is there a secret incantation I am unaware
> of?

Hi Steve,
I've only just been seeing this one, since I've just started on building my optimised builds on my new MacBook running 10.6

I've tried lots of different things in my mozconfig. None so far have gotten past this problem. Oh, trying to build Firefox 3.6.19
Ancient, almost certainly irrelevant. (If it is a problem for anyone, use the equivalent of my patch, I guess.)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: