Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Still using this but one problem #3

Open
revelator opened this issue Nov 7, 2024 · 2 comments
Open

Still using this but one problem #3

revelator opened this issue Nov 7, 2024 · 2 comments

Comments

@revelator
Copy link

zstd format fails to package many larger packages due to memory constraint.

unpatched the 32 bit build of msys2 cannot handle memory requirements larger than 2gb due to not having the LARGAEADDRESSAWARE flag set, with some minor modifications the peflagsall script can handle setting that .

strangely the 32 bit msys2 binutils cannot handle this flag like the 64 bit msys32 binutils can, it throws an error on -Wl,--enable-large-address-aware so the only thing left for now is peflags.

@jeremyd2019
Copy link
Owner

Nice to know I'm not just doing this for myself. Note my current plan is to stop in October 2025 when Windows 10 goes out of support.

I've run into that issue a couple of times myself, and I was able to work around it by reducing the compression options in makepkg.conf:

COMPRESSZST=(zstd -c -T0 --ultra -20 -)

usually just by reducing it to -T1. For building the 32-bit sfx installer I just used the 64-bit 7zip to compress, the 32-bit was still capable of decompressing without running out of memory.

@revelator
Copy link
Author

hehe yeah thats also an option ;).

as for my usage it is mostly compatibility related but the 64 bit version also works fine for most parts.

would be sad to see it go though as even though its a minority who uses it it still is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants