Closed Bug 639204 Opened 14 years ago Closed 14 years ago

Fix link with xcode 4

Categories

(Core :: Audio/Video, defect)

x86
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla5

People

(Reporter: espindola, Assigned: espindola)

References

Details

Attachments

(1 file, 1 obsolete file)

It looks like the linker in xcode 4 is picky about how one should compute the GOT. This patch changes the assembly in webm to use the same sequence used by the compilers. Without it I get a link error on the 32 bit libxul. The sequence is simpler anyway. I did some basic tests by playing webm movies on youtube. I will send this upstream as soon as I get the agreement sorted out.
Rafael, did you mean to ask for review?
I assumed this should go upstream first, so I was waiting for the paperwork for the contributor agreement.
Assignee: nobody → respindola
Looks like this has merged upstream, who should review here?
The upstream commit is 52f6e28e9e5e176424c1c65ff13aa57abf9c00e6. Do we normally port individuals patches or do full merges of libvpx?
I'm probably the one who should review this. We do full merges of libvpx at periodic intervals, and port individual patches in the meantime. See https://wiki.mozilla.org/WebM/Updating_libvpx and the update.sh script in media/libvpx for details. I.e., if you want to add this as an individual patch, there should be a .patch file in media/libvpx that applies against the current in-tree version (0.9.5) and is included in the update.sh script (also in that directory).
Attachment #519198 - Flags: review? → review?(tterribe)
Attachment #519198 - Flags: review?(tterribe) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
Can someone confirm this as fixed?
Yes, I can now build with the xcode4 linker.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: