Due to architectural limitations, address space available to a single userspace process on MIPS32 is limited to 2 GiB, not 4, even on systems that have more physical RAM -- e.g. 64-bit systems with 32-bit userspace, or systems that use XPA (an extension similar to x86's PAE). So, for MIPS32, we have impose stronger memory limits. I've chosen 2000MiB to give the process some headroom: http://git.altlinux.org/people/iv/packages/?p=xz.git;a=commitdiff;h=4bd5fac4a0929ea8a6fef75f56eafb7fe69a5aee Without this change, many tests of gear 2.5.0-alt1 fail on mipsel; with this change in xz, it builds successfully. Please include this or similar change into the next xz build for Sisyphus.
Can you send this patch to xz-devel@tukaani.org?
Seems not. Then, I will send it myself. Thanks.
Sorry, I missed your comment #1. No, I did not send this patch anywhere yet. I'll be grateful if you could send it to upstream.
The patch was committed upstream (https://git.tukaani.org/?p=xz.git;a=commit;h=fc3d3a7296ef58bb799a73943636b8bfd95339f7), thank you Vitaly for submitting it. But it does not seem that a new release containing this change will be out any time soon, so I cherry-picked it onto the current sisyphus version. Could you please approve? #276721 EPERM #2 sisyphus xz.git=5.2.5-alt3 http://git.altlinux.org/people/iv/packages/?p=xz.git;a=shortlog;h=refs/tags/5.2.5-alt3