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

Issue 1243373003: Turn off -Wl,-z,defs when building with CFI diagnostics. (Closed)

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

Description

Turn off -Wl,-z,defs and -fno-rtti when building with CFI diagnostics. The CFI diagnostic mode requires a runtime library, so we need to disable -Wl,-z,defs in order to allow DSOs to link with undefined references to the runtime library, as we do for the other sanitizers which require runtime libraries. The diagnostic mode can also issue better diagnostics if RTTI is enabled, so enable RTTI if the diagnostic mode is enabled. BUG=512614 R=thakis@chromium.org Committed: https://crrev.com/7f19422b7c2f1ecb2541a510321c9ae9ed1886ca Cr-Commit-Position: refs/heads/master@{#342955}

Patch Set 1 #

Patch Set 2 : Also turn of -fno-rtti #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M build/common.gypi View 1 2 chunks +7 lines, -1 line 5 comments Download

Messages

Total messages: 14 (1 generated)
pcc1
5 years, 5 months ago (2015-07-22 15:34:45 UTC) #1
pcc1
On 2015/07/22 15:34:45, pcc1 wrote: Ping. (Sorry.)
5 years, 4 months ago (2015-07-30 23:57:19 UTC) #2
pcc1
On 2015/07/30 23:57:19, pcc1 wrote: > On 2015/07/22 15:34:45, pcc1 wrote: > > Ping. (Sorry.) ...
5 years, 4 months ago (2015-08-10 18:27:18 UTC) #3
Nico
https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi#newcode3642 build/common.gypi:3642: ['(OS=="linux" or OS=="android") and asan==0 and msan==0 and tsan==0 ...
5 years, 4 months ago (2015-08-10 19:13:09 UTC) #4
pcc1
https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi#newcode6112 build/common.gypi:6112: ], On 2015/08/10 19:13:09, Nico (hiding) wrote: > That's ...
5 years, 4 months ago (2015-08-10 19:30:04 UTC) #5
Nico
https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi#newcode6112 build/common.gypi:6112: ], On 2015/08/10 19:30:04, pcc1 wrote: > On 2015/08/10 ...
5 years, 4 months ago (2015-08-11 22:09:14 UTC) #6
pcc1
https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/1243373003/diff/20001/build/common.gypi#newcode6112 build/common.gypi:6112: ], On 2015/08/11 22:09:13, Nico (hiding) wrote: > On ...
5 years, 4 months ago (2015-08-11 22:37:57 UTC) #7
Nico
lgtm
5 years, 4 months ago (2015-08-11 22:40:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1243373003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1243373003/20001
5 years, 4 months ago (2015-08-11 22:41:46 UTC) #10
Nico
Oh, is this needed in some gn file too?
5 years, 4 months ago (2015-08-11 22:43:42 UTC) #11
pcc1
On 2015/08/11 22:43:42, Nico (hiding) wrote: > Oh, is this needed in some gn file ...
5 years, 4 months ago (2015-08-11 22:44:36 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-12 01:27:28 UTC) #13
commit-bot: I haz the power
5 years, 4 months ago (2015-08-12 01:28:19 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7f19422b7c2f1ecb2541a510321c9ae9ed1886ca
Cr-Commit-Position: refs/heads/master@{#342955}

Powered by Google App Engine
This is Rietveld 408576698