Port-sparc64 archive

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

Re: Problems with top



On Tue, Aug 19, 2008 at 04:07:48AM -0400, Christos Zoulas wrote:
> That's probably the problem. It does not make sense for uname -m to say 
> sparc64
> when you are running 32 bit binaries.

I don't see where it goes wrong: sys/arch/sparc64/include/param.h says:

#define _MACHINE        sparc64
#define MACHINE         "sparc64"
#ifdef __arch64__
#define _MACHINE_ARCH   sparc64
#define MACHINE_ARCH    "sparc64"
#define MID_MACHINE     MID_SPARC64
#else
#define _MACHINE_ARCH   sparc
#define MACHINE_ARCH    "sparc"
#define MID_MACHINE     MID_SPARC
#endif

and you should not have __arch64__ defined for a 32 bit build.

Martin


Home | Main Index | Thread Index | Old Index