Igor Schein on Wed, 12 Jun 2002 11:31:13 -0400

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: 64bit HPUX binary buggy

On Wed, Jun 12, 2002 at 05:27:57PM +0200, Bill Allombert wrote:
> On Tue, Jun 11, 2002 at 10:12:48PM -0400, Igor Schein wrote:
> > Hi,
> > 
> > I compiled a 64bit gp binary on HPUX 11, but it's badly broken -
> > a command as simple as bnfinit(x^2-2) keeps doubling the stack.
> > I'd like to debug it, but I need some pointers on where to set
> > breakpoints, what to look for, etc.
> FWIW, I managed to build gp 2.1.3 successfully on HPPA/linux with gcc3.0, in
> 32 bit mode.
> All the problems I had were linked to bugs in gcc. Specifically
> gcc -O3 arit2.c got a SEGV.
> With -O2, it even pass the 'make bench'.
> Bill

Oh yeah, 32bit binaries are perferctly fine, never had problems
with them.  It's 64bit that's the culprit here.  I mean, I have 
HP machines with 16GB of RAM, and I need 64bit binary to be able
to utilize that abundance of RAM.