On Sun, 28 Feb 2021 07:24:06 +0100
Sebastien Marie <[email protected]> wrote:

> The port should be buildable on ${LLVM_ARCHS}, but I restricted it to
> a smaller archs sets: the zig0 compiler (zig stage0 compiler written
> in C++, and used to bootstrap to stage1) requires an insane datasize
> (6 Go). I kept only archs where datasize of pbuild user was big
> enough (amd64 arm64 and powerpc64).

I want to try it on powerpc64.  There might be problems, because Zig
has only "Tier 3 Support" for powerpc64,
https://ziglang.org/learn/overview/#tier-3-support

At tier 3, foreign function calls between C and Zig might not work.
LLVM can emit powerpc64 code, but that isn't enough.  The frontend
must have special knowledge of the C ABI for powerpc64, and build the
LLVM IR code in a compatible way.  We might also get lucky, and some
C calls might work without the special knowledge, if they don't use
va_arg(3) lists nor pass structs by value.

Will send another mail after I try the powerpc64 build.   --George

Reply via email to