Closed
Bug 699385
(RequireWin7SDK)
Opened 13 years ago
Closed 13 years ago
Remove support for pre-Windows 7 SDKs
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla12
People
(Reporter: rain1, Assigned: rain1)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 1 obsolete file)
We either have to have MOZ_NTDDI_ checks or redefine enums all over the place. It'd be nice to get rid of everything. (Do we still care about mingw builds at all?)
This should probably be done once we move to MSVC 2010.
Assignee | ||
Comment 1•13 years ago
|
||
I think it'll be good to leave the infrastructure in so that we can use it if we need it again later.
Assignee: nobody → sagarwal
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•13 years ago
|
||
sorry, detritus sneaked in.
Attachment #571628 -
Attachment is obsolete: true
Comment 3•13 years ago
|
||
Yeah, we'll probably wind up using this again in the future. I'm fine with making Windows 7 the minimum required SDK. And yes, Jacek is still actively maintaining a mingw port, so let's not go out of our way to break him.
Assignee | ||
Updated•13 years ago
|
Attachment #571630 -
Flags: review?(ted.mielczarek)
Attachment #571630 -
Flags: feedback?(jacek)
Comment 4•13 years ago
|
||
Comment on attachment 571630 [details] [diff] [review]
proposed patch
Thanks for taking case of mingw port. I've fixed building with win7 sdk target on mingw a few moths ago on both mingw-w64 and Mozilla sides. A few Mozilla patches are still waiting for review, but that's usual for mingw build fixes, so as far as I'm concerned, the patch is fine.
Attachment #571630 -
Flags: feedback?(jacek) → feedback+
Comment 5•13 years ago
|
||
Comment on attachment 571630 [details] [diff] [review]
proposed patch
Review of attachment 571630 [details] [diff] [review]:
-----------------------------------------------------------------
Might as well wait to land this till after the Aurora migration just to give everyone an extra cycle to deal with it.
Attachment #571630 -
Flags: review?(ted.mielczarek) → review+
Comment 6•13 years ago
|
||
Comment on attachment 571630 [details] [diff] [review]
proposed patch
Sorry for jumping on this, but I feel I must.
MOZ_WINSDK_TARGETVER
We should cleanup these tests in the tree, (followup ok) but the ones in configure.in (and maybe js/src/configure.in) should be cleaned up here imo.
In hunk 1 in this diff we have a | if test "$MOZ_WINSDK_TARGETVER" -lt "06000000"; then| already, which is currently invalid anyway.
It also might obsolete other config vars we can drop entirely from the tree.
Attachment #571630 -
Flags: review-
Updated•13 years ago
|
Depends on: PSDK2003R2Removal
Comment 7•13 years ago
|
||
(In reply to Justin Wood (:Callek) from comment #6)
> the ones in
> configure.in (and maybe js/src/configure.in) should be cleaned up here imo.
If not in this patch, at least in a second one in this bug ;-)
(Yes, JS is usually updated in sync', unless it wouldn't be wanted here.)
> It also might obsolete other config vars we can drop entirely from the tree.
Version: unspecified → Trunk
Comment 8•13 years ago
|
||
(In reply to Ted Mielczarek [:ted, :luser] from comment #5)
> Might as well wait to land this till after the Aurora migration just to give
> everyone an extra cycle to deal with it.
1 or 2 "Aurora migration" must have happened since then.
Can this land now, per bug 629827 comment 4?
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #8)
> (In reply to Ted Mielczarek [:ted, :luser] from comment #5)
> > Might as well wait to land this till after the Aurora migration just to give
> > everyone an extra cycle to deal with it.
>
> 1 or 2 "Aurora migration" must have happened since then.
> Can this land now, per bug 629827 comment 4?
No, this shouldn't land before we switch to MSVC10.
Comment 10•13 years ago
|
||
Any particular reason? I don't think they have to be tied together, do they?
Assignee | ||
Comment 11•13 years ago
|
||
(In reply to Ted Mielczarek [:ted, :luser] from comment #10)
> Any particular reason? I don't think they have to be tied together, do they?
Well, Callek mentioned that the Windows 7 SDK doesn't work with MSVC8's express edition, so people trying to build with the free version of the compiler we use for official builds are going to be screwed in the meanwhile. On the other hand, I think the SDK is as big a difference as the compiler, so people haven't been able to get official-like builds with free tools for a while...
Comment 12•13 years ago
|
||
Yeah, I'm not particularly worried about that. I think it's a pain in the ass to even find VC8EE for download now anyway. Most people that want to do builds with free tools are probably getting VC10EE now.
Updated•13 years ago
|
Whiteboard: [waiting on MSVC10 support]
Comment 13•13 years ago
|
||
(In reply to Ted Mielczarek [:ted, :luser] from comment #12)
> Yeah, I'm not particularly worried about that. I think it's a pain in the
> ass to even find VC8EE for download now anyway. Most people that want to do
> builds with free tools are probably getting VC10EE now.
I'm a firm believer that as long as our official builds are MSVC8 we should support MSVC8 EE.
A binary extension built with MSVC9EE won't work with MSVC8 Pro binaries (c.f. Lightning, for example -- I know building locally with MSVC9 won't let lightning run on official builds, but works fine on a local build of lightning)
Just because its hard does not mean its impossible, and I explicitly took MSVC8EE on my Win7 machine because that is our officially supported version, being unable to build with the used SDK on the officially supported [and currently used] free version of MSVC compiler is a huge burden with no real benefit to this landing earlier.
Assignee | ||
Comment 14•13 years ago
|
||
> being unable to build with the used SDK on the officially supported [and
> currently used] free version of MSVC compiler is a huge burden with no real
> benefit to this landing earlier.
I don't really follow this -- this is how it is right now, since VC8 EE doesn't work with the Windows 7 SDK.
Anyway, this patch is inbound:
http://hg.mozilla.org/integration/mozilla-inbound/rev/3950aa85276d
Whiteboard: [waiting on MSVC10 support] → [inbound]
Comment 15•13 years ago
|
||
So we are landing this without msvc10 support? If so it shouldn't block that bug, and the white board can be cleared.
Comment 16•13 years ago
|
||
(eh, "depend on" that bug I mean)
Assignee | ||
Comment 17•13 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #15)
> So we are landing this without msvc10 support?
Yeah.
Assignee | ||
Comment 18•13 years ago
|
||
(Sorry, forgot to mention that I did a bit of additional cleanup in the patch I checked in. All of it's r=ted over irc.)
Assignee | ||
Updated•13 years ago
|
No longer depends on: PSDK2003R2Removal
Assignee | ||
Comment 21•13 years ago
|
||
Followup patch removing a bit from js/src/configure.in I forgot to tackle the first time round: http://hg.mozilla.org/integration/mozilla-inbound/rev/0eef9179ab0d
Comment 22•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/3950aa85276d
https://hg.mozilla.org/mozilla-central/rev/0eef9179ab0d
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → mozilla12
Updated•13 years ago
|
Keywords: dev-doc-needed
Updated•13 years ago
|
Flags: in-testsuite-
Updated•13 years ago
|
Alias: RequireWin7SDK
Comment 23•13 years ago
|
||
This page was already updated:
https://developer.mozilla.org/En/Windows_SDK_versions
Mentioned on Firefox 12 for developers.
Keywords: dev-doc-needed → dev-doc-complete
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•