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

Issue 2310513002: Use -fno-delete-null-pointer-checks with gcc builds (Closed)

Created:
4 years, 3 months ago by ofrobots
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Use -fno-delete-null-pointer-checks with gcc builds R=bmeurer@chromium.org, jochen@chromium.org, machenbach@chromium.org BUG=v8:3782 Committed: https://crrev.com/dbefc8ee2e9ee6e41b83f3d09c788c34bc923b43 Cr-Commit-Position: refs/heads/master@{#39286}

Patch Set 1 #

Total comments: 4

Patch Set 2 : address nits and add GN config as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -0 lines) Patch
M BUILD.gn View 1 1 chunk +7 lines, -0 lines 0 comments Download
M gypfiles/toolchain.gypi View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
ofrobots
4 years, 3 months ago (2016-09-02 18:42:42 UTC) #1
Benedikt Meurer
LGTM from my side
4 years, 3 months ago (2016-09-03 17:54:13 UTC) #3
Michael Achenbach
Please link also to the BUG in the CL desc. https://codereview.chromium.org/2310513002/diff/1/gypfiles/toolchain.gypi File gypfiles/toolchain.gypi (right): https://codereview.chromium.org/2310513002/diff/1/gypfiles/toolchain.gypi#newcode1105 ...
4 years, 3 months ago (2016-09-05 06:53:39 UTC) #4
jochen (gone - plz use gerrit)
will pre-gcc-6 just swallow this setting or will it bail out?
4 years, 3 months ago (2016-09-05 09:46:29 UTC) #5
ofrobots
On 2016/09/05 09:46:29, jochen wrote: > will pre-gcc-6 just swallow this setting or will it ...
4 years, 3 months ago (2016-09-06 18:27:15 UTC) #6
ofrobots
Addressed comments. PTAL. https://codereview.chromium.org/2310513002/diff/1/gypfiles/toolchain.gypi File gypfiles/toolchain.gypi (right): https://codereview.chromium.org/2310513002/diff/1/gypfiles/toolchain.gypi#newcode1105 gypfiles/toolchain.gypi:1105: # https://bugs.chromium.org/p/v8/issues/detail?id=3782 On 2016/09/05 06:53:39, machenbach ...
4 years, 3 months ago (2016-09-07 00:36:39 UTC) #8
Michael Achenbach
lgtm
4 years, 3 months ago (2016-09-07 06:19:47 UTC) #9
jochen (gone - plz use gerrit)
lgtm
4 years, 3 months ago (2016-09-07 14:25:48 UTC) #10
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/2310513002/20001
4 years, 3 months ago (2016-09-08 00:17:06 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/8386) v8_linux_arm_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-08 00:18:16 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/2310513002/20001
4 years, 3 months ago (2016-09-08 15:47:14 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-08 15:49:16 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/dbefc8ee2e9ee6e41b83f3d09c788c34bc923b43 Cr-Commit-Position: refs/heads/master@{#39286}
4 years, 3 months ago (2016-09-08 15:50:07 UTC) #25
ofrobots
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2328563002/ by ofrobots@google.com. ...
4 years, 3 months ago (2016-09-08 15:55:27 UTC) #26
ofrobots
On 2016/09/08 15:55:27, ofrobots wrote: > A revert of this CL (patchset #2 id:20001) has ...
4 years, 3 months ago (2016-09-08 16:00:48 UTC) #27
Michael Achenbach
On 2016/09/08 16:00:48, ofrobots wrote: > On 2016/09/08 15:55:27, ofrobots wrote: > > A revert ...
4 years, 3 months ago (2016-09-08 18:53:35 UTC) #28
ofrobots
On 2016/09/08 18:53:35, machenbach (OOO 26 Sep) wrote: > On 2016/09/08 16:00:48, ofrobots wrote: > ...
4 years, 2 months ago (2016-09-26 19:58:48 UTC) #29
Michael Achenbach
4 years, 2 months ago (2016-09-27 09:27:20 UTC) #30
Message was sent while issue was closed.
On 2016/09/26 19:58:48, ofrobots wrote:
> On 2016/09/08 18:53:35, machenbach (OOO 26 Sep) wrote:
> > On 2016/09/08 16:00:48, ofrobots wrote:
> > > On 2016/09/08 15:55:27, ofrobots wrote:
> > > > A revert of this CL (patchset #2 id:20001) has been created in
> > > > https://codereview.chromium.org/2328563002/ by
mailto:ofrobots@google.com.
> > > > 
> > > > The reason for reverting is: Fails on MIPS:
> > > >
> > >
> >
>
https://build.chromium.org/p/client.v8.ports/builders/V8%20Mips%20-%20builder....
> > > 
> > > I had to revert. Does the mips builder use an out-of-date gcc version?
> > 
> > At least on arm it looks like it's clang that complains:
> >
>
https://build.chromium.org/p/client.v8.ports/builders/V8%20Arm%20-%20builder/...
> > 
> > On arm and mips (and also android) the host_clang variable is used in gyp to
> > compile with clang on the host.
> > Maybe you need to put the flag into a toolset==target condition?
> 
> Is there a way for me to run a trybot on these builds? which build
specifically?

Sorry - no trybots for arm or mips cross-compile. You'd need to try locally. For
arm that's not difficult. But by now the bot is on GN and things might have
changed. The mips builder uses gyp. You'd need to get the mips toolchain and
then set CC, CXX, LINK yourself as in:
https://build.chromium.org/p/client.v8.ports/builders/V8%20Mips%20-%20builder...

Also use these gyp variables:
GYP_CHROMIUM_NO_ACTION: 0
GYP_CROSSCOMPILE: 1
GYP_DEFINES: target_arch=mips v8_enable_i18n_support=0 v8_target_arch=mips
v8_use_snapshot=false

Powered by Google App Engine
This is Rietveld 408576698