On 2026-10-14 4:49 a.m., Janne Johansson wrote:


        > mips64 and riscv64 both have some level of support upstream,
        and I’d
        > like to see where things stand as-is.

        Fine business! I had someone reach out off list to do some
        testing on mips64 so maybe we should wait a bit to hear back.
        The diff is still OK with me. Thanks again.


    Took me a while to even get here, and "here" is "not finished
    yet". First it bombed on 4G default datasize ulimit, so I bumped
    that, then I didn't notice that crash left a 4G clang core file so
    next build failed due to filled up pobj/, now I am where zig2 will
    not start, it immediate goes ":out of memory" without any flags or so:

    ksh: /usr/ports/pobj/zig-0.17.0/build-mips64/zig2: Cannot allocate
    memory
    Doesn't seem to be ulimits this time, perhaps the binary is too
    big to run or so?

    objdump says this:
    objdump -p /usr/ports/pobj/zig-0.17.0/build-mips64/zig2

I'm guessing it is hitting MAXTSIZ which is 128M on mips64, will bump it and see if it helps, otherwise perhaps zig2 should have been compiled with -Os instead of -O2 to sneak text segment under 128M, but that will only last for so long before it bombs out again I gather.


Try with the text size bump. But don't worry about jumping through
too many hoops. If you can't get it to build and work reasonably straight
away then I'll just drop it from the list. Thanks for testing.

Reply via email to