Closed Bug 487197 Opened 15 years ago Closed 15 years ago

liboggplay failed to compile on OpenSolaris

Categories

(Core :: Audio/Video, defect)

x86
OpenSolaris
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Tracking Status
status1.9.2 --- beta1-fixed
status1.9.1 --- .4-fixed

People

(Reporter: ginnchen+exoracle, Assigned: ginnchen+exoracle)

References

Details

Attachments

(1 file, 2 obsolete files)

The code is not compatible with Sun Studio 12 compiler
e.g. __asm__ is not supported, ATTR_ALIGN(16) is not supported either
Also using inline asm of SSE2 with Sun Studio 12 may makes Firefox binary won't run on a machine without SSE2. Because SSE2 is added to HWCAP of the binary.

I think we may want to disable all inline asm for Sun Studio 12 in this module for now.
We can check __SUNPRO_C.
Attached patch patch (obsolete) — Splinter Review
Disable the feature for Sun Studio for now.

return with statement should not be used in void function, although gcc allows it.
Assignee: nobody → ginn.chen
Status: NEW → ASSIGNED
Attachment #372558 - Flags: review?(wiking)
(In reply to comment #1)
> return with statement should not be used in void function, although gcc allows
> it.

Oops, sorry about that.  It's legal to do that in C++, but not in C.
Attached patch patch v2 (obsolete) — Splinter Review
Update to current trunk/1.9.1
Attachment #372558 - Attachment is obsolete: true
Attachment #372558 - Flags: review?(wiking)
Attached patch patch v3Splinter Review
Update to HEAD
Attachment #379064 - Attachment is obsolete: true
Fix integrated by http://hg.mozilla.org/mozilla-central/rev/fb6d235b9efb
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Reopen, since it was backed out.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Requires liboggplay changeset 5814d283ef6458a9b9472b1b307c968f70b4cfaa to fix.
Fixed on trunk and 1.9.2 by bug 512328 checkin.

Ginn can you please verify that this is fixed, and reopen if it's not fixed?
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Fixed on 1.9.1 by checkin of bug 512328 on 1.9.1.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: