Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: lindahl@pbm.com (Greg Lindahl)
Subject: Re: A Fortran/C code malloc problem
Date: 1999/03/25	[thread overview]
Message-ID: <7dcf0a$1pu1@news3.newsguy.com> (raw)
In-Reply-To: 7dc6kt$b48$1@nnrp1.dejanews.com

b_duke@my-dejanews.com writes:

> > Well yes.  Alpha Linux is a 64-bit O.S. so there is no reason
> > whatsoever for the difference between two pointers to fit in 32 bits.
> 
> Yes, I agree with this, but the number still seems enormous.

In fact, Linux intentionally allows a big space for the process, so
you can get offsets which are that big. Sorry; that's the way it
works. You might want to fix your code.

> It is used regularly on Alphas running Digital Unix for
> example.

DU has a different memory map for processes, and the -taso flag on the
linker for broken 32-bit programs. Does your program use -taso under
DU?

There was some discussion about duplicating -taso under Linux on the
axp-list@redhat.com mailing list, but I'm not sure if anyone is actually
working on it.

-- g




  reply	other threads:[~1999-03-25  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-24  5:00 A Fortran/C code malloc problem b_duke
1999-03-24  5:00 ` Robert Harley
1999-03-25  5:00   ` b_duke
1999-03-25  5:00     ` Greg Lindahl [this message]
1999-03-25  5:00 ` Larry Zimmerman
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox