Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: Failed to compile native-keymap on linux-armhf #150768

Closed
joaomoreno opened this issue May 31, 2022 · 0 comments · Fixed by #150799
Closed

Build failure: Failed to compile native-keymap on linux-armhf #150768

joaomoreno opened this issue May 31, 2022 · 0 comments · Fixed by #150799
Assignees
Labels
engineering VS Code - Build / issue tracking / etc. insiders-released Patch has been released in VS Code Insiders vscode-build VS Code build process issues
Milestone

Comments

@joaomoreno
Copy link
Member

Unsure what has changed, looking at the history...

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=172499&view=logs&j=26529756-2745-53ce-c9e2-11b8779626a8&t=b37f5b26-715e-5aef-a1f9-36df62e12236

2022-05-31T06:39:01.8942219Z make: Entering directory '/__w/1/s/node_modules/native-keymap/build'
2022-05-31T06:39:01.8943256Z gyp info spawn make
2022-05-31T06:39:01.8944488Z gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
2022-05-31T06:39:01.8945575Z   CXX(target) Release/obj.target/keymapping/src/string_conversion.o
2022-05-31T06:39:01.8946621Z   CXX(target) Release/obj.target/keymapping/src/keymapping.o
2022-05-31T06:39:01.8948309Z In file included from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-local-handle.h:12:0,
2022-05-31T06:39:01.8950156Z                  from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-array-buffer.h:12,
2022-05-31T06:39:01.8951861Z                  from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8.h:25,
2022-05-31T06:39:01.8953498Z                  from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/node.h:63,
2022-05-31T06:39:01.8954640Z                  from ../src/keymapping.cc:6:
2022-05-31T06:39:01.8956516Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:112:1: error: static assertion failed: Pointer compression can be enabled only for 64-bit architectures
2022-05-31T06:39:01.8957974Z  static_assert(
2022-05-31T06:39:01.8958741Z  ^~~~~~~~~~~~~
2022-05-31T06:39:01.8960449Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:471:71: warning: left shift count >= width of type [-Wshift-count-overflow]
2022-05-31T06:39:01.8961963Z    static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
2022-05-31T06:39:01.8962968Z                                                                        ^~
2022-05-31T06:39:01.8965142Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:471:68: error: right operand of shift expression '(1u << 32)' is >= than the precision of the left operand [-fpermissive]
2022-05-31T06:39:01.8966800Z    static constexpr size_t kPtrComprCageReservationSize = size_t{1} << 32;
2022-05-31T06:39:01.8967746Z                                                           ~~~~~~~~~~^~~~~
2022-05-31T06:39:01.8969393Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:472:69: warning: left shift count >= width of type [-Wshift-count-overflow]
2022-05-31T06:39:01.8970748Z    static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
2022-05-31T06:39:01.8971622Z                                                                      ^~
2022-05-31T06:39:01.8973416Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:472:66: error: right operand of shift expression '(1u << 32)' is >= than the precision of the left operand [-fpermissive]
2022-05-31T06:39:01.8975146Z    static constexpr size_t kPtrComprCageBaseAlignment = size_t{1} << 32;
2022-05-31T06:39:01.8976049Z                                                         ~~~~~~~~~~^~~~~
2022-05-31T06:39:01.8977761Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:509:48: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2022-05-31T06:39:01.8979161Z  constexpr size_t kVirtualMemoryCageSize = 1ULL << kVirtualMemoryCageSizeLog2;
2022-05-31T06:39:01.8980146Z                                            ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-05-31T06:39:01.8981841Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:528:60: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2022-05-31T06:39:01.8983207Z  constexpr size_t kVirtualMemoryCageGuardRegionSize = 32ULL * GB;
2022-05-31T06:39:01.8984066Z                                                             ^
2022-05-31T06:39:01.8985735Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:542:56: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2022-05-31T06:39:01.8987089Z  constexpr size_t kVirtualMemoryCageMinimumSize = 32ULL * GB;
2022-05-31T06:39:01.8988119Z                                                         ^
2022-05-31T06:39:01.8989743Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-internal.h:557:66: warning: large integer implicitly truncated to unsigned type [-Woverflow]
2022-05-31T06:39:01.8991144Z  constexpr size_t kFakeVirtualMemoryCageMinReservationSize = 8ULL * GB;
2022-05-31T06:39:01.8992033Z                                                                   ^
2022-05-31T06:39:01.8993338Z In file included from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8.h:53:0,
2022-05-31T06:39:01.8994889Z                  from /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/node.h:63,
2022-05-31T06:39:01.8995920Z                  from ../src/keymapping.cc:6:
2022-05-31T06:39:01.8997545Z /home/cloudtest_azpcontainer/.cache/node-gyp/17.4.6/include/node/v8-script.h:232:79: warning: 'ResolveCallback' is deprecated [-Wdeprecated-declarations]
2022-05-31T06:39:01.8998827Z                                                        ResolveCallback callback);
2022-05-31T06:39:01.8999635Z                                                                                ^
2022-05-31T06:39:01.9001018Z keymapping.target.mk:122: recipe for target 'Release/obj.target/keymapping/src/keymapping.o' failed
2022-05-31T06:39:01.9002465Z make: Leaving directory '/__w/1/s/node_modules/native-keymap/build'
2022-05-31T06:39:01.9003505Z make: *** [Release/obj.target/keymapping/src/keymapping.o] Error 1

@joaomoreno joaomoreno added the vscode-build VS Code build process issues label May 31, 2022
@alexdima alexdima removed their assignment May 31, 2022
@alexdima alexdima added this to the May 2022 milestone May 31, 2022
@alexdima alexdima added the engineering VS Code - Build / issue tracking / etc. label May 31, 2022
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels May 31, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engineering VS Code - Build / issue tracking / etc. insiders-released Patch has been released in VS Code Insiders vscode-build VS Code build process issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants