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

Issue 2192833002: Fix GN generation for WinASAN build (Closed)

Created:
4 years, 4 months ago by etienneb
Modified:
4 years, 4 months ago
CC:
chromium-reviews, wfh+watch_chromium.org, huangs+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix GN generation for WinASAN build This is a step toward a working Asan build with GN. There are still a few missing pieces to land. This patch is fixing an assert triggering due to courgette using an harcoded toolchains. ---------------------- ERROR at //build/config/sanitizers/sanitizers.gni:12:1: Assertion failed. assert(!using_sanitizer || is_clang, ^----- Sanitizers (is_*san) require setting is_clang = true in 'gn args' ---------------------- This patch is also fixing the compiler-rt runtime paths for a x64 bit build. The port of WinASAN-64 is almost done and should part of the next clang roll-deps. R=thakis@chromium.org, dpranke@chromium.org TBR=brettw@chromium.org BUG=598761 Committed: https://crrev.com/364deb713883f28d2647c5ff160c1a6f7b7ef342 Cr-Commit-Position: refs/heads/master@{#408857}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebased #

Patch Set 3 : more fixes #

Patch Set 4 : target/current #

Patch Set 5 : nits #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -17 lines) Patch
M BUILD.gn View 1 chunk +6 lines, -2 lines 0 comments Download
M base/BUILD.gn View 1 2 3 4 2 chunks +7 lines, -2 lines 0 comments Download
M base/allocator/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download
M build/config/BUILDCONFIG.gn View 1 chunk +2 lines, -2 lines 0 comments Download
M build/config/sanitizers/BUILD.gn View 1 2 3 1 chunk +23 lines, -9 lines 2 comments Download
M courgette/BUILD.gn View 1 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 29 (11 generated)
etienneb
PTAL. Please, I need a GN guru to look over my shoulder. I'm not sure ...
4 years, 4 months ago (2016-07-28 15:04:00 UTC) #1
chrisha
https://codereview.chromium.org/2192833002/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2192833002/diff/1/BUILD.gn#newcode117 BUILD.gn:117: deps += [ "//courgette(//build/toolchain/win:x64)" ] I'm not 100% up ...
4 years, 4 months ago (2016-07-28 15:29:57 UTC) #2
etienneb
https://codereview.chromium.org/2192833002/diff/1/BUILD.gn File BUILD.gn (right): https://codereview.chromium.org/2192833002/diff/1/BUILD.gn#newcode117 BUILD.gn:117: deps += [ "//courgette(//build/toolchain/win:x64)" ] On 2016/07/28 15:29:57, chrisha ...
4 years, 4 months ago (2016-07-28 15:35:39 UTC) #3
etienneb
rebased. Someone modified courgette code. https://codereview.chromium.org/2192833002/diff/1/build/config/sanitizers/BUILD.gn File build/config/sanitizers/BUILD.gn (right): https://codereview.chromium.org/2192833002/diff/1/build/config/sanitizers/BUILD.gn#newcode238 build/config/sanitizers/BUILD.gn:238: # TODO(rnk): DLLs in ...
4 years, 4 months ago (2016-07-28 16:28:00 UTC) #4
Nico
base/* and build/* lgtm Someone else (brettw or dpranke?) should look at //BULID.gn and the ...
4 years, 4 months ago (2016-07-29 17:00:49 UTC) #6
etienneb
thx nico. Dirk looking to this too.
4 years, 4 months ago (2016-07-29 18:29:19 UTC) #9
etienneb
This config built successfully: --------------------------------- target_cpu = "x86" is_component_build = true is_debug = false is_asan ...
4 years, 4 months ago (2016-07-29 19:12:37 UTC) #10
Reid Kleckner
On 2016/07/29 19:12:37, etienneb wrote: > Unfortunately, there is still something to fix here: > ...
4 years, 4 months ago (2016-07-29 19:28:27 UTC) #11
Dirk Pranke
I can confirm that this patch plus my toolchain_args() patches produced a compile that completed ...
4 years, 4 months ago (2016-07-30 00:57:38 UTC) #12
Dirk Pranke
The two toolchain_args() CLs I was referring to are: https://codereview.chromium.org/2186753006/ https://codereview.chromium.org/2189153002/ However, as I said, ...
4 years, 4 months ago (2016-07-30 01:00:18 UTC) #13
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/2192833002/80001
4 years, 4 months ago (2016-07-30 01:05:20 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/228201)
4 years, 4 months ago (2016-07-30 01:11:48 UTC) #17
Dirk Pranke
TBR'ing brettw@ so I can land this. The courgette change is safe (and right), and ...
4 years, 4 months ago (2016-07-30 01:17:14 UTC) #19
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/2192833002/80001
4 years, 4 months ago (2016-07-30 01:18:50 UTC) #21
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/113377)
4 years, 4 months ago (2016-07-30 02:12:19 UTC) #23
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/2192833002/80001
4 years, 4 months ago (2016-07-30 03:15:13 UTC) #25
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-07-30 03:44:19 UTC) #27
commit-bot: I haz the power
4 years, 4 months ago (2016-07-30 03:46:52 UTC) #29
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/364deb713883f28d2647c5ff160c1a6f7b7ef342
Cr-Commit-Position: refs/heads/master@{#408857}

Powered by Google App Engine
This is Rietveld 408576698