This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] enable libjava on HP-UX PA

Andreas Tobler writes:
 > Albert Chin wrote:
 > > On Sat, May 20, 2006 at 12:02:13AM +0200, Andreas Tobler wrote:
 > >> this patch brings libjava support for the HP-UX PA 32-bit platform.
 > >>
 > >> To use it/try it you should have at least PHSS_33033 (actual is 
 > >> PHSS_33035), a linker patch, and the kernel parameters maxssiz set to >= 
 > >> 16MB.
 > > 
 > > Why the maxssiz requirement?
 > Well, when compiling the libjava files, the jc1 consumes lots of memory. 
 > I remember that this failed for me. I had a very weird default maxsize 
 > of 83570688. Reducing this value to 8MB helped, but then I was not able 
 > to run gdb. I always got messages like this:
 > --
 > Pid 20872 received a SIGSEGV for stack growth failure.
 > Possible causes: insufficient memory or swap space,
 > or stack size exceeded maxssiz.
 > --
 > Playing around with maxssize gave me the value of 16MB, also Dave told 
 > me has a similar setting. So I thought it would be a good advise to give.

I recently committed a patch that should considerably reduce stack
usage in jc1.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]