Created
August 12, 2017 08:25
-
-
Save aschrijver/14ee062a2db2e3b0787edf722842c666 to your computer and use it in GitHub Desktop.
Testdriving J2V8 build system PR (https://github.com/eclipsesource/J2V8/pull/327) - run 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from ../deps/v8/src/compiler/ast-graph-builder.cc:16:0: | |
../deps/v8/src/compiler/node-matchers.h: In member function 'bool v8::internal::compiler::FloatMatcher<T, kOpcode>::IsInteger() const': | |
../deps/v8/src/compiler/node-matchers.h:171:32: error: 'nearbyint' is not a member of 'std' | |
return this->HasValue() && std::nearbyint(this->Value()) == this->Value(); | |
^ | |
../deps/v8/src/compiler/node-matchers.h:171:32: note: suggested alternative: | |
In file included from /build/android-ndk-r13b/std-toolchains/android-17-arm/include/c++/4.9.x/cmath:44:0, | |
from ../deps/v8/src/utils.h:11, | |
from ../deps/v8/src/conversions.h:11, | |
from ../deps/v8/src/ast/ast-types.h:8, | |
from ../deps/v8/src/ast/ast.h:8, | |
from ../deps/v8/src/compiler/ast-graph-builder.h:8, | |
from ../deps/v8/src/compiler/ast-graph-builder.cc:5: | |
/build/android-ndk-r13b/std-toolchains/android-17-arm/sysroot/usr/include/math.h:278:8: note: 'nearbyint' | |
double nearbyint(double); | |
^ | |
/build/android-ndk-r13b/std-toolchains/android-17-arm/bin/g++ '-DV8_GYP_BUILD' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DCAN_USE_VFP3_INSTRUCTIONS' '-DCAN_USE_VFP32DREGS' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-D_GLIBCXX_USE_C99_MATH' -I../deps/v8 -I../. -I/j2v8/node/out/Release/obj/gen -I../deps/v8/include -Wall -Wextra -Wno-unused-parameter -march=armv7-a -mfpu=vfpv3 -marm -fdata-sections -ffunction-sections -O2 -fno-omit-frame-pointer -fPIE -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /j2v8/node/out/Release/.deps//j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/bytecode-analysis.o.d.raw -fPIC -c -o /j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/bytecode-analysis.o ../deps/v8/src/compiler/bytecode-analysis.cc | |
/build/android-ndk-r13b/std-toolchains/android-17-arm/bin/g++ '-DV8_GYP_BUILD' '-DV8_TARGET_ARCH_ARM' '-DCAN_USE_ARMV7_INSTRUCTIONS' '-DCAN_USE_VFP3_INSTRUCTIONS' '-DCAN_USE_VFP32DREGS' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT' '-Dv8_promise_internal_field_count' '-D_GLIBCXX_USE_C99_MATH' -I../deps/v8 -I../. -I/j2v8/node/out/Release/obj/gen -I../deps/v8/include -Wall -Wextra -Wno-unused-parameter -march=armv7-a -mfpu=vfpv3 -marm -fdata-sections -ffunction-sections -O2 -fno-omit-frame-pointer -fPIE -fno-rtti -fno-exceptions -std=gnu++0x -MMD -MF /j2v8/node/out/Release/.deps//j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/bytecode-graph-builder.o.d.raw -fPIC -c -o /j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/bytecode-graph-builder.o ../deps/v8/src/compiler/bytecode-graph-builder.cc | |
make[1]: *** [/j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/ast-graph-builder.o] Error 1 | |
deps/v8/src/v8_base.target.mk:603: recipe for target '/j2v8/node/out/Release/obj.target/v8_base/deps/v8/src/compiler/ast-graph-builder.o' failed | |
make[1]: *** Waiting for unfinished jobs.... | |
../deps/v8/src/compiler/bytecode-graph-builder.cc: In member function 'void v8::internal::compiler::BytecodeGraphBuilder::VisitTestTypeOf()': | |
../deps/v8/src/compiler/bytecode-graph-builder.cc:2060:41: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
environment()->BindAccumulator(result); | |
^ | |
rm 732b3d0417aff4d51f1bfa0d54746530f03c3d5c.intermediate | |
make: *** [node] Error 2 | |
Makefile:76: recipe for target 'node' failed | |
Traceback (most recent call last): | |
File "./build.py", line 18, in <module> | |
bex.execute_build(args) | |
File "/j2v8/build_system/build_executor.py", line 263, in execute_build | |
execute_build_step(target_compiler, target_step) | |
File "/j2v8/build_system/build_executor.py", line 190, in execute_build_step | |
build_system.build(build_step) | |
File "/j2v8/build_system/build_structures.py", line 83, in build | |
self.exec_build(config) | |
File "/j2v8/build_system/shell_build.py", line 27, in exec_build | |
self.exec_cmd(shell_str, config) | |
File "/j2v8/build_system/build_structures.py", line 96, in exec_cmd | |
self.__exec_cmd_core(cmd, config, config.build_cwd) | |
File "/j2v8/build_system/build_structures.py", line 105, in __exec_cmd_core | |
utils.execute(cmd, cwd) | |
File "/j2v8/build_system/build_utils.py", line 52, in execute | |
raise subprocess.CalledProcessError(return_code, cmd) | |
subprocess.CalledProcessError: Command 'cd /j2v8 && android-gcc-toolchain arm --api 17 --host gcc-lpthread -C sh -c " \ | |
cd ./node; \ | |
./configure \ | |
--without-intl \ | |
--without-inspector \ | |
--dest-cpu=arm \ | |
--dest-os=android \ | |
--without-snapshot \ | |
--enable-static && \ | |
CFLAGS=-fPIC CXXFLAGS=-fPIC make -j4" ' returned non-zero exit status 2 | |
Traceback (most recent call last): | |
File "build.py", line 13, in <module> | |
interactive.run_interactive_cli() | |
File "/home/arnold/Development/misc/J2V8/build_system/build_interactive.py", line 40, in run_interactive_cli | |
bex.execute_build(build_params) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_executor.py", line 221, in execute_build | |
execute_build_step(cross_compiler, cross_cfg) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_executor.py", line 190, in execute_build_step | |
build_system.build(build_step) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_structures.py", line 83, in build | |
self.exec_build(config) | |
File "/home/arnold/Development/misc/J2V8/build_system/docker_build.py", line 116, in exec_build | |
self.exec_host_cmd(docker_run_str, config) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_structures.py", line 88, in exec_host_cmd | |
self.__exec_cmd_core(cmd, config, config.host_cwd) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_structures.py", line 105, in __exec_cmd_core | |
utils.execute(cmd, cwd) | |
File "/home/arnold/Development/misc/J2V8/build_system/build_utils.py", line 52, in execute | |
raise subprocess.CalledProcessError(return_code, cmd) | |
subprocess.CalledProcessError: Command 'docker run --privileged -P -v /home/arnold/Development/misc/J2V8:/j2v8 --name j2v8.android.arm j2v8-android /bin/bash -c "cd /j2v8; python ./build.py --cross-agent docker -t android -a arm -ne nodejs j2v8cmake j2v8jni j2v8optimize j2v8java j2v8junit"' returned non-zero exit status 1 | |
Waiting for docker process to exit... | |
j2v8.android.arm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment