Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69974 - [glslang] glslang isn't linked to spirv-tools

Attached to Project: Arch Linux
Opened by Georg Lehmann (DadSchoorse) - Saturday, 13 March 2021, 09:54 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 March 2021, 14:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
glslang seems to not be build with spirv-tools which is needed for the optimizer options, and to generate legal SPIRV from HLSL.
I'm not 100% sure what's going on here, because glslang seems to depend on spirv-tools, so I would expect this to work already.

Additional info:
* package version(s): glslang 11.2.0-1 spirv-tools 2020.6-1

Steps to reproduce:
During build there's a "spirv-tools not linked - illegal SPIRV may be generated for HLSL" message
when running `glslangValidator -Os` it prints "Error: -Os not available; optimizer not linked"
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 14 March 2021, 14:21 GMT
Reason for closing:  Fixed
Comment by Sven-Hendrik Haase (Svenstaro) - Sunday, 14 March 2021, 05:13 GMT
Turns out upstream really wants us to vendor spirv-tools on this because they require a very specific version of it. NisOS appears to be doing the same. I pushed a package built their way to testing. Give it a spin and report back.
Comment by Georg Lehmann (DadSchoorse) - Sunday, 14 March 2021, 08:59 GMT
Yes, that package seems to work. Thank you!

Loading...