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

Issue 1952353004: use icf=safe w/ gcc+gold+x86/x64, icf=all w/ gold elsewhere. (Closed)

Created:
4 years, 7 months ago by Dirk Pranke
Modified:
4 years, 7 months ago
Reviewers:
Nico, Roland McGrath
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@roll_binutils
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

use icf=safe w/ gcc+gold+x86/x64, icf=all w/ gold elsewhere. This is another attempt to fix which flags we use by default when linking w/ gold. The interaction of gold + gcc on intel platforms appears buggy, so we only use icf=safe there; gold + gcc on non-intel platforms, and gold + clang on intel can use icf=all, as long as we have the latest binutils. This change is GN-only, since linux GYP builds are on their last breaths and it's not worth worrying about x86 flags there. R=mcgrathr@chromium.org, thakis@chromium.org BUG=576197 Committed: https://crrev.com/a403dd9d7c3b7d3619da3ef989f4666e1e11cf95 Cr-Commit-Position: refs/heads/master@{#393563}

Patch Set 1 #

Patch Set 2 : s/target_arch/target_cpu #

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

Messages

Total messages: 14 (5 generated)
Dirk Pranke
This patch depends on the latest version of binutils that Roland is rolling in ...
4 years, 7 months ago (2016-05-05 22:35:53 UTC) #1
Roland McGrath
lgtm
4 years, 7 months ago (2016-05-05 23:29:50 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952353004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952353004/1
4 years, 7 months ago (2016-05-13 01:25:15 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/65855) android_compile_dbg on tryserver.chromium.android (JOB_FAILED, ...
4 years, 7 months ago (2016-05-13 01:28:39 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952353004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952353004/20001
4 years, 7 months ago (2016-05-13 16:10:34 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-13 17:20:12 UTC) #10
Nico
Wait, what? Wasn't the consensus that icf=all should be as safe on 32-bit as on ...
4 years, 7 months ago (2016-05-13 17:21:36 UTC) #11
Nico
...nvm, missed the is_clang bit. all good.
4 years, 7 months ago (2016-05-13 17:22:05 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 17:22:10 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a403dd9d7c3b7d3619da3ef989f4666e1e11cf95
Cr-Commit-Position: refs/heads/master@{#393563}

Powered by Google App Engine
This is Rietveld 408576698