s390x vs. s390

2008-01-07 Thread Torsten Werner
Hi,

one of our buildd reports s390x instead of s390 for 'uname -m'. Am I
correct that both architectures have a 32 bit userland and not 64 bit?
Please Cc: Knut and me in your answer because we are not subscribed to
the mailing list.

Thanks,
Torsten


-- Forwarded message --
From: knut st. osmundsen [EMAIL PROTECTED]
Date: Jan 7, 2008 4:22 AM
Subject: Re: patch for kbuild
To: [EMAIL PROTECTED]


Torsten Werner wrote:
 Hi Knut,

 I am sending you another patch for kbuild.

Thanks. I've applied it with some extras for detecting 64-bit / 32-bit
based on gcc/gcc/config/*/*.h and vendor docs (sun, ibm, hp). From what
I can tell, 's390x' seems to be the id of 64-bit linux for S/390. So,
I've take the liberty to add it as a separate kBuild arch. Let me know
if this is wrong or problematic (I've no clue since it's ~6 years since
last I played with mainframes).

Kind Regards,
  knut



-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: s390x vs. s390

2008-01-07 Thread Bastian Blank
On Mon, Jan 07, 2008 at 09:29:20AM +0100, Torsten Werner wrote:
 one of our buildd reports s390x instead of s390 for 'uname -m'. Am I
 correct that both architectures have a 32 bit userland and not 64 bit?

Yes. The correct way to determine the debian architecture is
dpkg-architecture, not uname.

 Please Cc: Knut and me in your answer because we are not subscribed to
 the mailing list.

Please use the Mail-Followup-To header to request that.

   From what
 I can tell, 's390x' seems to be the id of 64-bit linux for S/390.

It is the architecture string of the Linux kernel on s/390,zSeries,System Z in
64 bit mode.

Bastian

-- 
Intuition, however illogical, is recognized as a command prerogative.
-- Kirk, Obsession, stardate 3620.7


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: s390x vs. s390

2008-01-07 Thread Torsten Werner
On Jan 7, 2008 11:05 AM, Bastian Blank [EMAIL PROTECTED] wrote:
 On Mon, Jan 07, 2008 at 09:29:20AM +0100, Torsten Werner wrote:
  one of our buildd reports s390x instead of s390 for 'uname -m'. Am I
  correct that both architectures have a 32 bit userland and not 64 bit?

 Yes.

Thanks.

 The correct way to determine the debian architecture is
 dpkg-architecture, not uname.

But a software that is portable to many operating systems will
probably not use dpkg-architecture because it is a very special tool.

 Please use the Mail-Followup-To header to request that.

You are talking about the IETF draft that expired about 10 years ago?

 It is the architecture string of the Linux kernel on s/390,zSeries,System Z in
 64 bit mode.

Thanks again.


Cheers,
Torsten

-- 
blog: http://twerner.blogspot.com/
homepage: http://www.twerner42.de/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: s390x vs. s390

2008-01-07 Thread Bastian Blank
On Mon, Jan 07, 2008 at 12:19:22PM +0100, Torsten Werner wrote:
 On Jan 7, 2008 11:05 AM, Bastian Blank [EMAIL PROTECTED] wrote:
  The correct way to determine the debian architecture is
  dpkg-architecture, not uname.
 But a software that is portable to many operating systems will
 probably not use dpkg-architecture because it is a very special tool.

This applies to the debian packaging.

  Please use the Mail-Followup-To header to request that.
 You are talking about the IETF draft that expired about 10 years ago?

Yes. But it does not change the defacto standard which is used in the
wild since long time.

Bastian

-- 
A little suffering is good for the soul.
-- Kirk, The Corbomite Maneuver, stardate 1514.0


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]