contrail-installer
contrail-installer copied to clipboard
g++: internal compiler error
Following the steps given in the README and trying to install opencontrail in Ubuntu 14.04 with devstack option.
devstack is UP and running. I started building opencontrail and encountered following error on latest Ubuntu 14.04.
2016-02-25 15:45:35 hard linking vrouter/vrouter/process_info/ttypes.py -> vrouter-0.1.dev0/vrouter/vrouter/process_info
2016-02-25 15:45:35 Writing vrouter-0.1.dev0/setup.cfg
2016-02-25 15:45:35 Creating tar archive
2016-02-25 15:45:35 removing 'vrouter-0.1.dev0' (and everything under it)
2016-02-25 15:50:03 gcc -o third_party/http-parser-2.1/http_parser.o -c -g -O3 third_party/http-parser-2.1/http_parser.c
2016-02-25 15:51:12 g++ -o build/production/io/event_manager.o -c -g -O3 -Wall -Werror -Wsign-compare -Wno-unused-local-typedefs -DLINUX -Icontroller/src -Ibuild/include -Icontroller/lib -Ibuild/include/thrift -Ibuild/production controller/src/io/event_manager.cc
2016-02-25 15:51:58 scons: building terminated because of errors.
2016-02-25 15:51:58 g++: internal compiler error: Killed (program cc1plus)
2016-02-25 15:51:59 Please submit a full bug report,
2016-02-25 15:51:59 with preprocessed source if appropriate.
2016-02-25 15:51:59 See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
2016-02-25 15:51:59 scons: *** [build/production/io/event_manager.o] Error 4
2016-02-25 15:52:03 exited with status :2
2016-02-25 15:52:03 ++ ret_val=2
2016-02-25 15:52:03 ++ [[ 2 -ne 0 ]]
2016-02-25 15:52:03 ++ exit 2
2016-02-25 15:52:03 ++ clean
2016-02-25 15:52:03 ++ local r=2
2016-02-25 15:52:03 ++ echo 'exited with status :2'
2016-02-25 15:52:03 ++ exit 2
How much memory do you have available in that system ? Typically when i see g++ existing with compiler error that means that it run out of memory.
Let me try the same with more memory .. 4GB should be fine right ?
You will likely need 8GB.
— Deepinder
From: ajithadapa <[email protected]mailto:[email protected]> Reply-To: Juniper/contrail-installer <[email protected]mailto:[email protected]> Date: Monday, February 29, 2016 at 11:28 AM To: Juniper/contrail-installer <[email protected]mailto:[email protected]> Subject: Re: [contrail-installer] g++: internal compiler error (#115)
Let me try the same with more memory .. 4GB should be fine right ?
— Reply to this email directly or view it on GitHubhttps://github.com/Juniper/contrail-installer/issues/115#issuecomment-190346286.