WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
38941
build-webkit shouldn’t override ENABLE_FOO Xcode configuration settings
https://bugs.webkit.org/show_bug.cgi?id=38941
Summary
build-webkit shouldn’t override ENABLE_FOO Xcode configuration settings
Mark Rowe (bdash)
Reported
2010-05-11 15:36:19 PDT
build-webkit always passes every ENABLE_FOO macro that it knows about through to xcodebuild. This leads to the default values in FeatureDefines.xcconfig being ignored. Since build-webkit is used solely by OpenSource-only builds this results in non-obvious problems: 1) Mismatched ENABLE_FOO settings across projects are not apparent. 2) Inconsistent default values between build-webkit and FeatureDefines.xcconfig results in world builds when switching between the different means of building. build-webkit should only be passing ENABLE_FOO settings to xcodebuild if their values are explicitly being overridden.
Attachments
Add attachment
proposed patch, testcase, etc.
Mark Rowe (bdash)
Comment 1
2010-05-11 15:37:29 PDT
The symptoms of 1) are particularly nasty: vtable layouts for classes can differ between projects, which at worst results in mysterious behavior but often simply results in a crash on launch.
Mark Rowe (bdash)
Comment 2
2010-05-11 16:13:25 PDT
I landed a change in
r59181
that has build-webkit not pass ENABLE_FOO settings to xcodebuild if the value matches the default. This should help reveal both classes of issue.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug