Bug 246415

Summary: Failure making buildworld gmock-matchers
Product: Base System Reporter: Paul Webster <paul.g.webster>
Component: testsAssignee: freebsd-testing (Nobody) <testing>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: 12.1-RELEASE   
Hardware: Any   
OS: Any   

Description Paul Webster 2020-05-12 13:07:11 UTC
c++  -target x86_64-unknown-freebsd12.1 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin  -O2 -pipe -g -MD -MF.depend.gmock-matchers_tes
t.gmock-matchers_test.o -MTgmock-matchers_test.o -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wreturn-type -Wcas
t-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wredundant-decls -Wmissing-variable-declarations -Wno-empty-body -Wno-st
ring-plus-int -Wno-unused-const-variable -Qunused-arguments  -I/usr/obj/usr/src/amd64.amd64/tmp/usr/include/private  -I/usr/src/contrib/googletest/googlemock/include -I/usr/
src/contrib/googletest/googlemock -I/usr/src/contrib/googletest/googletest/include -I/usr/src/contrib/googletest/googletest -I/usr/obj/usr/src/amd64.amd64/tmp/usr/include/pr
ivate -DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_PTHREAD=1 -DGTEST_HAS_STREAM_REDIRECTION=1 -frtti -DGTEST_HAS_POSIX_RE=1 -DGTEST_HAS_PTHREAD=1 -DGTEST_HAS_STREAM_REDIRECTION=1 -frt
ti -std=c++11    -Wno-c++11-extensions  -c /usr/src/contrib/googletest/googlemock/test/gmock-matchers_test.cc -o gmock-matchers_test.o
/usr/src/contrib/googletest/googlemock/test/gmock-matchers_test.cc:1028:8: warning: private field 'c_' is not used [-Wunused-private-field]
  char 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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
Target: x86_64-unknown-freebsd12.1
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/gmock-matchers_test-ea8c48.cpp
c++: note: diagnostic msg: /tmp/gmock-matchers_test-ea8c48.sh
c++: note: diagnostic msg:

********************
*** Error code 254

Stop.
make[7]: stopped in /usr/src/lib/googletest/gmock_main/tests
*** Error code 1

gmock-matchers_test-ea8c48.cpp
gmock-matchers_test-ea8c48.sh

available here(despite being to upload them here, there is not enough space): https://1drv.ms/u/s!AkvwG6Qrk79xga0_qRNYj3KOD31kRg?e=rE1mO8
Comment 1 Paul Webster 2020-05-12 15:23:17 UTC
Closed ... was out of memory/swap space :)