Re: Pd-0.56-2 on IRIX

IOhannes m zmoelnig via Pd-list <[email protected]> Thu, 22 Jan 2026 15:12:11 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
On 1/21/26 20:17, Wolfgang Gaggl wrote:
> The Octane is (and always was) a 64bit system (native o64, with n32 supported).
> If you ran this on an SGI O2, it would come up as 32bit (but same MIPS4 CPU family), with n32 only.
> The "n32" datatype is really a "compatibility type" to efficiently run 32bit apps on that 64bit CPU.
> The "o32" is what the older MIPS I and MIPS II 32bit CPUs (e.g. R2000) would natively run, they would not be able to run n32.
> Starting with MIPS III the CPUs were 64bit and supported n32, but not all of them would do 64bit (the native o64 type) based on their hardware architecture and IRIX kernel flavor (those would not be IRIX64).
> I'm not aware of a "n64" ABI type for SGI Irix, this sounds more like the NEC VR300i CPU (afaik not used in SGI workstations).


thanks for the explanation.

the reason why i came up with "n64" was pages like 
<https://wiki.debian.org/MipsRev6> (which does not speak of "o64")

also, according to man gcc (1), there are at least four different 
ABI-flags for MIPS. i used these flags on a local cross-compiler (on 
Debian), and they created different ABI-specific preprocessor defines:

| compiler flag | preprocessor define |
|---------------|---------------------|
| -mabi=32      | _ABIO32
| -mabi=n32     | _ABIN32
| -mabi=o64     | _ABIO64
| -mabi=64      | _ABI64

this is of course just general information about MIPS architectures and 
not specific to SGI/IRIX (that is: it might well be about machines that 
are decidedly *not* SGI/IRIX).

and I'm not exactly sure what the difference between -mabi=64 and 
-mabi=o64 actually is


anhow: so what do you think would be good architecture specifiers for OS 
and CPU?

the pair of the two must unanimously identify the architecture of a 
library that can be dlopen()ed (and used) by a given host binary.

Ideally the CPUs should use the same identifiers across operating 
systems (and this is why I write so long emails about ABIs)

I would suggest to use
| OS   | CPU     | note
|------|---------|-------
| Irix | mips    | o32
| Irix | mipsn32 | n32
| Irix | mips64  | o64

And for the ominous n64 architecture (if it actually exists) it would be 
Irix-mipsn64 (or Linux-mipsn64).

what do you think?

dasmr
IOhannes

-- 
please do not CC me for list-emails

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/U7SUYBSL7IIDHPYWS2QER2EB3D5FRPGF/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
OpenPGP_signature.asc (application/pgp-signature, 840 B)
-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEdAXnRVdICXNIABVttlAZxH96NvgFAmlyMDsFAwAAAAAACgkQtlAZxH96NviA
iw/+OyygNISSpz7lO+I4XmxXtpxqhMZBYwH5L8ebVea17Ufz0rEbhq9o6mJw/WUKSQ+ijJBGyKWq
UzCWCF7bOBtboKIDzEsJJqmNO2OESYxUtvApuD4PACRqhBkxTqDA9VbgmWG6vjvBZc3m/rpPXgtf
9LLOU77Ilf+fmOWTrpaLWJJ0fb2KGrh3+wYX+fmlfxV02nbz/ascX7K1eIhgbY4BFcluHHVvH2mi
XB/LtZ/aq217v1W4/+uqQa+bhThgjocgQe591wyU5MEBC+AAV+V5BKBRU1U0iCgXg0uZ0SCT5vDE
JEnoYFL7hppPI+TMdDpU5F3C2g4agvqVywPYjgupQpbVYnyyR1m05r/I80iEX+EiF6pAenTwp7Md
55+iIqP1o+xbjLuaPeKjgRULtTs7oxtBVV7KrYvIcm5hyL2tG1MBx2/L47PucRgT4JBepvU6aLIM
iCkjqB5IL78ZreWKi9oso11Yq0bDj3WRp2x/POigdCvGL5/ObsNB0lwzIf8HtYHiHMt+ygJZFcx+
N5e6V74He+KGWEx55ifsZo1NzOvc5nwr38Qpunw0Z5WTwQAVxhFM5+yPRhyH186K1RnUO4TUrlA+
cNjBL0jveGtTtxZJNEzhadmXuQSF9bOvHLPfscNYNsp3idKxZkd1PzreW9oM0gOaq3kvFvOa1vNA
FwM=
=h0wt
-----END PGP SIGNATURE-----