Summary: | [guru] dev-util/DirectXShaderCompiler-1.7.2212: build fails with gcc-13 (declaration of ‘llvm::DxilV alueCache::WeakValueMap llvm::DxilValueCache::ValueMap’ changes meaning of ‘ValueMap’ [-Wchanges-meaning]) | ||
---|---|---|---|
Product: | GURU | Reporter: | YOSHIOKA Takuma <lo48576> |
Component: | Package issues | Assignee: | Reva Denis <denis7774> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | herrtimson, kocelfc, rolferen, thorus.dv, zeekec |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/microsoft/DirectXShaderCompiler/pull/5179 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.gz
Backported PR 5179 from github |
Description
YOSHIOKA Takuma
2023-04-27 14:12:59 UTC
Created attachment 860843 [details]
build.log.gz
Upstream PR that fixes this issue: https://github.com/microsoft/DirectXShaderCompiler/pull/5179 Created attachment 862907 [details, diff]
Backported PR 5179 from github
This issue blocks =media-libs/amdvlk-2023.1.3 since its IUSE includes +raytracing which depends on this package, and the patch offered by Kostadin seems to work. Currently there is a 1.7.2308 version upstream, which I would assume includes the merged patch, but bumping the version without any modification isn't as trivial as renaming the PV: ```sh grep 'error:' /var/tmp/portage/dev-util/DirectXShaderCompiler-1.7.2308/temp/build.log /var/tmp/portage/dev-util/DirectXShaderCompiler-1.7.2308/work/DirectXShaderCompiler-1.7.2308/tools/clang/lib/SPIRV/SpirvEmitter.cpp:14044:40: error: no matching function for call to ‘spvtools::Optimizer::RegisterPerformancePasses(bool&)’ /var/tmp/portage/dev-util/DirectXShaderCompiler-1.7.2308/work/DirectXShaderCompiler-1.7.2308/tools/clang/lib/SPIRV/SpirvEmitter.cpp:14087:39: error: no matching function for call to ‘spvtools::Optimizer::RegisterLegalizationPasses(bool&)’ ``` I've pushed a revbump to 1.7.2212 including the patch, but I think the proper fix would be a version bump. |