Closed
Bug 583849
Opened 13 years ago
Closed 13 years ago
Use YASM to build libvpx on Win32
Categories
(Firefox Build System :: General, defect)
Tracking
(blocking2.0 betaN+)
RESOLVED
FIXED
mozilla2.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | betaN+ |
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
19.56 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
I'm told that yasm now fully supports SAFESEH on Win32, so we should, in theory, be able to build libvpx on Win32 using the newest version of yasm.
Assignee | ||
Comment 1•13 years ago
|
||
I tested this with yasm r2348 [1] on Windows 7. The yasm devs indicated to me that they'd be willing to spin a 1.0.2 release sometime soon, although personally I'm fine including their trunk build in Mozilla Build. [1] http://www.tortall.net/projects/yasm/snapshots/r2348/yasm-r2348.exe
Attachment #462263 -
Flags: review?(tterribe)
Assignee | ||
Comment 2•13 years ago
|
||
This patch should probably check the yasm version to make sure it's 1.1.0 or greater. (v1.1.0 is the final name of the 1.0.2 release mentioned above.) My configure-fu is not so great, however.
Comment 3•13 years ago
|
||
Generally you'd just run yasm --version and use sed to capture the version number, then do some awful shell logic to test that the version is what you want.
Assignee | ||
Comment 4•13 years ago
|
||
All right; canceling this review until I add in the yasm version check.
Assignee | ||
Updated•13 years ago
|
Attachment #462263 -
Flags: review?(tterribe)
Assignee | ||
Comment 5•13 years ago
|
||
Now with a yasm version check. Of course, we can't check this in at least until yasm 1.1 is on the Windows build machines and is included in some version of mozilla-build.
Assignee: nobody → justin.lebar+bug
Attachment #462263 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #465731 -
Flags: review?(ted.mielczarek)
Comment 6•13 years ago
|
||
The documentation at https://developer.mozilla.org/en/YASM will need to be updated. Just noting that here so that it's not forgotten.
Per comment 6.
Keywords: dev-doc-needed
Comment 8•13 years ago
|
||
Comment on attachment 465731 [details] [diff] [review] Patch v2 Nice.
Attachment #465731 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 9•13 years ago
|
||
Comment on attachment 465731 [details] [diff] [review] Patch v2 Requesting approval 2.0. Thanks for the review!
Attachment #465731 -
Flags: approval2.0?
Comment 10•13 years ago
|
||
We can't land this without bug 583924 being fixed anyway, right?
Make sure that when you rebase this on tip that you don't regress bug 587363.
Assignee | ||
Comment 12•13 years ago
|
||
(In reply to comment #10) > We can't land this without bug 583924 being fixed anyway, right? Yes. Do you think I should wait to request approval until that one gets fixed?
Assignee | ||
Comment 13•13 years ago
|
||
(In reply to comment #11) > Make sure that when you rebase this on tip that you don't regress bug 587363. Nice catch. Thanks.
Assignee | ||
Comment 14•13 years ago
|
||
Ted, I'm not too familiar with how we handle updates which will break people if they're using the old MozillaBuild. Can we check this in (pending approval) now that the win32 build machines have the new yasm, or do we need to somehow notify Windows users that the need to update their build system?
Comment 15•13 years ago
|
||
If it won't break the build machines you can land it. If you're going to require everyone to update to MozillaBuild 1.5.1, please post to dev.planning and blog about it before landing, so most people know. Also, make the error message on Windows very explicit about updating to MozillaBuild 1.5.1.
Assignee | ||
Comment 16•13 years ago
|
||
Actually, this blocks bug 593753 which blocks bug 584253 which blocks release, so I don't need approval for this patch. I posted to dev.planning and will post to my blog (and syndicate to pmo) tomorrow.
Assignee | ||
Updated•13 years ago
|
Attachment #465731 -
Flags: approval2.0?
Comment 17•13 years ago
|
||
I don't believe blocking works transitively.
Assignee | ||
Comment 18•13 years ago
|
||
(In reply to comment #17) > I don't believe blocking works transitively. Apparently not. I'll request approval again.
Assignee | ||
Updated•13 years ago
|
Attachment #465731 -
Flags: approval2.0?
Comment 19•13 years ago
|
||
Alternately, you could request blocking since this blocks a blocker of a blocker. :)
Assignee | ||
Updated•13 years ago
|
Attachment #465731 -
Flags: approval2.0?
blocking2.0: ? → betaN+
Assignee | ||
Comment 21•13 years ago
|
||
Pushed to try: Try push: http://hg.mozilla.org/try/rev/ffdf2f66d8b8 If all goes well, I'll land tomorrow morning.
Assignee | ||
Comment 22•13 years ago
|
||
cpearce actually pushed this patch to try yesterday, and it looked good. I'll land soon! http://hg.mozilla.org/try/rev/1178065b0dbb
Comment 23•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3056a0e0d970 broke comm-central Windows!
Comment 24•13 years ago
|
||
(In reply to comment #23) > http://hg.mozilla.org/mozilla-central/rev/3056a0e0d970 > broke comm-central Windows! You probably need to install YASM 1.1 (or the new MozillaBuild 1.5.1?) on the c-c build machines?
Assignee | ||
Comment 25•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/3056a0e0d970
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 26•13 years ago
|
||
(In reply to comment #24) > You probably need to install YASM 1.1 (or the new MozillaBuild 1.5.1?) on the > c-c build machines? Bug 594468. I just wished this bug had waited for the updates to be done :-/
Depends on: 594468
Updated•13 years ago
|
Target Milestone: --- → mozilla2.0b6
Assignee | ||
Comment 27•13 years ago
|
||
(In reply to comment #26) > Bug 594468. > I just wished this bug had waited for the updates to be done :-/ I'm sorry. I tried to make sure we'd been loud enough about this change, but I clearly didn't do a good enough job.
Comment 28•13 years ago
|
||
Would someone like to update these pages to mention that YASM is required, and details about how to get and install it? Should be pretty trivial, but would be best coming from someone that's done it: https://developer.mozilla.org/En/Developer_Guide/Build_Instructions/Windows_Prerequisites#Software_Requirements https://developer.mozilla.org/en/YASM https://developer.mozilla.org/En/Simple_Firefox_build
Comment 29•13 years ago
|
||
It comes with MozillaBuild 1.5.1, so updating the docs should be easy.
Comment 30•13 years ago
|
||
Someone (Ted, I presume) updated the main YASM page. I took care of the other two.
Keywords: dev-doc-needed → dev-doc-complete
Comment 31•13 years ago
|
||
that means that is libjpeg turbo coming ?
Updated•5 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•