-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
overflow error when linking big libraries on MacOS #19718
Comments
I've been able to reproduce this with a similarly large pre-built static library, on macOS M3, using a slightly older Zig version:
Steps to reproduce with the above Zig version:
Running the Note that I am phasing out / deprecating this project in a month or two, so I will probably not be able to re-test this. I thought the info was still useful however. |
According to the information above, this is a minimal reproducible repository. Note: If compiled under Windows it will run out of memory. zig build -Dtarget=aarch64-macos |
Using this, I can reproduce the overflow error with both zig 0.12.0 and 0.13.0-dev.35+e8f28cda9 on MacOS M3. |
Zig Version
0.13.0-dev.7+40118c769
Steps to Reproduce and Observed Behavior
I am using a fork of zig-bootstrap and when I try to link LLVM in debug mode I get the following error:
The fork used: https://github.com/birth-software/zig-bootstrap/tree/make-script-more-configurable
Expected Behavior
To link successfully.
The text was updated successfully, but these errors were encountered: