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

Issue 2406673002: Build: disable CFI when LTO is disabled (Closed)

Created:
4 years, 2 months ago by Tom (Use chromium acct)
Modified:
4 years, 2 months ago
Reviewers:
Dirk Pranke
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Build: disable CFI when LTO is disabled Clang CFI relies on link-time optimization, so disable CFI when allow_posix_link_time_opt = false. http://clang.llvm.org/docs/ControlFlowIntegrity.html This was leading to linker errors on an official build with LTO disabled, such as: error: obj/native_client/src/shared/gio/libgio.a: no archive symbol table R=dpranke@chromium.org Committed: https://crrev.com/b2472ea7c13e04309fc6bf21c5c537071705e859 Cr-Commit-Position: refs/heads/master@{#424816}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M build/config/sanitizers/sanitizers.gni View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (17 generated)
Tom (Use chromium acct)
4 years, 2 months ago (2016-10-07 23:46:02 UTC) #2
Dirk Pranke
lgtm
4 years, 2 months ago (2016-10-08 16:46:23 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406673002/1
4 years, 2 months ago (2016-10-10 20:42:07 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/157473)
4 years, 2 months ago (2016-10-10 22:21:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406673002/1
4 years, 2 months ago (2016-10-12 01:21:09 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/85179)
4 years, 2 months ago (2016-10-12 01:32:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2406673002/1
4 years, 2 months ago (2016-10-12 19:12:50 UTC) #22
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-12 19:21:23 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 19:24:03 UTC) #26
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b2472ea7c13e04309fc6bf21c5c537071705e859
Cr-Commit-Position: refs/heads/master@{#424816}

Powered by Google App Engine
This is Rietveld 408576698