New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 606547 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 474921



Sign in to add a comment

Build warnings: ninja: warning: multiple rules generate [*v8*]

Project Member Reported by pdr@chromium.org, Apr 25 2016

Issue description

I'm at tip-of-tree (19089564c7e5bb74ebb60c624e45d94d7f0aefbc) and building on OSX10.11.4 with goma. I'm seeing a bunch of console spam when building:

Example:
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.builtins-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.code-stubs-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.codegen-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.cpu-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.deoptimizer-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.disasm-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]
ninja: warning: multiple rules generate obj/v8/src/x64/v8_base.frames-x64.o. builds involving this target will not be correct; continuing anyway [-w dupbuild=warn]

Esprehn is also seeing this, so it's not local to me. I have re-run gclient sync and have removed my out directory without much luck. I think we pushed a bad config for v8.

I've cc'ed folks who might have an idea about what's going on.
 

Comment 1 by adamk@chromium.org, Apr 25 2016

Cc: machenb...@chromium.org
thakis already found the culprit: https://codereview.chromium.org/1920793002

If this can't wait until machenbach is awake (it's unclear to me exactly how bad this is), then reverting seems like the thing to do.
Yup, I think we should at least revert the roll into chromium.
We have to move a gyp file in V8 to prepare for gn. The embedder configs still point to the old file while somehow indirectly they seem to also include the new one.

I think the warning is benign because the two gyp files are equal. Since you didn't revert, I'd go ahead and rewire the embedder configs to the new file.
Cc: jochen@chromium.org
The new v8.gyp file is referenced only by d8.gyp and fuzzer.gyp.
And of course FYI: You should only see these warnings if you build with gyp not gn.

Comment 7 by jochen@chromium.org, Apr 26 2016

Chrome depends on d8, so I guess that's where the duplication is introduced
Owner: machenb...@chromium.org
Status: Started (was: Available)
I'll prep two CLs for chromium and for pdfium to update to the new locations to fix this.
Blocking: 474921
Cc: mgiuca@chromium.org hablich@chromium.org treib@chromium.org markusheintz@chromium.org creis@chromium.org
CC'ing today's chromium tree sheriffs. The fix for this is comprised of the following two CLs:
https://codereview.chromium.org/1923453003/
https://codereview.chromium.org/1923493002/

The warnings will go away once both have landed. In case v8 needs to be reverted beyond 5.2.126 aka https://chromium.googlesource.com/v8/v8/+/d90dcc50937359946914b3493f8e03b87cd75fdc, those two CLs must be reverted too. Right now v8 is already at 5.2.136 and stayed at 5.2.129 for a while, so this is unlikely.

In case v8 needs to get reverted on the current canary only (2717) the same two CLs must be reverted for the canary too. We'll check later how the canary looks before landing the CLs, in order to make this unlikely, too.
Project Member

Comment 12 by bugdroid1@chromium.org, Apr 26 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/65639bcd2b4a2eb9578988651bf64c42761102c1

commit 65639bcd2b4a2eb9578988651bf64c42761102c1
Author: machenbach <machenbach@chromium.org>
Date: Tue Apr 26 12:51:41 2016

Roll src/third_party/pdfium 0f6425f:3081cc0

Summary of changes available at:
https://pdfium.googlesource.com/pdfium/+log/0f6425f..3081cc0

BUG= 606547 
TBR=jochen@chromium.org

Review URL: https://codereview.chromium.org/1923493002

Cr-Commit-Position: refs/heads/master@{#389759}

[modify] https://crrev.com/65639bcd2b4a2eb9578988651bf64c42761102c1/DEPS

Project Member

Comment 13 by bugdroid1@chromium.org, Apr 26 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/60b9aa2bbf35e9855499d9aec11cbbab43387044

commit 60b9aa2bbf35e9855499d9aec11cbbab43387044
Author: machenbach <machenbach@chromium.org>
Date: Tue Apr 26 12:52:26 2016

[build] Switch to moved v8.gyp

BUG= 474921 , 606547 
TBR=torne@chromium.org,alokp@chromium.org,jamescook@chromium.org,amistry@chromium.org,davidben@chromium.org

Review URL: https://codereview.chromium.org/1923453003

Cr-Commit-Position: refs/heads/master@{#389760}

[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/android_webview/android_webview.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/build/all.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/build/gn_migration.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/build/linux/unbundle/replace_gyp_files.py
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/browser/resources/chromeos/chromevox/chromevox_tests.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/chrome_browser.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/chrome_browser_chromeos.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/chrome_browser_ui.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/chrome_tests.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chrome/chrome_tests_unit.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/chromecast/chromecast.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/components/guest_view.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/components/pdf.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/components/plugins.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/components/test_runner/test_runner.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/components/translate.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/content/content.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/content/content_renderer.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/content/content_shell.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/content/content_tests.gypi
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/extensions/shell/app_shell.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/gin/gin.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/mojo/mojo_edk.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/net/net.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/core/core.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/modules/modules.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/platform/blink_platform.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/platform/blink_platform_tests.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/web/web.gyp
[modify] https://crrev.com/60b9aa2bbf35e9855499d9aec11cbbab43387044/third_party/WebKit/Source/web/web_tests.gyp

Status: Fixed (was: Started)
Fixed by the two commits above.
Labels: Proj-GN-Migration-V8

Sign in to add a comment