Discussion:
s390x vs. s390
(too old to reply)
Torsten Werner
2008-01-07 08:40:16 UTC
Permalink
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 <***@anduin.net>
Date: Jan 7, 2008 4:22 AM
Subject: Re: patch for kbuild
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 debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Bastian Blank
2008-01-07 10:10:07 UTC
Permalink
Post by Torsten Werner
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.
Post by Torsten Werner
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.
Post by Torsten Werner
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 debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Torsten Werner
2008-01-07 14:40:21 UTC
Permalink
Post by Bastian Blank
Post by Torsten Werner
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.
Post by Bastian Blank
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.
Post by Bastian Blank
Please use the Mail-Followup-To header to request that.
You are talking about the IETF draft that expired about 10 years ago?
Post by Bastian Blank
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 debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Bastian Blank
2008-01-07 15:00:14 UTC
Permalink
Post by Torsten Werner
Post by Bastian Blank
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.
Post by Torsten Werner
Post by Bastian Blank
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 debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...