1833704 Members
3174 Online
110062 Solutions
New Discussion

maxdsiz and aCC

 
Nitin kashyap
Occasional Advisor

maxdsiz and aCC

Hello all,

I am getting the following error, when compiling a file, with aCC with debug flag -g set.

Error 6312: Exact position unknown; near ["__temp/CSSEngine.cpp", line 1415]. # [line 0 CSSEngine::sigValidate(_t_PSSigValidateParamsRecRec *)] Out of memory. Check kernel maxdsiz parameter and swap space configured. (6312)

The error is not seen if there is no -g

What are the recommened values of the above parameters when using aCC
My current kernel parameters are
Maxdsiz : 0x4000000 (64Mb)
Maxssize: 0x400000 (16MB)

Also I am not able to modify these values and rebuild the kernel, using SAM.
An attempt to build the kernel gives the following error:
Cannot build a kernel using /usr/sbin/config. The standard output of the command is shown below:
Stop.
Config: make did an exit(1)
The command exited with exit code -71

Also which system parameter controls the swap space??
3 REPLIES 3
G. Vrijhoeven
Honored Contributor

Re: maxdsiz and aCC

Hi,

I think your main proi must be why the rebuiding of the kernel failed.. I should check the patch database.

The kernel parameter for swap is maxswapchunks.. To enable swap you can use the swapon ( man swapon) command. This can be done online (if you have the disk space, and the kernel parameter is high enough)

Gideon

Ravi_8
Honored Contributor

Re: maxdsiz and aCC

Hi

post the o/p of

#mk_kernel
never give up
Nitin kashyap
Occasional Advisor

Re: maxdsiz and aCC

I agree, part of the problem is why is the kernel not building. Other part definitely is what is the recommende value for aCC, nad why is the -g option causing the problem? Should the limit be necessarily increased above 64 MB for using -g option from within aCC? For these i have posted a query on cxxdev also.
as for the swapchunks, swapon is already on my machine, and the maxswapchunks variable is set to 256, with the swapmem_on param set to 1
maxdsiz as i mentioned is 0x04000000