Subject: Re: Strange error under the linux emulation (was : Intel C++
To: Vincent <10.50@free.fr>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: current-users
Date: 12/30/2003 13:06:21
On Mon, 2003-12-29 at 13:30, Vincent wrote:
> Hi,
> 
> continuing my Intel C++ compiler exploration, I just tried to compiled a
> simple source, and got that error message :
> 
> /emul/linux/opt/intel_cc_80/bin/icc -c -I/usr/pkg/include
> -I/usr/pkg/qt3/include -g -Wall -o main.o main.cpp 
> 
> mcpcom: Cannot allocate memory 

Try upping values in 'ulimt -a' ?

-lava

> compilation aborted for main.cpp (code 100)
> 
> mcpcom seems to be the back-end of the compiler.
> 
> Running mcpcom at the prompt gives this :
> 
> /emul/linux/opt/intel_cc_80/bin/mcpcom: Plus de mémoire. (No more
> memory)
> 
> Finally, a ktrace gives this :
> 
> 16741 ktrace   EMUL  "netbsd"
> [...]
> 16741 ktrace   CALL  execve(-1077940560,-1077939312,-1077939304)
> 16741 ktrace   NAMI  "/emul/linux/opt/intel_cc_80/bin/mcpcom"
> 16741 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
> 16741 ktrace   NAMI  "/emul/linux"
> 16741 ktrace   NAMI  "/emul/linux/lib/ld-linux.so.2"
> 16741 ktrace   RET   execve -1 errno 12 Cannot allocate memory
> 
> Which seems rather strange. Could it be that the binary claims to much
> memory to be loaded ?
> 
> Vincent