Subject: Re: 64-bit user-space on G5? Never, soonish, or unknown?

From: Albert Cahalan <[email-masked]>
Date: 01 Mar 2004 18:42:42 -0500

On Mon, 2004-03-01 at 17:38, [email-masked] wrote:
> On Sat, Feb 28, 2004 at 06:16:28PM -0500, Albert Cahalan wrote:

> > You'd better have a 64-bit ncurses. If you don't,
> > your procps will be compiled incorrectly. Data
> > will get truncated, mangled, etc. -- assuming you
> > can even run the tools at all.
>
> ? My ps, top, w all work fine:
>
> linas@panic:~> file /usr/bin/top
> /usr/bin/top: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), stripped
> linas@panic:~> file /bin/ps
> /bin/ps: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), dynamically linked (uses shared libs), stripped
>
> They've been running fine, with all manner of mangled and hacked
> 2.4 and 2.6 kernels.

Try this:
ps -eo drs,trs,tsiz,dsiz,start_stack,esp,eip,nwchan,wchan

(especially when examining a 64-bit process or when
running on the 2.4 kernel)

By "assuming you can run the tools at all" I mean that
you might end up with 32-bit libraries in /lib64.
If you build on a pure 32-bit system this won't happen.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/