Build of 21.2.0 with GCC 11.2.0 fails on armv7l
This is in Chromebrew on ChromeOS, built using meson and gcc 11.
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/x86_64-cros-linux-gnu/11/lto-wrapper
Target: x86_64-cros-linux-gnu
Configured with: ../configure --prefix=/usr/local --libdir=/usr/local/lib64 --mandir=/usr/local/share/man --build=x86_64-cros-linux-gnu --host=x86_64-cros-linux-gnu --target=x86_64-cros-linux-gnu --program-prefix= --program-suffix= --disable-bootstrap --disable-libmpx --disable-libssp --disable-multilib --disable-werror --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-host-shared --enable-lto --enable-plugin --enable-shared --enable-symvers --enable-static --enable-threads=posix --with-gcc-major-version-only --with-gmp --with-isl --with-mpc --with-mpfr --with-pic --with-system-libunwind --with-system-zlib --with-arch-64=x86-64 --enable-languages=c,c++,jit,objc,fortran,go --program-suffix=-11
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.1.0 (GCC)
x86_64: (building using meson with -Dgallium-drivers="r300,r600,radeonsi,nouveau,virgl,svga,swrast,iris,crocus"
[2424/2456] Compiling C object src/gallium/frontends/xa/libxa_st.a.p/xa_context.c.o
[2425/2456] Linking target src/intel/vulkan/libvulkan_intel.so
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2426/2456] Generating lvp_entrypoints with a custom command
[2427/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_descriptor_set.c.o
[2428/2456] Compiling C object src/gallium/frontends/xa/libxa_st.a.p/xa_tracker.c.o
[2429/2456] Compiling C object src/gallium/frontends/xa/libxa_st.a.p/xa_yuv.c.o
[2430/2456] Linking static target src/gallium/frontends/xa/libxa_st.a
[2431/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_device.c.o
[2432/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_cmd_buffer.c.o
[2433/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/meson-generated_.._lvp_entrypoints.c.o
[2434/2456] Linking target src/gallium/targets/xvmc/libXvMCgallium.so.1.0.0
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_add' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:270:38,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:330:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_remove' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:305:33,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:339:19:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize.constprop' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2435/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_execute.c.o
[2436/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_util.c.o
[2437/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_image.c.o
[2438/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_formats.c.o
[2439/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_lower_vulkan_resource.c.o
[2440/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_lower_input_attachments.c.o
[2441/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_pass.c.o
[2442/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_pipeline.c.o
[2443/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_pipeline_cache.c.o
[2444/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_query.c.o
[2445/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_wsi.c.o
[2446/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_wsi_x11.c.o
[2447/2456] Compiling C object src/gallium/frontends/lavapipe/liblavapipe_st.a.p/lvp_wsi_wayland.c.o
[2448/2456] Compiling C object src/gallium/targets/lavapipe/libvulkan_lvp.so.p/target.c.o
[2449/2456] Linking static target src/gallium/frontends/lavapipe/liblavapipe_st.a
[2450/2456] Linking target src/gallium/targets/vdpau/libvdpau_gallium.so.1.0.0
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_add' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:270:38,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:330:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_remove' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:305:33,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:339:19:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25,
inlined from 'ntt_optimize_nir' at ../src/gallium/auxiliary/nir/nir_to_tgsi.c:2483:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2451/2456] Generating lvp_icd with a custom command
[2452/2456] Linking target src/gallium/targets/va/libgallium_drv_video.so
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_add' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:270:38,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:330:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_remove' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:305:33,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:339:19:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25,
inlined from 'ntt_optimize_nir' at ../src/gallium/auxiliary/nir/nir_to_tgsi.c:2483:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2453/2456] Linking target src/gallium/targets/xa/libxatracker.so.2.5.0
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize.constprop' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2454/2456] Linking target src/gallium/targets/lavapipe/libvulkan_lvp.so
FAILED: src/gallium/targets/lavapipe/libvulkan_lvp.so
c++ -o src/gallium/targets/lavapipe/libvulkan_lvp.so src/gallium/targets/lavapipe/libvulkan_lvp.so.p/target.c.o -flto -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libvulkan_lvp.so -Wl,--whole-archive src/gallium/frontends/lavapipe/liblavapipe_st.a -Wl,--no-whole-archive src/gallium/auxiliary/pipe-loader/libpipe_loader_static.a src/loader/libloader.a src/util/libxmlconfig.a src/util/libmesa_util.a src/util/format/libmesa_format.a src/gallium/auxiliary/libgallium.a src/compiler/nir/libnir.a src/compiler/libcompiler.a src/gallium/winsys/sw/wrapper/libwsw.a src/gallium/winsys/sw/dri/libswdri.a src/gallium/winsys/sw/null/libws_null.a src/gallium/winsys/sw/kms-dri/libswkmsdri.a src/gallium/drivers/llvmpipe/libllvmpipe.a src/gallium/drivers/softpipe/libsoftpipe.a src/vulkan/wsi/libvulkan_wsi.a src/vulkan/util/libvulkan_util.a -Wl,-Bsymbolic -Wl,--gc-sections -lLLVM-12 -pthread /usr/local/lib64/libz.so -lm /usr/local/lib64/libdrm.so /usr/local/lib64/libexpat.so /usr/local/lib64/libzstd.so -ldl /usr/local/lib64/libunwind.a -lLLVM-12 -lsensors -lLLVM-12 /usr/local/lib64/libxcb-dri3.so /usr/local/lib64/libwayland-client.so /usr/local/lib64/libxcb.so /usr/local/lib64/libX11-xcb.so /usr/local/lib64/libX11.so /usr/local/lib64/libxcb-present.so /usr/local/lib64/libxcb-sync.so /usr/local/lib64/libxcb-randr.so /usr/local/lib64/libxshmfence.so /usr/local/lib64/libXrandr.so -Wl,--end-group
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize.constprop' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
/usr/local/bin/ld: /usr/local/tmp/ccfNuh8B.ltrans76.ltrans.o: in function `_Uelf64_get_proc_name.isra.0':
<artificial>:(.text+0x7a89): undefined reference to `lzma_stream_footer_decode'
/usr/local/bin/ld: <artificial>:(.text+0x7acf): undefined reference to `lzma_index_buffer_decode'
/usr/local/bin/ld: <artificial>:(.text+0x7ae6): undefined reference to `lzma_index_size'
/usr/local/bin/ld: <artificial>:(.text+0x7afd): undefined reference to `lzma_index_uncompressed_size'
/usr/local/bin/ld: <artificial>:(.text+0x7b11): undefined reference to `lzma_index_end'
/usr/local/bin/ld: <artificial>:(.text+0x7b8c): undefined reference to `lzma_stream_buffer_decode'
collect2: error: ld returned 1 exit status
[2455/2456] Linking target src/mesa/drivers/dri/libmesa_dri_drivers.so
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
[2456/2456] Linking target src/gallium/targets/dri/libgallium_dri.so
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 16 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 17 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 18 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 19 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 20 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 21 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 22 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'read_alu',
inlined from 'read_instr' at ../src/compiler/nir/nir_serialize.c:1734:47,
inlined from 'read_block' at ../src/compiler/nir/nir_serialize.c:1803:12,
inlined from 'read_cf_node' at ../src/compiler/nir/nir_serialize.c:1878:7,
inlined from 'read_cf_list' at ../src/compiler/nir/nir_serialize.c:1905:7:
../src/compiler/nir/nir_serialize.c:951:46: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
951 | alu->src[i].swizzle[o + j] =
| ^
../src/compiler/nir/nir_serialize.c: In function 'read_cf_list':
../src/compiler/nir/nir.h:1054:12: note: at offset 23 into destination object 'swizzle' of size 16
1054 | uint8_t swizzle[NIR_MAX_VEC_COMPONENTS];
| ^
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_add' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:270:38,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:330:7:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'r600_vec_instr_stack_create' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:124:4,
inlined from 'r600_vec_instr_set_remove' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:305:33,
inlined from 'r600_vectorize_block' at ../src/gallium/drivers/r600/sfn/sfn_nir_vectorize_vs_inputs.c:339:19:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'util_dynarray_init',
inlined from 'process_block' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1383:10,
inlined from 'nir_opt_load_store_vectorize' at ../src/compiler/nir/nir_opt_load_store_vectorize.c:1415:25:
../src/util/u_dynarray.h:56:4: warning: 'memset' writing 16 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
56 | memset(buf, 0, sizeof(*buf));
| ^
In function 'clone_phi',
inlined from 'clone_block' at ../src/compiler/nir/nir_clone.c:558:10,
inlined from 'clone_cf_list.isra' at ../src/compiler/nir/nir_clone.c:610:10:
../src/compiler/nir/nir_clone.c:454:7: warning: 'memcpy' writing 72 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=]
454 | memcpy(nsrc, src, sizeof(*src));
| ^
ninja: build stopped: subcommand failed.
on armv7l:
[1511/1898] Compiling C object src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_blend.c.o
FAILED: src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_blend.c.o
cc -Isrc/gallium/drivers/freedreno/libfreedreno.a.p -Isrc/gallium/drivers/freedreno -I../src/gallium/drivers/freedreno -Isrc/mesa -I../src/mesa -Isrc/mapi -I../src/mapi -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/freedreno -I../src/freedreno -Isrc/freedreno/registers -I../src/freedreno/registers -Isrc/freedreno/registers/adreno -I../src/freedreno/registers/adreno -Isrc/freedreno/common -I../src/freedreno/common -I../src/gallium/drivers/freedreno/ir3 -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/usr/local/include/libdrm -I/usr/local/include/valgrind -fvisibility=hidden -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.2.0-rc1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="12.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DHAVE_VALGRIND -DMESA_EXECMEM -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O3 -fPIC -pthread -Wno-override-init -Wno-packed-bitfield-compat -MD -MQ src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_blend.c.o -MF src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_blend.c.o.d -o src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_blend.c.o -c ../src/gallium/drivers/freedreno/a4xx/fd4_blend.c
In file included from ../src/gallium/drivers/freedreno/freedreno_util.h:37,
from ../src/gallium/drivers/freedreno/a4xx/fd4_blend.h:33,
from ../src/gallium/drivers/freedreno/a4xx/fd4_blend.c:32:
../src/gallium/drivers/freedreno/freedreno_util.h: In function 'OUT_RINGP':
../src/gallium/drivers/freedreno/freedreno_util.h:113:40: error: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Werror=implicit-function-declaration]
113 | mesa_logi("%5d: %s:%d: " fmt, gettid(), __FUNCTION__, __LINE__, \
| ^~~~~~
../src/util/log.h:55:78: note: in definition of macro 'mesa_logi'
55 | #define mesa_logi(fmt, ...) mesa_log(MESA_LOG_INFO, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../src/gallium/drivers/freedreno/freedreno_util.h:323:7: note: in expansion of macro 'DBG'
323 | DBG("ring[%p]: OUT_RINGP %04x: %08x", ring,
| ^~~
cc1: some warnings being treated as errors
[1512/1898] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_target_nvc0.cpp.o
[1513/1898] Compiling C object src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_context.c.o
FAILED: src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_context.c.o
cc -Isrc/gallium/drivers/freedreno/libfreedreno.a.p -Isrc/gallium/drivers/freedreno -I../src/gallium/drivers/freedreno -Isrc/mesa -I../src/mesa -Isrc/mapi -I../src/mapi -Isrc -I../src -Iinclude -I../include -I../src/gallium/include -Isrc/gallium/auxiliary -I../src/gallium/auxiliary -Isrc/freedreno -I../src/freedreno -Isrc/freedreno/registers -I../src/freedreno/registers -Isrc/freedreno/registers/adreno -I../src/freedreno/registers/adreno -Isrc/freedreno/common -I../src/freedreno/common -I../src/gallium/drivers/freedreno/ir3 -Isrc/util -I../src/util -Isrc/compiler/nir -I../src/compiler/nir -I/usr/local/include/libdrm -I/usr/local/include/valgrind -fvisibility=hidden -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -O3 -ffunction-sections -fdata-sections -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS '-DPACKAGE_VERSION="21.2.0-rc1"' '-DPACKAGE_BUGREPORT="https://gitlab.freedesktop.org/mesa/mesa/-/issues"' -DUSE_ELF_TLS -DHAVE_ST_VDPAU -DENABLE_ST_OMX_BELLAGIO=0 -DENABLE_ST_OMX_TIZONIA=0 -DHAVE_X11_PLATFORM -DHAVE_XCB_PLATFORM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_DRM -DHAVE_DRM_PLATFORM -DENABLE_SHADER_CACHE -DHAVE___BUILTIN_BSWAP32 -DHAVE___BUILTIN_BSWAP64 -DHAVE___BUILTIN_CLZ -DHAVE___BUILTIN_CLZLL -DHAVE___BUILTIN_CTZ -DHAVE___BUILTIN_EXPECT -DHAVE___BUILTIN_FFS -DHAVE___BUILTIN_FFSLL -DHAVE___BUILTIN_POPCOUNT -DHAVE___BUILTIN_POPCOUNTLL -DHAVE___BUILTIN_UNREACHABLE -DHAVE___BUILTIN_TYPES_COMPATIBLE_P -DHAVE_FUNC_ATTRIBUTE_CONST -DHAVE_FUNC_ATTRIBUTE_FLATTEN -DHAVE_FUNC_ATTRIBUTE_MALLOC -DHAVE_FUNC_ATTRIBUTE_PURE -DHAVE_FUNC_ATTRIBUTE_UNUSED -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT -DHAVE_FUNC_ATTRIBUTE_WEAK -DHAVE_FUNC_ATTRIBUTE_FORMAT -DHAVE_FUNC_ATTRIBUTE_PACKED -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL -DHAVE_FUNC_ATTRIBUTE_ALIAS -DHAVE_FUNC_ATTRIBUTE_NORETURN -DHAVE_FUNC_ATTRIBUTE_VISIBILITY -D_GNU_SOURCE -DUSE_GCC_ATOMIC_BUILTINS -DUSE_ARM_ASM -DMAJOR_IN_SYSMACROS -DHAS_SCHED_H -DHAS_SCHED_GETAFFINITY -DHAVE_LINUX_FUTEX_H -DHAVE_ENDIAN_H -DHAVE_DLFCN_H -DHAVE_EXECINFO_H -DHAVE_SYS_SHM_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_MEMFD_CREATE -DHAVE_RANDOM_R -DHAVE_FLOCK -DHAVE_STRTOK_R -DHAVE_GETRANDOM -DHAVE_QSORT_R -DHAVE_PROGRAM_INVOCATION_NAME -DHAVE_POSIX_MEMALIGN -DHAVE_DIRENT_D_TYPE -DHAVE_STRTOD_L -DHAVE_DLADDR -DHAVE_DL_ITERATE_PHDR -DHAVE_ZLIB -DHAVE_ZSTD -DHAVE_COMPRESSION -DHAVE_PTHREAD -DHAVE_PTHREAD_SETAFFINITY -DHAVE_LIBDRM -DLLVM_AVAILABLE '-DMESA_LLVM_VERSION_STRING="12.0.1"' -DLLVM_IS_SHARED=1 -DDRAW_LLVM_AVAILABLE -DHAVE_VALGRIND -DMESA_EXECMEM -DHAVE_LIBUNWIND -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DHAVE_DRI3_MODIFIERS -DHAVE_LIBSENSORS=1 -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=empty-body -Werror=incompatible-pointer-types -Werror=int-conversion -Wimplicit-fallthrough -Wno-missing-field-initializers -Wno-format-truncation -fno-math-errno -fno-trapping-math -fno-common -Werror=format -Wformat-security -O3 -fPIC -pthread -Wno-override-init -Wno-packed-bitfield-compat -MD -MQ src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_context.c.o -MF src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_context.c.o.d -o src/gallium/drivers/freedreno/libfreedreno.a.p/a4xx_fd4_context.c.o -c ../src/gallium/drivers/freedreno/a4xx/fd4_context.c
In file included from ../src/gallium/drivers/freedreno/freedreno_util.h:37,
from ../src/gallium/drivers/freedreno/freedreno_autotune.h:30,
from ../src/gallium/drivers/freedreno/freedreno_context.h:40,
from ../src/gallium/drivers/freedreno/freedreno_query_hw.h:32,
from ../src/gallium/drivers/freedreno/a4xx/fd4_context.c:27:
../src/gallium/drivers/freedreno/freedreno_util.h: In function 'OUT_RINGP':
../src/gallium/drivers/freedreno/freedreno_util.h:113:40: error: implicit declaration of function 'gettid'; did you mean 'getgid'? [-Werror=implicit-function-declaration]
113 | mesa_logi("%5d: %s:%d: " fmt, gettid(), __FUNCTION__, __LINE__, \
| ^~~~~~
../src/util/log.h:55:78: note: in definition of macro 'mesa_logi'
55 | #define mesa_logi(fmt, ...) mesa_log(MESA_LOG_INFO, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
../src/gallium/drivers/freedreno/freedreno_util.h:323:7: note: in expansion of macro 'DBG'
323 | DBG("ring[%p]: OUT_RINGP %04x: %08x", ring,
| ^~~
cc1: some warnings being treated as errors
[1514/1898] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_query.c.o
[1515/1898] Compiling C object src/gallium/drivers/nouveau/libnouveau.a.p/nvc0_nvc0_program.c.o
[1516/1898] Compiling C++ object src/gallium/drivers/nouveau/libnouveau.a.p/codegen_nv50_ir_lowering_nvc0.cpp.o
ninja: build stopped: subcommand failed.
Edited by Satadru Pramanik