-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
builder error for mbedtls when using nix #20518
Comments
see the shell.nix to add more dependencies in environment, if needed I can make a development environment for you to go into |
i just added glfw
freetype
openssl to the shell.nix and then I can't even compile v any more ./v1.exe -no-parallel -o v2.exe cmd/v
==================
In file included from /tmp/v_502/v2.exe.14234125913187763928.tmp.c:1187:
/nix/store/znpzvyfzwjckpbjlaf07mp91nz50albf-gcc-12.3.0/lib/gcc/aarch64-apple-darwin/12.3.0/include/stdatomic.h:40:1: sorry, unimplemented: ‘_Atomic’ in Objective-C
40 | typedef _Atomic _Bool atomic_bool;
| ^~~~~~~
/nix/store/znpzvyfzwjckpbjlaf07mp91nz50albf-gcc-12.3.0/lib/gcc/aarch64-apple-darwin/12.3.0/include/stdatomic.h:41:1: sorry, unimplemented: ‘_Atomic’ in Objective-C
41 | typedef _Atomic char atomic_char;
| ^~~~~~~
/nix/store/znpzvyfzwjckpbjlaf07mp91nz50albf-gcc-12.3.0/lib/gcc/aarch64-apple-darwin/12.3.0/include/stdatomic.h:42:1: sorry, unimplemented: ‘_Atomic’ in Objective-C
42 | typedef _Atomic signed char atomic_schar;
| ^~~~~~~
/nix/store/znpzvyfzwjckpbjlaf07mp91nz50albf-gcc-12.3.0/lib/gcc/aarch64-apple-darwin/12.3.0/include/stdatomic.h:43:1: sorry, unimplemented: ‘_Atomic’ in Objective-C
43 | typedef _Atomic unsigned char atomic_uchar;
...
==================
(Use `v -cg` to print the entire error message) |
ps to recompile you can always, leave the shells, do start.sh again to go back (after changing the shell.nix) then do herotools install_v --reset=true which will re-compile v |
this one works for compiling V, the same error for comiling hero, but at least now we know when we ask gcc V doesn't compile any more |
Describe the bug
Reproduction Steps
we have build a reproducible env base don nix see https://git.ourworld.tf/despiegk/crystaldev
this has ps some nice tricks how to get the same env with nothing but nix and vscode installed
Expected Behavior
cant compile, if in sandbox do
code/crystallib/cli/hero/compile_debug.sh
Current Behavior
gives compile error
Possible Solution
No response
Additional Information/Context
No response
V version
newest in nixos
Environment details (OS name and version, etc.)
arm, osx but nixos env (means is prob not using xcode...)
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: