Bug 90090 - build-webkit should verify that your tools are up-to-date
Summary: build-webkit should verify that your tools are up-to-date
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Rowe (bdash)
URL:
Keywords: InRadar
: 97737 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-27 11:47 PDT by Simon Fraser (smfr)
Modified: 2013-09-20 16:00 PDT (History)
10 users (show)

See Also:


Attachments
patch (3.53 KB, patch)
2012-09-26 16:17 PDT, Enrica Casucci
mrowe: review-
Details | Formatted Diff | Diff
Patch v1 (6.93 KB, patch)
2013-09-20 12:35 PDT, Mark Rowe (bdash)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2012-06-27 11:47:02 PDT
The build scripts should check that your tools (Xcode and compiler versions) are up-to-date, and, if not, print out an error and refuse to build (with a pointer to how to update the tools).

Otherwise we have people trying to build with Xcode 3 and getting mysterious failures.
Comment 1 mitz 2012-06-27 11:51:00 PDT
(In reply to comment #0)
> The build scripts should check that your tools (Xcode and compiler versions) are up-to-date, and, if not, print out an error and refuse to build (with a pointer to how to update the tools).

That’s what checkRequiredSystemConfig() in webkitdirs.pm does.
Comment 2 Mark Rowe (bdash) 2012-06-27 11:54:54 PDT
What does "up-to-date" mean in this context?
Comment 3 Lucas Forschler 2012-06-27 12:00:16 PDT
checkRequiredSystemConfig checks for:

MacOS 10.4 or newer
Xcode 2.3 or newer
Comment 4 Simon Fraser (smfr) 2012-06-27 12:01:51 PDT
"up-to-date' means "know to successfully build the requested configuration. Preferably at or more recent that the oldest supported Xcode/compiler version.
Comment 5 Mark Rowe (bdash) 2012-06-27 12:16:39 PDT
Any version of Xcode 3 or greater knows how to build WebKit. The issue is simply that in some less commonly used configurations (e.g., with non-default arguments to build-webkit) the code generates extra warnings that break the build when GCC or LLVM GCC is used. We'd have to impose a minimum Xcode version of 4.2 in order to never use those compilers when building.
Comment 6 Simon Fraser (smfr) 2012-06-27 12:46:03 PDT
Then I think we should require Xcode 4.2.
Comment 7 Radar WebKit Bug Importer 2012-09-24 13:44:05 PDT
<rdar://problem/12361387>
Comment 8 Mark Rowe (bdash) 2012-09-26 16:11:25 PDT
*** Bug 97737 has been marked as a duplicate of this bug. ***
Comment 9 Enrica Casucci 2012-09-26 16:17:34 PDT
Created attachment 165892 [details]
patch
Comment 10 Eric Seidel (no email) 2013-01-04 00:52:57 PST
Attachment 165892 [details] was posted by a committer and has review+, assigning to Enrica Casucci for commit.
Comment 11 Mark Rowe (bdash) 2013-09-20 12:02:29 PDT
Comment on attachment 165892 [details]
patch

Marking as r- since this is now very out of date.
Comment 12 Mark Rowe (bdash) 2013-09-20 12:35:17 PDT
Created attachment 212206 [details]
Patch v1
Comment 13 David Kilzer (:ddkilzer) 2013-09-20 15:33:41 PDT
Comment on attachment 212206 [details]
Patch v1

r=me
Comment 14 WebKit Commit Bot 2013-09-20 16:00:32 PDT
Comment on attachment 212206 [details]
Patch v1

Clearing flags on attachment: 212206

Committed r156208: <http://trac.webkit.org/changeset/156208>
Comment 15 WebKit Commit Bot 2013-09-20 16:00:37 PDT
All reviewed patches have been landed.  Closing bug.