This is the mail archive of the
mailing list for the GCC project.
Re: [patch] enable libjava on HP-UX PA
- From: Andrew Haley <aph at redhat dot com>
- To: Andreas Tobler <toa at pop dot agri dot ch>
- Cc: Albert Chin <gcc-patches at mlists dot thewrittenword dot com>, Java Patches <java-patches at gcc dot gnu dot org>, GCC Patches <gcc-patches at gcc dot gnu dot org>, John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sat, 27 May 2006 20:13:26 +0100
- Subject: Re: [patch] enable libjava on HP-UX PA
- References: <446E4065.firstname.lastname@example.org> <20060527004955.GA55422@mail1.thewrittenword.com> <44789EA0.email@example.com>
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.