Closed Bug 1714872 Opened 4 years ago Closed 4 years ago

Several "unknown option -msse4.1" build warnings when compiling SeaMonkey 2.53 and 2.57 with MSVC

Categories

(SeaMonkey :: Build Config, task)

SeaMonkey 2.53

Tracking

(seamonkey2.53+ fixed)

RESOLVED FIXED
seamonkey2.53
Tracking Status
seamonkey2.53 + fixed

People

(Reporter: frg, Assigned: frg)

Details

(Whiteboard: SM2.53.9)

Attachments

(1 file)

MSVC is no longer supported in central but we still allow for it.

media\libwebp\src\dsp\moz.build sets -msse4.1 unconditionally which is wrong for MSVC. It uses -arch: but there is no option for SSE4.1. Files compile fine even without because the instructions are enabled in the affected cpp file. So just do not set this for Windows when using this compiler only.

For our private 2.53 and 2.57 branches only.

[Approval Request Comment]
Regression caused by (bug #): --
User impact if declined: no impact. We ship webp since a few releases already.
Testing completed (on m-c, etc.): 2.53.9b1 pre
Risk to taking this patch (and alternatives if risky): trivial
String changes made by this patch: --

Attachment #9225469 - Flags: review?(iann_bugzilla)
Attachment #9225469 - Flags: approval-comm-release?
Attachment #9225469 - Flags: approval-comm-esr60?
Version: Trunk → SeaMonkey 2.53 Branch

Comment on attachment 9225469 [details] [diff] [review]
1714872-msvc-nosse41-2539.patch

[Triage Comment]
As far as I can tell this good, if it doesn't break anything on your / WG9s' builds r/a=me

Attachment #9225469 - Flags: review?(iann_bugzilla)
Attachment #9225469 - Flags: review+
Attachment #9225469 - Flags: approval-comm-release?
Attachment #9225469 - Flags: approval-comm-release+
Attachment #9225469 - Flags: approval-comm-esr60?
Attachment #9225469 - Flags: approval-comm-esr60+
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.53
Version: SeaMonkey 2.53 Branch → SeaMonkey 2.53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: