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

Issue 330873004: Revert of Include stlport through -isystem instead of -I. (Closed)

Created:
6 years, 5 months ago by Anton
Modified:
6 years, 5 months ago
Reviewers:
cjhopman, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of Include stlport through -isystem instead of -I. (https://codereview.chromium.org/359783005/) Reason for revert: This patch breaks Android Goma builds (the build continues locally very slowly). https://groups.google.com/a/google.com/forum/#!topic/goma-users/KNsshiobTvE Original issue's description: > Include stlport through -isystem instead of -I. > > Enables removing a TODO and is needed for the bug linked below. > > (Doesn't work for the webkit build for some reason, but that's currently > not built with clang anyhow.) > > BUG=381053 > TBR=brettw@chromium.org > NOTRY=true > > Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280406 TBR=cjhopman@chromium.org,thakis@chromium.org NOTREECHECKS=true NOTRY=true BUG=381053 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=280648

Patch Set 1 #

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

Messages

Total messages: 14 (0 generated)
Anton
Created Revert of Include stlport through -isystem instead of -I.
6 years, 5 months ago (2014-06-30 17:05:50 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/330873004/1
6 years, 5 months ago (2014-06-30 17:06:18 UTC) #2
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-06-30 17:06:19 UTC) #3
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 5 months ago (2014-06-30 17:06:20 UTC) #4
Nico
I was trying to say that reverting this doesn't lgtm as it'll break other things. ...
6 years, 5 months ago (2014-06-30 17:28:30 UTC) #5
Anton
On 2014/06/30 17:28:30, Nico (away) wrote: > I was trying to say that reverting this ...
6 years, 5 months ago (2014-06-30 17:41:21 UTC) #6
Nico
On Mon, Jun 30, 2014 at 10:41 AM, <anton@chromium.org> wrote: > On 2014/06/30 17:28:30, Nico ...
6 years, 5 months ago (2014-06-30 17:52:16 UTC) #7
Anton
On 2014/06/30 17:52:16, Nico (away) wrote: > On Mon, Jun 30, 2014 at 10:41 AM, ...
6 years, 5 months ago (2014-06-30 18:20:56 UTC) #8
Nico
On 2014/06/30 18:20:56, Anton wrote: > On 2014/06/30 17:52:16, Nico (away) wrote: > > On ...
6 years, 5 months ago (2014-06-30 18:23:44 UTC) #9
Nico
lgtm, let's land this for now
6 years, 5 months ago (2014-06-30 19:51:29 UTC) #10
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 5 months ago (2014-06-30 19:51:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/anton@chromium.org/330873004/1
6 years, 5 months ago (2014-06-30 19:52:25 UTC) #12
commit-bot: I haz the power
Change committed as 280648
6 years, 5 months ago (2014-06-30 19:53:46 UTC) #13
Anton
6 years, 5 months ago (2014-07-01 09:37:07 UTC) #14
Message was sent while issue was closed.
On 2014/06/30 18:23:44, Nico (away) wrote:
> On 2014/06/30 18:20:56, Anton wrote:
> > On 2014/06/30 17:52:16, Nico (away) wrote:
> > > On Mon, Jun 30, 2014 at 10:41 AM, <mailto:anton@chromium.org> wrote:
> > > 
> > > > On 2014/06/30 17:28:30, Nico (away) wrote:
> > > >
> > > >> I was trying to say that reverting this doesn't lgtm as it'll break
other
> > > >> things.
> > > >>
> > > >
> > > > I created this revert because you said "I suppose it's fine to revert
the
> > > > change
> > > > for a day or two if goma can be fixed
> > > > in that time".
> > > >
> > > 
> > > With that I meant "it's ok to land that other change" (which was a revert
> > > already)
> > > 
> > > 
> > > > Is there a particular try bot I should be running in order to verify
that
> > > > this
> > > > does not break other things.
> > > 
> > > 
> > > It breaks building with trunk clang. There isn't a bot for that. (
> > > http://crbug.com/381053)
> > 
> > Do you know that it was necessary to remove the -I to get the clang build to
> > work? Would just adding -isystem solve work.
> 
> -I and -isystem are the same flag, except that the latter marks the headers in
> the directory as "system headers", and clang suppresses some diagnostics in
> system headers.
> 
> > > >
> > > >
> > > >  How did you check that this is the cause of the slowdown?
> > > >>
> > > >
> > > > If you apply the revert, then the problem is fixed (0 FAILED in Goma).
> > > 
> > > 
> > > Aha, thanks. How do the FAILED lines look without it?
> > 
> > In file included from
> >
>
/usr/local/google/code/clankium/src/third_party/android_tools/ndk/sources/cxx-stl/stlport/stlport/stl/_alloc.h:47:0,
> > from
> >
>
/usr/local/google/code/clankium/src/third_party/android_tools/ndk/sources/cxx-stl/stlport/stlport/stl/_string.h:23,
> > from
> >
>
/usr/local/google/code/clankium/src/third_party/android_tools/ndk/sources/cxx-stl/stlport/stlport/string:29,
> > from ../../third_party/webrtc/common_types.h:17,
> > from
> >
>
../../third_party/webrtc/system_wrappers/interface/critical_section_wrapper.h:17,
> > from ../../third_party/webrtc/voice_engine/monitor_module.cc:11:
> >
>
/usr/local/google/code/clankium/src/third_party/android_tools/ndk/sources/cxx-stl/stlport/stlport/stl/_new.h:47:50:
> > fatal error: ../../gabi++/include/new: No such file or directory
> > # include _STLP_NATIVE_CPP_RUNTIME_HEADER(new)
> 
> Huh. Are you sure this is related to goma? Do you see this if you disable goma
> too?

This error only happens on Goma.

Powered by Google App Engine
This is Rietveld 408576698