Repository navigation
Closed
Description
Resolution: Increase memory.
Omitting the majority of the log file, will post it if wanted. Build appears to be failing in folly directory.
Built in brand new ubuntu/xenial64 Vagrant environment, with Docker installed.
Command adapted from fbcode_builder instructions. Used appropriate variables from travis.yml due to Travis script not working out of box. #3
ubuntu@ubuntu-xenial:~/openr/build/fbcode_builder$ os_image=ubuntu:16.04 gcc_version=5 make_parallelism=2 travis_cache_dir=~/travis_ccache ./travis_docker_build.sh &> build_at_$(date +'%Y%m%d_%H%M%S').logOmitting output.
depbase=`echo experimental/JSONSchema.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr
/include -I/home/install/include -std=gnu++1y -g -O2 -MT experimental/JSONSchema.lo -MD -MP -MF $
depbase.Tpo -c -o experimental/JSONSchema.lo experimental/JSONSchema.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: ccache g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -I/home/install/includ
e -std=gnu++1y -g -O2 -MT experimental/JSONSchema.lo -MD -MP -MF experimental/.deps/JSONSchema.Tpo
-c experimental/JSONSchema.cpp -fPIC -DPIC -o experimental/.libs/JSONSchema.o
depbase=`echo experimental/NestedCommandLineApp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ./libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr
/include -I/home/install/include -std=gnu++1y -g -O2 -MT experimental/NestedCommandLineApp.lo -MD
-MP -MF $depbase.Tpo -c -o experimental/NestedCommandLineApp.lo experimental/NestedCommandLineApp.
cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: ccache g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -I/home/install/includ
e -std=gnu++1y -g -O2 -MT experimental/NestedCommandLineApp.lo -MD -MP -MF experimental/.deps/Neste
dCommandLineApp.Tpo -c experimental/NestedCommandLineApp.cpp -fPIC -DPIC -o experimental/.libs/Nes
tedCommandLineApp.o
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
make[2]: *** [experimental/JSONSchema.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:2156: recipe for target 'experimental/JSONSchema.lo' failed
libtool: compile: ccache g++ -DHAVE_CONFIG_H -I./.. -pthread -I/usr/include -I/home/install/includ
e -std=gnu++1y -g -O2 -MT experimental/NestedCommandLineApp.lo -MD -MP -MF experimental/.deps/Neste
dCommandLineApp.Tpo -c experimental/NestedCommandLineApp.cpp -o experimental/NestedCommandLineApp.o
>/dev/null 2>&1
make[2]: Leaving directory '/home/folly/folly'
Makefile:2275: recipe for target 'all-recursive' failed
make[1]: Leaving directory '/home/folly/folly'
make[1]: *** [all-recursive] Error 1
Makefile:1302: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/bash -c make -j '2'' returned a non-zero code: 2
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels
Activity
remingtonc commentedon Nov 17, 2017
In a VM environment, problem is fixed by increasing the VM memory (8192 MB).
Second attempt at compilation experienced an OOM error, leading to increase of VM memory size. This was probably the cause of the internal compiler error as well.
LinkMonitorTest - Explicitly delete objects in TearDown
Bugfix: fix kvstore stuck issue during desctruction sequence
Fix KvStore unclean exit with thriftSyncTimer fired after thriftPeers…