-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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
Local build fails with latest Vulkan headers (KOMPUTE_OPT_USE_BUILT_IN_VULKAN_HEADER=OFF) #3468
Comments
I can reproduce while trying to package the latest release for NixOS: NixOS/nixpkgs#372723 (comment) |
Thank you @glaubitz - happy to support, we haven't seen this issue on the main repo, I can't seem to reproduce on top level repo. Perhaps @cebtenzzre have you seen this issue? In regards to the embedded xxd, it is used to create spirv binaries as cpp headers, if it's not used it can be amended accordingly. |
I can take a look but:
So I assume you built GCC from the tip of its master branch? |
@axsaucedo We have not seen this issue in CI or local development, but by default we use version 1.3.239 of the Vulkan headers. I see that Kompute still defaults to v1.3.231. The build that @Titaniumtown refers to presumably used v1.3.296, as that is the latest NixOS package, and the NixOS build uses the system Vulkan headers. We know that v1.4.303, the version available on Arch Linux, is not compatible, which is why we do not use it. @glaubitz did not provide his cmake configuration, but presumably he also uses the system Vulkan headers. Not even the latest upstream Kompute supports the latest Vulkan headers:
|
The embedded copy of
kompute
fails to build with GCC 15 for two reasons.For one, there is an issue with the declaration of
vk
:And, secondly, there is an issue with the declarations of the functions
ftell()
andstrtol()
in the embedded copy of xxd.c (see: KomputeProject/kompute#410).The text was updated successfully, but these errors were encountered: