Revert of Linux: Enable multi-threading with the gold linker. (patchset #2 id:20001 of https://codereview.chromium.org/894463003/)

Reason for revert:
Several CrOS folks are reporting linker errors locally, even though the CrOS buildbots are green.

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

TBR=thakis@chromium.org,tzik@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=161942

Review URL: https://codereview.chromium.org/909583002

Cr-Original-Commit-Position: refs/heads/master@{#315113}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d83ce6e884d3a4de08ff6c5e21547408440bb6ac
This commit is contained in:
thestig 2015-02-06 13:45:27 -08:00 коммит произвёл Commit bot
Родитель 291fe204c7
Коммит a23b0c3225
2 изменённых файлов: 8 добавлений и 4 удалений

Просмотреть файл

@ -4406,8 +4406,10 @@
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
# Only apply this to the target linker, since the host
# linker might not be gold, but isn't used much anyway.
'-Wl,--threads',
'-Wl,--thread-count=4',
# TODO(raymes): Disable threading because gold is frequently
# crashing on the bots: crbug.com/161942.
# '-Wl,--threads',
# '-Wl,--thread-count=4',
],
}],
],

Просмотреть файл

@ -380,8 +380,10 @@ config("compiler") {
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
# Only apply this to the target linker, since the host
# linker might not be gold, but isn't used much anyway.
"-Wl,--threads",
"-Wl,--thread-count=4",
# TODO(raymes): Disable threading because gold is frequently
# crashing on the bots: crbug.com/161942.
#"-Wl,--threads",
#"-Wl,--thread-count=4",
]
}