Red Hat Bugzilla – Bug 79080
cc1plus died when compiling Matlab .cpp source code
Last modified: 2007-04-18 12:48:52 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826
Description of problem:
cc1plus comsued LOTS of time, eat LOTS of memory and swap space,
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.I was using Mathworks Inc.'s Matlab (Release 12.1) C++ compiler,
the "mbuild" script, to compile a .cpp file into objective file.
2. The .cpp source file is written in Matlab's C++ syntax.
3. The command was:
mbuild -I./include -c xxxx.cpp
Actual Results: After 379m54.223s real time, 19m40.460s user time, and 2m28.460s
sys time, and consumed more than 200M size and 90M physical
memory (I used top to monitor the cc1plus process), cc1plus finally
Expected Results: It should produce a xxxx.o objective file after successful
as did on another computer (Dell Inspiron 4100 laptop, running
the same Redhat Linux 7.1 with 256 MB memory and a P3 mobile 0.86GHZ
CPU, and the same Matlab(Release 12.1) C++ compiler for Linux)
Error message was:
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report to
mbuild: compile of ".xxxx.cpp" failed.
make: ****[xxxx.o] Error 1
Hardware: Dell Dimension XPS Pro 200N (1996 model)
CPU: Pentium Pro 200 MHz
Physical Memory: 128 MB
Hard drive: 11 GB
OS: Redhat Linux 7.1
No test case or pointer to test case. Two years old.