Re: [PATCH 0/2] Few fixes for cross-compiling with Meson
- From
Toon Claes <toon@iotcl.com>
- Date
- Dec 8, 2025, 14:41 UTC
- Message-ID
- <874iq1vxwt.fsf@iotcl.com>
- In-Reply-To
- <3tucvydzaelj2mngkocb75l52nssxkkdtt3dj4paviatd3uvnc@u2sy4vig7owz>
Carlo Marcelo Arenas Belón <carenas@gmail.com> writes:
Show 5 quoted lines
> On Tue, Dec 02, 2025 at 11:48:07AM -0800, Toon Claes wrote: >> I was cross-compiling for s390x. > > Just to clarify, you mean Linux on IBM Z/LinuxOne, not 64bit ZOS/ZVM, > right?
I'm sorry, I'm not aware of the correct terminology here.
If I run file(1) on the compiled binary, I'm getting:
ELF 64-bit MSB pie executable, IBM S/390, version 1 (SYSV),
dynamically linked, interpreter /lib/ld64.so.1, for GNU/Linux 3.2.0And readelf(1) says:
...
OS/ABI: UNIX - System V
...
Machine: IBM S/390
...And the toolchain used was installed from:
https://aur.archlinux.org/packages/s390x-z13-glibc-bleeding-edge-toolchain
I hope that clarifies it?
-- Cheers, Toon