Mesa build fails on 32 bit architecture
Mesa build 20.1.0-0.3.20200228.10.bf16ff31.fc31 fails on i686 architecture.
`../src/amd/vulkan/radv_device.c: In function 'radv_queue_internal_submit':
../src/amd/vulkan/radv_device.c:4687:19: error: passing argument 9 of 'radv_alloc_sem_info' makes integer from pointer without a cast [-Werror=int-conversion]
4687 | 0, NULL, NULL);
| ^~~~
| |
| void *
../src/amd/vulkan/radv_device.c:4163:15: note: expected 'VkFence' {aka 'long long unsigned int'} but argument is of type 'void *'
4163 | VkFence fence)
| ~~~~~~~~^~~~~
../src/amd/vulkan/radv_device.c: In function 'run_secure_compile_idle_device':
../src/amd/vulkan/radv_device.c:2686:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2686 | write(fd_secure_output, &sc_type, sizeof(sc_type));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/amd/vulkan/radv_device.c: In function 'fork_secure_compile_device':
../src/amd/vulkan/radv_device.c:2659:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2659 | write(device->sc_state->secure_compile_processes[process].fd_secure_output, &sc_type, sizeof(sc_type));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/amd/vulkan/radv_device.c: In function 'run_secure_compile_device':
../src/amd/vulkan/radv_device.c:2471:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2471 | write(fd_idle_device_output, &sc_type, sizeof(sc_type));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/amd/vulkan/radv_device.c:2612:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2612 | write(fd_secure_output, &sc_type, sizeof(sc_type));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/amd/vulkan/radv_device.c: In function 'destroy_secure_compile_device':
../src/amd/vulkan/radv_device.c:2713:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
2713 | write(fd_secure_input, &sc_type, sizeof(sc_type));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors`
This was recently introduced because 20.1.0-0.3.20200228.05.1a61a5b1.fc31 was succesful.