-
-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
kitty0.24.4 : "ld: -stack_size option can only be used when linking a main executable" in aarch64-darwin #165387
Labels
Comments
I apply the patch work: diff --git a/setup.py b/setup.py
index 688e770..fcfe52b 100755
--- a/setup.py
+++ b/setup.py
@@ -199,7 +199,7 @@ def get_python_flags(cflags: List[str]) -> List[str]:
ldlib = sysconfig.get_config_var('VERSION')
if ldlib:
libs += [f'-lpython{ldlib}{sys.abiflags}']
- libs += (sysconfig.get_config_var('LINKFORSHARED') or '').split()
+ libs += sysconfig.get_config_var('LINKFORSHARED').replace('-Wl,-stack_size,1000000', '').split()
return libs |
This might be worth a PR. |
azuwis
added a commit
to azuwis/nix-config
that referenced
this issue
Mar 25, 2022
This seems to be a problem recently introduced in Nixpkgs. I don't yet know when exactly it was introduced. |
This is a brutal |
(cc @FRidh) |
13 tasks
13 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
Can't build kitty 0.24.4 in aarch64-darwin.
Steps To Reproduce
nix build ./nixpkgs#kitty
Expected behavior
Notify maintainers
@tex @rvolosatovs @Luflosi
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: