Describe the bug
When building with -DUSE_GAS=OFF it sometimes fails because asm_offset.c.s is missing:
1/20] Building C object loader/CMakeFiles/asm_offset.dir/asm_offset.c.o
[2/20] Linking C executable loader/asm_offset
FAILED: loader/asm_offset loader/gen_defines.asm
.../vulkan-loader-1.3.250.0-build/loader/gen_defines.asm
: && gcc -O3 -DNDEBUG loader/CMakeFiles/asm_offset.dir/asm_offset.c.o -o loader/asm_offset /usr/lib/libxcb.so && cd .../vulkan-loader-1.3.250.0-build/loader && /usr/bin/python3 .../vulkan-loader-1.3.250.0/scripts/parse_asm_values.py .../vulkan-loader-1.3.250.0-build/loader/gen_defines.asm .../vulkan-loader-1.3.250.0-build/loader/CMakeFiles/asm_offset.dir/ asm_offset.c.s GAS GNU x86_64
Could not open assembler file:
.../build-target/vulkan-loader-1.3.250.0-build/loader/CMakeFiles/asm_offset.dir/asm_offset.c.s
ninja: build stopped: subcommand failed.
Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
- Nothing special, just try a clean build many times. It seems racy. I thinks it's a missing dependency.
Describe the bug
When building with
-DUSE_GAS=OFFit sometimes fails becauseasm_offset.c.sis missing:Environment (please complete the following information):
To Reproduce
Steps to reproduce the behavior: