lang/node hangs quite often during build on i386:

20180926
20181001 (twice)
20181105
20181217 (twice)
20190115
20190218

As this is on the path to chromium, iridium and firefox that's quite
annoying in a bulk build.

I started logging build restarts around February 2018 and didn't have
any until 20180926, which is around the time of the 8.12.0 update.

End of the log from the last one shows that is using -O3 and not
honouring CFLAGS/CXXFLAGS. Can't say if there might be a problem with
-O3 but that might be an easy first thing to try ..

Otherwise, any ideas about how to get some information out of this?
The problem is that this breakage isn't usually visible until after DPB
has already killed the build, so there's no process I can ktrace or
attach gdb to .. (I suppose I could remove stuck_timeout if there are
no better ideas, but that will make builds even slower when things
hang - node isn't the only one, but it's probably the most frequent
at the moment, and certainly the most annoying :)

[...]
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/logging.o
 ../deps/v8/src/base/logging.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.45"' '-DENABLE_DISASSEMBLER' 
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
'-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  
-pthread -Wall -Wextra -Wno-unused-parameter -m32 -I/usr/local/include -msse2 
-mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/local/include 
-I/usr/local/include -m32 -fdata-sections -ffunction-sections -O3 -O3 
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/logging.o.d.raw
   -c
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/once.o
 ../deps/v8/src/base/once.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.45"' '-DENABLE_DISASSEMBLER' 
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
'-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  
-pthread -Wall -Wextra -Wno-unused-parameter -m32 -I/usr/local/include -msse2 
-mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/local/include 
-I/usr/local/include -m32 -fdata-sections
-ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions 
-std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/once.o.d.raw
   -c
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/page-allocator.o
 ../deps/v8/src/base/page-allocator.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.45"' '-DENABLE_DISASSEMBLER' 
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
'-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  
-pthread -Wall -Wextra -Wno-unused-parameter -m32 -I/usr/local/include -msse2 
-mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/local/include 
-I/usr/local/include -m32 -fdata-sections -ffunction-sections -O3 -O3 
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/page-allocator.o.d.raw
   -c
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/condition-variable.o
 ../deps/v8/src/base/platform/condition-variable.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0'
'-DV8_TARGET_ARCH_IA32' '-DV8_EMBEDDER_STRING="-node.45"' 
'-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' 
'-DV8_INTL_SUPPORT' '-DV8_CONCURRENT_MARKING' 
'-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  -pthread -Wall -Wextra 
-Wno-unused-parameter -m32 -I/usr/local/include -msse2 -mfpmath=sse -mmmx 
-fno-strict-aliasing -I/usr/local/include -I/usr/local/include -m32 
-fdata-sections -ffunction-sections -O3 -O3 -fno-omit-frame-pointer -fno-rtti 
-fno-exceptions -std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/condition-variable.o.d.raw
   -c
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/mutex.o
 ../deps/v8/src/base/platform/mutex.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.45"' '-DENABLE_DISASSEMBLER' 
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
'-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  
-pthread -Wall -Wextra -Wno-unused-parameter -m32 -I/usr/local/include -msse2 
-mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/local/include 
-I/usr/local/include -m32 -fdata-sections -ffunction-sections -O3 -O3 
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/mutex.o.d.raw
   -c
  c++ -o 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/semaphore.o
 ../deps/v8/src/base/platform/semaphore.cc '-DV8_GYP_BUILD' 
'-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=0' '-DV8_TARGET_ARCH_IA32' 
'-DV8_EMBEDDER_STRING="-node.45"' '-DENABLE_DISASSEMBLER' 
'-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_INTL_SUPPORT' 
'-DV8_CONCURRENT_MARKING' '-DDISABLE_UNTRUSTED_CODE_MITIGATIONS' -I../deps/v8  
-pthread -Wall -Wextra -Wno-unused-parameter -m32 -I/usr/local/include -msse2 
-mfpmath=sse -mmmx -fno-strict-aliasing -I/usr/local/include 
-I/usr/local/include -m32 -fdata-sections -ffunction-sections -O3 -O3 
-fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++1y -MMD -MF 
/usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/.deps//usr/obj/ports/node-10.15.0/node-v10.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/platform/semaphore.o.d.raw
   -c
KILLED: build stuck at  1% frozen for 66mn

Reply via email to