Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(354)

Issue 1833263002: Disable incremental linking for gn osmesa (Closed)

Created:
4 years, 9 months ago by brucedawson
Modified:
4 years, 8 months ago
Reviewers:
jam, scottmg
CC:
chromium-reviews, Nico, scottmg
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable incremental linking for gn osmesa Due to a VS 2015 linker bug the linker sometimes crashes when incrementally linking osmesa.dll. The bug is understood by Microsoft and will be fixed but while waiting for the fix it would be nice to avoid the crash. This disables incremental linking for gn builds only. I could not get disabling for gyp builds to work so this is a partial fix. gn FTW! BUG=440500, 482671 Committed: https://crrev.com/ebdb684a77d95889be31d09df5973297ca4decce Cr-Commit-Position: refs/heads/master@{#383420}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Remove non-working gyp fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M third_party/mesa/BUILD.gn View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
brucedawson
This will avoid osmesa linker crashes on gn builds. I don't know why the disabling ...
4 years, 9 months ago (2016-03-25 21:40:55 UTC) #2
brucedawson
Adding thakis@ since he was also hitting crashes and may know what is wrong with ...
4 years, 9 months ago (2016-03-25 21:47:05 UTC) #3
jam
lgtm
4 years, 9 months ago (2016-03-25 22:34:03 UTC) #4
brucedawson
On 2016/03/25 22:34:03, jam wrote: > lgtm Any idea why the gyp variant doesn't work? ...
4 years, 9 months ago (2016-03-25 22:44:30 UTC) #5
brucedawson
scottmg@ - any idea why the gyp version of this is failing to disable incremental ...
4 years, 9 months ago (2016-03-25 23:06:52 UTC) #6
brucedawson
On 2016/03/25 23:06:52, brucedawson wrote: > scottmg@ - any idea why the gyp version of ...
4 years, 9 months ago (2016-03-26 00:00:44 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1833263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1833263002/20001
4 years, 9 months ago (2016-03-26 00:01:10 UTC) #11
jam
no idea, I only use gn at this point On Fri, Mar 25, 2016 at ...
4 years, 9 months ago (2016-03-26 00:05:20 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-26 00:38:45 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/ebdb684a77d95889be31d09df5973297ca4decce Cr-Commit-Position: refs/heads/master@{#383420}
4 years, 9 months ago (2016-03-26 00:41:53 UTC) #16
scottmg
4 years, 8 months ago (2016-03-29 17:03:43 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/1833263002/diff/1/third_party/mesa/mesa.gyp
File third_party/mesa/mesa.gyp (right):

https://codereview.chromium.org/1833263002/diff/1/third_party/mesa/mesa.gyp#n...
third_party/mesa/mesa.gyp:694: 'msvs_debug_link_incremental': '1',
I don't know what that variable is supposed to do. I think you want
msvs_settings>VCLinkerTool>LinkIncremental: 1.

Powered by Google App Engine
This is Rietveld 408576698