You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build seems to do autodetection based on the CPU on which the build runs -- from the build log:
-- AVX512 support found
Steps to reproduce
Run translateLocally on an x86_64 CPU without AVX-512.
Note that this may not occur consistently -- I don't know if all of our Hydra builders have AVX-512, and if some don't we might end up with working binaries depending on where the build was scheduled. I was able to reproduce this on:
host os: Linux 6.6.74, NixOS, 24.11 (Vicuna), 24.11-20250201-f668777
multi-user?: yes
sandbox: yes
version: nix-env (Lix, like Nix) 2.93.0-dev-pre20250201-a513806 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/linus/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/linus/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/linus/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/linus/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/linus/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/63lli5digaa2s45i7q2vz19vp2yyn87j-lix-2.93.0-dev-pre20250201-a513806/share
Nixpkgs version
Describe the bug
translateLocally crashes on startup with Illegal instruction when run on an intel i7-1370P:
gdb says this is on this instruction:
which is from the AVX-512 extension.
The build seems to do autodetection based on the CPU on which the build runs -- from the build log:
Steps to reproduce
Run translateLocally on an x86_64 CPU without AVX-512.
Note that this may not occur consistently -- I don't know if all of our Hydra builders have AVX-512, and if some don't we might end up with working binaries depending on where the build was scheduled. I was able to reproduce this on:
Expected behaviour
No crash
Screenshots
No response
Relevant log output
Additional context
No response
System metadata
"x86_64-linux"
Linux 6.6.74, NixOS, 24.11 (Vicuna), 24.11-20250201-f668777
yes
yes
nix-env (Lix, like Nix) 2.93.0-dev-pre20250201-a513806 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/linus/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/linus/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/linus/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/linus/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/linus/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/63lli5digaa2s45i7q2vz19vp2yyn87j-lix-2.93.0-dev-pre20250201-a513806/share
/var/lib/nixpkgs
Notify maintainers
@pacien
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE
.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: