Bug 240369 - www/node c++: error: unable to execute command: Killed
Summary: www/node c++: error: unable to execute command: Killed
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Bradley T. Hughes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-06 15:17 UTC by Rob Belics
Modified: 2019-09-11 10:54 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (bhughes)


Attachments
Requested files (5.14 KB, application/x-shellscript)
2019-09-06 15:22 UTC, Rob Belics
no flags Details
implementation-visitor.cpp (533.53 KB, application/gzip)
2019-09-06 15:28 UTC, Rob Belics
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Belics 2019-09-06 15:17:10 UTC
c++ -o /usr/ports/www/node/work/node-v12.10.0/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o ../deps/v8/src/torque/implementation-visitor.cc '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DOPENSSL_NO_ASM' '-DV8_TARGET_ARCH_IA32' '-DV8_EMBEDDER_STRING="-node.16"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DENABLE_MINOR_MC' '-DV8_INTL_SUPPORT' '-DV8_USE_SNAPSHOT' '-DV8_CONCURRENT_MARKING' '-DV8_EMBEDDED_BUILTINS' '-DV8_USE_SIPHASH' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' '-DV8_WIN64_UNWINDING_INFO' -I../deps/v8 -I../deps/v8/include  -pthread -Wno-unused-parameter -m32 -Wno-return-type -msse2 -mfpmath=sse -mmmx -fno-strict-aliasing -m32 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -std=gnu++1y -fexceptions -MMD -MF /usr/ports/www/node/work/node-v12.10.0/out/Release/.deps//usr/ports/www/node/work/node-v12.10.0/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o.d.raw -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -c
c++: error: unable to execute command: Killed
c++: error: clang frontend command failed due to signal (use -v to see invocation)
FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1)
Target: i386-unknown-freebsd12.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/implementation-visitor-c79ca1.cpp
c++: note: diagnostic msg: /tmp/implementation-visitor-c79ca1.sh
c++: note: diagnostic msg: 

********************
gmake[3]: *** [tools/v8_gypfiles/torque_base.target.mk:151: /usr/ports/www/node/work/node-v12.10.0/out/Release/obj.target/torque_base/deps/v8/src/torque/implementation-visitor.o] Error 254
gmake[2]: *** [Makefile:101: node] Error 2
gmake[2]: Leaving directory '/usr/ports/www/node/work/node-v12.10.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/node
*** Error code 1
Comment 1 Rob Belics 2019-09-06 15:22:28 UTC
Created attachment 207241 [details]
Requested files
Comment 2 Rob Belics 2019-09-06 15:28:32 UTC
Created attachment 207242 [details]
implementation-visitor.cpp
Comment 3 Rob Belics 2019-09-07 11:32:48 UTC
Possible reason for the error. During upgrade, at the very beginning, a warning is issued saying my compiler is too old. I am upgrading llvm/clang now and report if this fixes the issue.
Comment 4 Rob Belics 2019-09-11 10:54:19 UTC
I can only presume that updating the compiler fixed this or, possibly, something else but it is now working for me.