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

Issue 894463003: Linux: Enable multi-threading with the gold linker. (Closed)

Created:
5 years, 10 months ago by Lei Zhang
Modified:
5 years, 10 months ago
Reviewers:
tfarina, Nico, tzik
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Linux: Enable multi-threading with the gold linker. BUG=161942 Committed: https://crrev.com/226488abee2adbdb6e54e5bfca1c3b2f52f2da2d Cr-Commit-Position: refs/heads/master@{#314991}

Patch Set 1 #

Total comments: 2

Patch Set 2 : GN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -8 lines) Patch
M build/common.gypi View 1 chunk +2 lines, -4 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 1 chunk +2 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
Lei Zhang
5 years, 10 months ago (2015-02-05 05:05:23 UTC) #2
Nico
lgtm (bystanders: see bug for why this is landing again) Do you have numbers on ...
5 years, 10 months ago (2015-02-05 05:28:21 UTC) #3
Lei Zhang
On 2015/02/05 05:28:21, Nico wrote: > lgtm (bystanders: see bug for why this is landing ...
5 years, 10 months ago (2015-02-05 06:11:20 UTC) #4
tzik
https://codereview.chromium.org/894463003/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/894463003/diff/1/build/common.gypi#newcode4403 build/common.gypi:4403: '-Wl,--thread-count=4', Could you update corresponding part in build/config/compiler/BUILD.gn too?
5 years, 10 months ago (2015-02-05 07:15:23 UTC) #6
Lei Zhang
On 2015/02/05 06:11:20, Lei Zhang wrote: > On 2015/02/05 05:28:21, Nico wrote: > > lgtm ...
5 years, 10 months ago (2015-02-05 23:22:08 UTC) #7
Lei Zhang
And of course the target audience will likely have a warm cache when building. I'm ...
5 years, 10 months ago (2015-02-05 23:27:31 UTC) #9
tzik
lgtm
5 years, 10 months ago (2015-02-06 02:24:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894463003/20001
5 years, 10 months ago (2015-02-06 06:25:32 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 10 months ago (2015-02-06 07:15:02 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/226488abee2adbdb6e54e5bfca1c3b2f52f2da2d Cr-Commit-Position: refs/heads/master@{#314991}
5 years, 10 months ago (2015-02-06 07:15:52 UTC) #14
Lei Zhang
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/909583002/ by thestig@chromium.org. ...
5 years, 10 months ago (2015-02-06 21:44:21 UTC) #15
tfarina
Lei, could this be the cause of my errors in https://codereview.chromium.org/920443003/? I think this kind ...
5 years, 10 months ago (2015-02-16 16:03:47 UTC) #17
Lei Zhang
5 years, 10 months ago (2015-02-17 20:16:21 UTC) #18
Message was sent while issue was closed.
On 2015/02/16 16:03:47, tfarina wrote:
> Lei, could this be the cause of my errors in
> https://codereview.chromium.org/920443003/

Yes, it's because you forced the gold flags on. Someone else had the same
problem, so we are asking the Android NDK folks to enable threading for their
toolchain.

> I think this kind of change deserves a PSA on chromium-dev anyway. Sorry if it
> was sent and missed it though.

There wasn't a PSA because:
a) The CL got reverted.
b) If you don't force GYP flags on, you wouldn't have hit that problem.
c) A change like this should "just work" behind the scenes and require no user
action.

Powered by Google App Engine
This is Rietveld 408576698