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!
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!
FS#78083 - [vulkan-validation-layers] build appears to be older version
Attached to Project:
Arch Linux
Opened by Andrew O'Neil (ajoneilnz) - Saturday, 01 April 2023, 03:10 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 23:21 GMT
Opened by Andrew O'Neil (ajoneilnz) - Saturday, 01 April 2023, 03:10 GMT
Last edited by Toolybird (Toolybird) - Saturday, 01 April 2023, 23:21 GMT
|
DetailsDescription:
vulkan-validation-layers was updated from 1.3.236.0 to 1.3.243.0 recently, but the built package appears to be an older version. I am getting validation errors that are present in 1.3.236.0, but not in 1.3.239.0 nor 1.3.243.0 when I build the package myself. Furthermore trying to build the PKGBUILD results in a compile time error on both my machine and from a clean build within the archlinux:base-devel docker image: /usr/include/c++/12.2.1/bits/char_traits.h:431:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets -4611686018427387902 and [-4611686018427387903, 4611686018427387904] may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 431 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ [ 23%] Building CXX object source/CMakeFiles/SPIRV-Tools-static.dir/val/validate_barriers.cpp.o cc1plus: all warnings being treated as errors make[2]: *** [source/CMakeFiles/SPIRV-Tools-static.dir/build.make:376: source/CMakeFiles/SPIRV-Tools-static.dir/spirv_target_env.cpp.o] Error 1 I've attached a patch that fixes the build error and allows the correct version to be built. Additional info: * package version: 1.3.243.0 Steps to reproduce: Try to build the PKGBUILD. |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 01 April 2023, 23:21 GMT
Reason for closing: Works for me
Additional comments about closing: See comments
Saturday, 01 April 2023, 23:21 GMT
Reason for closing: Works for me
Additional comments about closing: See comments
spirv-tools-no-warnings-as-er...
FS#78091which is more on topic.[1] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot