Update gold linker to 2.23.1
This is the second attempt to integrate latest gold version. The first time around there were crashes seen on 32-bit linux hosts. Disabling multi-threaded linking on 32-bit hosts fixes the issue. BUG=161942 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/11444012 git-svn-id: http://src.chromium.org/svn/trunk/src/build@171917 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
9a274ebd6e
Коммит
9d74007ab5
19
common.gypi
19
common.gypi
|
@ -2808,14 +2808,19 @@
|
|||
],
|
||||
}],
|
||||
['linux_use_gold_flags==1', {
|
||||
'ldflags': [
|
||||
# Experimentation found that using four linking threads
|
||||
# saved ~20% of link time.
|
||||
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
|
||||
'-Wl,--threads',
|
||||
'-Wl,--thread-count=4',
|
||||
],
|
||||
'conditions': [
|
||||
# Don't enable multi-threaded linking for 32-bit targets as it
|
||||
# causes intermittent crashed on lucid32: http://crbug.com/161942
|
||||
# TODO(sbc): remove this once gold bug is fixed
|
||||
['host_arch!="ia32"', {
|
||||
'ldflags': [
|
||||
# Experimentation found that using four linking threads
|
||||
# saved ~20% of link time.
|
||||
# https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/281527606915bb36
|
||||
'-Wl,--threads',
|
||||
'-Wl,--thread-count=4',
|
||||
],
|
||||
}],
|
||||
['release_valgrind_build==0', {
|
||||
'target_conditions': [
|
||||
['_toolset=="target"', {
|
||||
|
|
Загрузка…
Ссылка в новой задаче