| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Build fails on Windows (VS2015): https://ci.nodejs.org/job/node-compile-windows/6598/ |
Sorry, something went wrong.
|
It's a bit buried in the sea of warnings but the build error is this: c1xx : fatal error C1083: Cannot open source file: '..\..\..\build\Release\obj\global_intermediate\src\inspector\protocol\Protocol.cpp': No such file or directory [c:\workspace\node-compile-windows\label\win-vs2015\deps\v8\src\v8_base_0.vcxproj] Debugger.cpp c1xx : fatal error C1083: Cannot open source file: '..\..\..\build\Release\obj\global_intermediate\src\inspector\protocol\Debugger.cpp': No such file or directory [c:\workspace\node-compile-windows\label\win-vs2015\deps\v8\src\v8_base_0.vcxproj] Profiler.cpp c1xx : fatal error C1083: Cannot open source file: '..\..\..\build\Release\obj\global_intermediate\src\inspector\protocol\Profiler.cpp': No such file or directory [c:\workspace\node-compile-windows\label\win-vs2015\deps\v8\src\v8_base_0.vcxproj] Schema.cpp c1xx : fatal error C1083: Cannot open source file: '..\..\..\build\Release\obj\global_intermediate\src\inspector\protocol\Schema.cpp': No such file or directory [c:\workspace\node-compile-windows\label\win-vs2015\deps\v8\src\v8_base_0.vcxproj] Seems something goes wrong in the generate_inspector_protocol_sources phase. |
Sorry, something went wrong.
|
cc @ofrobots ^ |
Sorry, something went wrong.
|
I ran out of day-time and couldn't look at this today. I will try again tomorrow. /cc @eugeneo. |
Sorry, something went wrong.
I believe that already happened =). |
Sorry, something went wrong.
|
/cc @dgozman Maybe it's a bug in V8's gypfiles? |
Sorry, something went wrong.
Sorry, something went wrong.
This matches the number in nodejs/node#10992.
This matches the number in nodejs/node#10992.
|
5.7 has been released with faster async/await and PromiseHook API. Would it make sense to jump into it ? |
Sorry, something went wrong.
|
@YurySolovyov 5.7 is still in beta phase. We will update to it when Chrome 57 is stable (should be mid-March) |
Sorry, something went wrong.
This matches the number in nodejs/node#10992.
|
ping @nodejs/v8 for the Windows build issue. Basically the problem is that deps\v8\src\v8_base_0.vcxproj instructs to look for the inspector generated source files in ..\..\..\build\Release\obj\global_intermediate\src but they are in fact in ..\..\..\Release\obj\global_intermediate\src. |
Sorry, something went wrong.
|
@targos Can you check if this patch helps? diff --git a/deps/v8/gypfiles/toolchain.gypi b/deps/v8/gypfiles/toolchain.gypi
index 95eb1d9..5105fff 100644
--- a/deps/v8/gypfiles/toolchain.gypi
+++ b/deps/v8/gypfiles/toolchain.gypi
@@ -989,8 +989,6 @@
# present in VS 2003 and earlier.
'msvs_disabled_warnings': [4351],
'msvs_configuration_attributes': {
- 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
- 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
'CharacterSet': '1',
},
}],If we don't want to float a patch, we should be able to override it from common.gypi like this: diff --git a/common.gypi b/common.gypi
index d87205e..7fd9efc 100644
--- a/common.gypi
+++ b/common.gypi
@@ -148,6 +148,10 @@
}
}]
],
+ 'msvs_configuration_attributes': {
+ 'IntermediateDirectory': '$(ConfigurationName)\\obj\\$(ProjectName)',
+ 'OutputDirectory': '$(SolutionDir)$(ConfigurationName)',
+ },
'msvs_settings': {
'VCCLCompilerTool': {
'Optimization': 3, # /Ox, full optimization(Caveat emptor: needs to be duplicated in the Debug configuration.) |
Sorry, something went wrong.
|
@bnoordhuis thanks for getting around to it sooner than me. I did a quick test on a windows box with that patch and it seems to work. /cc @ak239: can you think of a better upstream fix? |
Sorry, something went wrong.
|
@bnoordhuis I confirm it works on my computer too. What prevents us from upstreaming this fix? |
Sorry, something went wrong.
PR-URL: nodejs#10992 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Cross-compiled builds need different toolsets. PR-URL: nodejs#10992 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
|
Are third_party being rolled as expected? https://github.com/v8/v8/blob/5.7-lkgr/third_party/inspector_protocol/lib/Values_h.template was updated 4 months ago and looks like this CL still has an old version. |
Sorry, something went wrong.
|
Sorry, I've mistaken 5.6 and 5.7. |
Sorry, something went wrong.
Original commit message:
[build] Fix gyp files for building inspector
This patch fixes compilation of V8 with inspector on Windows as well as
cross-compilation of the V8 inspector.
BUG=
Refs: nodejs#10992
Review-Url: https://codereview.chromium.org/2705423003
Cr-Commit-Position: refs/heads/master@{nodejs#43533}
PR-URL: nodejs#11752
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
| Back | FazBrowse Home | New Git URL |
Depends on #9618.
V8 5.6 should become stable next week. It stable now!
I'm opening the PR now to track eventual issues with CI.
CI: https://ci.nodejs.org/job/node-test-commit/7473/?auto_refresh=true
Checklist
Affected core subsystem(s)
v8