Skip to content

build: fix target features for rustc 1.96#467

Closed
CertainLach wants to merge 1 commit into
supervc-stack:mainfrom
CertainLach:push-ytxyospunpmy
Closed

build: fix target features for rustc 1.96#467
CertainLach wants to merge 1 commit into
supervc-stack:mainfrom
CertainLach:push-ytxyospunpmy

Conversation

@CertainLach

@CertainLach CertainLach commented Jun 30, 2026

Copy link
Copy Markdown

Currently, build of vchord fails on rustc 1.96 with rustc-LLVM ERROR: Cannot select: intrinsic %llvm.x86.avx512.vpdpbusd.512

This intrinsic is a part of avx512f, which doesn't seem to be enabled here. The way it worked previously is I guess because it was most likely implied by other avx512 features

I haven't found the exact rustc bug, but it seems this kind of problems is not something new, and better avoided by specifying features explicitly

Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@CertainLach

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@CertainLach

CertainLach commented Jun 30, 2026

Copy link
Copy Markdown
Author

It seems that it was not caused by rustc this time, but incorrect rustc packaging in nixos

This patch can be merged for correctness WRT implied features (avx512f is a part of x86_64-v4 after all), but should not be actually a problem

@CertainLach CertainLach reopened this Jun 30, 2026
@CertainLach CertainLach marked this pull request as ready for review June 30, 2026 18:43
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

Successfully merging this pull request may close these issues.

1 participant