You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Joe Stein <jo...@stealth.ly> on 2013/10/10 18:05:55 UTC

build error - g++: internal compiler error: Killed (program cc1plus)

Hi, I bumped up into this maybe I missed something in the setup? or doing
something else wrong?  Is it because my server has < 1GB RAM or something?
Before I go try to spin up bigger instance I figured I shoot an email to
see if someone already dealt with this?

Making all in .
make[4]: Entering directory `/opt/apache/mesos/3rdparty/libprocess'
/bin/bash ./libtool  --tag=CXX   --mode=compile g++
-DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\"
-DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\"
-DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I.
 -I./include -I./3rdparty/stout/include -I3rdparty/boost-1.53.0
-I3rdparty/glog-0.3.3/src -I3rdparty/libev-4.15
-I3rdparty/ry-http-parser-1c3624a     -g -g2 -O2 -MT
libprocess_la-process.lo -MD -MP -MF .deps/libprocess_la-process.Tpo -c -o
libprocess_la-process.lo `test -f 'src/process.cpp' || echo
'./'`src/process.cpp
libtool: compile:  g++ -DPACKAGE_NAME=\"libprocess\"
-DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\"
"-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
-DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I. -I./include -I./3rdparty/stout/include
-I3rdparty/boost-1.53.0 -I3rdparty/glog-0.3.3/src -I3rdparty/libev-4.15
-I3rdparty/ry-http-parser-1c3624a -g -g2 -O2 -MT libprocess_la-process.lo
-MD -MP -MF .deps/libprocess_la-process.Tpo -c src/process.cpp  -fPIC -DPIC
-o libprocess_la-process.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-4.7/README.Bugs> for instructions.
make[4]: *** [libprocess_la-process.lo] Error 1
make[4]: Leaving directory `/opt/apache/mesos/3rdparty/libprocess'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/apache/mesos/3rdparty/libprocess'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/apache/mesos/3rdparty'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/apache/mesos/3rdparty'
make: *** [all-recursive] Error 1


/*******************************************
 Joe Stein
 Founder, Principal Consultant
 Big Data Open Source Security LLC
 http://www.stealth.ly
 Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
********************************************/

Re: build error - g++: internal compiler error: Killed (program cc1plus)

Posted by Niklas Quarfot Nielsen <ni...@mesosphe.re>.
That compiler error seems to be a common sign of GCC running out of memory.
Which version of GCC are you using and can you take a look at dmesg for OOM symptoms?

Niklas

On Oct 10, 2013, at 9:05 AM, Joe Stein <jo...@stealth.ly> wrote:

> Hi, I bumped up into this maybe I missed something in the setup? or doing
> something else wrong?  Is it because my server has < 1GB RAM or something?
> Before I go try to spin up bigger instance I figured I shoot an email to
> see if someone already dealt with this?
> 
> Making all in .
> make[4]: Entering directory `/opt/apache/mesos/3rdparty/libprocess'
> /bin/bash ./libtool  --tag=CXX   --mode=compile g++
> -DPACKAGE_NAME=\"libprocess\" -DPACKAGE_TARNAME=\"libprocess\"
> -DPACKAGE_VERSION=\"0.0.1\" -DPACKAGE_STRING=\"libprocess\ 0.0.1\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\"
> -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I.
> -I./include -I./3rdparty/stout/include -I3rdparty/boost-1.53.0
> -I3rdparty/glog-0.3.3/src -I3rdparty/libev-4.15
> -I3rdparty/ry-http-parser-1c3624a     -g -g2 -O2 -MT
> libprocess_la-process.lo -MD -MP -MF .deps/libprocess_la-process.Tpo -c -o
> libprocess_la-process.lo `test -f 'src/process.cpp' || echo
> './'`src/process.cpp
> libtool: compile:  g++ -DPACKAGE_NAME=\"libprocess\"
> -DPACKAGE_TARNAME=\"libprocess\" -DPACKAGE_VERSION=\"0.0.1\"
> "-DPACKAGE_STRING=\"libprocess 0.0.1\"" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE_URL=\"\" -DPACKAGE=\"libprocess\" -DVERSION=\"0.0.1\"
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
> -DHAVE_PTHREAD=1 -DHAVE_LIBZ=1 -I. -I./include -I./3rdparty/stout/include
> -I3rdparty/boost-1.53.0 -I3rdparty/glog-0.3.3/src -I3rdparty/libev-4.15
> -I3rdparty/ry-http-parser-1c3624a -g -g2 -O2 -MT libprocess_la-process.lo
> -MD -MP -MF .deps/libprocess_la-process.Tpo -c src/process.cpp  -fPIC -DPIC
> -o libprocess_la-process.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-4.7/README.Bugs> for instructions.
> make[4]: *** [libprocess_la-process.lo] Error 1
> make[4]: Leaving directory `/opt/apache/mesos/3rdparty/libprocess'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/apache/mesos/3rdparty/libprocess'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/apache/mesos/3rdparty'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/opt/apache/mesos/3rdparty'
> make: *** [all-recursive] Error 1
> 
> 
> /*******************************************
> Joe Stein
> Founder, Principal Consultant
> Big Data Open Source Security LLC
> http://www.stealth.ly
> Twitter: @allthingshadoop <http://www.twitter.com/allthingshadoop>
> ********************************************/