|
|
Descriptionmac, GN: Pass 10.6 as deployment target.
Previously, GN was using the sdk version as the deployment target,
which meant gn-built binaries couldn't run on OS X versions
older than 10.10 after updating the SDK to 10.10.
With this fix, mac GN matches the behavior of Mac GYP.
BUG=463170
Committed: https://crrev.com/e194adc1f7bdeeb500dcd357283d512651b6bf1b
Cr-Commit-Position: refs/heads/master@{#342908}
Patch Set 1 #
Total comments: 1
Patch Set 2 : Comments from thakis. #Patch Set 3 : Comments from thakis. #
Total comments: 2
Patch Set 4 : Fix comment typo. #
Messages
Total messages: 22 (4 generated)
erikchen@chromium.org changed reviewers: + thakis@chromium.org
thakis: Please review.
not lgtm We have to fix these, not suppress them.
Unless you also up the deployment target, there shouldn't be more warnings either, no?
See also the similar discussion in https://codereview.chromium.org/1180583002/ On Tue, Aug 11, 2015 at 1:38 PM, <thakis@chromium.org> wrote: > Unless you also up the deployment target, there shouldn't be more warnings > either, no? > > https://codereview.chromium.org/1285493004/ > To unsubscribe from this group and stop receiving emails from it, send an email to chromium-reviews+unsubscribe@chromium.org.
(complained on https://codereview.chromium.org/1250913002/#msg45) https://codereview.chromium.org/1285493004/diff/1/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/1285493004/diff/1/base/BUILD.gn#newcode15 base/BUILD.gn:15: if (is_ios || is_mac) { …why is this block even here? It was removed from https://codereview.chromium.org/1180583002 …
Maybe we don't pass the right -mmacosx-version-min in the gn build?
On 2015/08/11 20:38:14, Nico (hiding) wrote: > Unless you also up the deployment target, there shouldn't be more warnings > either, no? Right now GN does not have the same behavior as GYP, which appears to ignore these warnings (although I don't know why yet). Right now, GN bots are red on the waterfall because they can't build base_unittests. In the short term, we can: 1) Revert the 10.10 SDK change. (The change triggered the warnings, but isn't the root cause of the problem) 2) Leave the bots red. 3) Stop compiling base_unittests and/or take the bots offline 4) Submit this CL. The long term solution is to stop using deprecated functions. I've filed a bug: https://code.google.com/p/chromium/issues/detail?id=519661
On 2015/08/11 20:51:40, erikchen wrote: > On 2015/08/11 20:38:14, Nico (hiding) wrote: > > Unless you also up the deployment target, there shouldn't be more warnings > > either, no? > > Right now GN does not have the same behavior as GYP, which appears to ignore > these warnings (although I don't know why yet). I'm guessing it doesn't get them in the first place. I'm guessing gn doesn't pass the deployment flag correctly. > Right now, GN bots are red on > the waterfall because they can't build base_unittests. > > In the short term, we can: > 1) Revert the 10.10 SDK change. (The change triggered the warnings, but isn't > the root cause of the problem) > 2) Leave the bots red. > 3) Stop compiling base_unittests and/or take the bots offline > 4) Submit this CL. Leave the bot red while investigating, for a while, and if fixing takes more than end-of-today, revert.
On 2015/08/11 20:53:19, Nico (hiding) wrote: > On 2015/08/11 20:51:40, erikchen wrote: > > On 2015/08/11 20:38:14, Nico (hiding) wrote: > > > Unless you also up the deployment target, there shouldn't be more warnings > > > either, no? > > > > Right now GN does not have the same behavior as GYP, which appears to ignore > > these warnings (although I don't know why yet). > > I'm guessing it doesn't get them in the first place. I'm guessing gn doesn't > pass the deployment flag correctly. > > > Right now, GN bots are red on > > the waterfall because they can't build base_unittests. > > > > In the short term, we can: > > 1) Revert the 10.10 SDK change. (The change triggered the warnings, but isn't > > the root cause of the problem) > > 2) Leave the bots red. > > 3) Stop compiling base_unittests and/or take the bots offline > > 4) Submit this CL. > > Leave the bot red while investigating, for a while, and if fixing takes more > than end-of-today, revert. Yup, it looks like GN is setting -mmacosx-version-min=10.10. Investigating.
thakis: PTAL
lgtm, thanks!. I tweaked the CL description a bit.
The CQ bit was checked by erikchen@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285493004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285493004/40001
https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... File build/config/mac/mac_sdk.gni (right): https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... build/config/mac/mac_sdk.gni:14: # Path to a specific version of the Mac SDKJ, not including a backslash at While here, maybe you can s/SDKJ/SDK/ if you haven't hit cq already.
On 2015/08/11 21:16:40, Nico (hiding) wrote: > https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... > File build/config/mac/mac_sdk.gni (right): > > https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... > build/config/mac/mac_sdk.gni:14: # Path to a specific version of the Mac SDKJ, > not including a backslash at > While here, maybe you can s/SDKJ/SDK/ if you haven't hit cq already. …too late. Never mind :-)
https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... File build/config/mac/mac_sdk.gni (right): https://codereview.chromium.org/1285493004/diff/40001/build/config/mac/mac_sd... build/config/mac/mac_sdk.gni:14: # Path to a specific version of the Mac SDKJ, not including a backslash at On 2015/08/11 21:16:40, Nico (hiding) wrote: > While here, maybe you can s/SDKJ/SDK/ if you haven't hit cq already. Done.
The CQ bit was checked by erikchen@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from thakis@chromium.org Link to the patchset: https://codereview.chromium.org/1285493004/#ps60001 (title: "Fix comment typo.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1285493004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1285493004/60001
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/e194adc1f7bdeeb500dcd357283d512651b6bf1b Cr-Commit-Position: refs/heads/master@{#342908} |