BEGIN 1781486403.6856582 EXEC /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build /usr/bin/cmake -E env --unset=ROCM_PATH --unset=ROCM_DIR --unset=HIP_PATH --unset=HIP_DIR -- /usr/bin/cmake --build /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build 0.1 [1/2] cd /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build && /usr/bin/cmake -E rm -f /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/stamp/stage.stamp 47.8 [2/2] Build ROCDXG in WSL 47.8 -- The C compiler identification is GNU 13.3.0 47.8 -- The CXX compiler identification is GNU 13.3.0 47.8 -- Detecting C compiler ABI info 47.8 -- Detecting C compiler ABI info - done 47.8 -- Check for working C compiler: /usr/bin/cc - skipped 47.8 -- Detecting C compile features 47.8 -- Detecting C compile features - done 47.8 -- Detecting CXX compiler ABI info 47.8 -- Detecting CXX compiler ABI info - done 47.8 -- Check for working CXX compiler: /usr/bin/c++ - skipped 47.8 -- Detecting CXX compile features 47.8 -- Detecting CXX compile features - done 47.8 fatal: No names found, cannot describe anything. 47.8 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 47.8 -- Detected distribution: ubuntu:"24.04" 47.8 -- LIBC:/usr/lib/x86_64-linux-gnu/libc.so 47.8 -- Configuring done (11.1s) 47.8 -- Generating done (0.4s) 47.8 -- Build files have been written to: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/build 47.8 [1/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/rocrstub.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [2/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/libdrm.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [3/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/perfctr.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [4/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/hsa.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [5/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/debug.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [6/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/time.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [7/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/queues.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [8/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/events.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [9/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/openclose.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp: In member function ‘bool hsakmtRuntime::ReserveSvmSpace(uint64_t&, uint64_t&, uint64_t)’: 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:197:25: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 47.8 197 | fprintf(stream, "pid:%d tid:0x%s [%s] " fmt, getpid(), get_thread_id().c_str(), __FUNCTION__, ##__VA_ARGS__); \ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:213:9: note: in expansion of macro ‘hsakmt_print_common’ 47.8 213 | hsakmt_print_common(stderr, fmt, ##__VA_ARGS__) 47.8 | ^~~~~~~~~~~~~~~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:142:13: note: in expansion of macro ‘pr_err’ 47.8 142 | pr_err("fail to unmap left %lx with size %llx\n", sys_va[match_index], left_size); 47.8 | ^~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:142:57: note: format string is defined here 47.8 142 | pr_err("fail to unmap left %lx with size %llx\n", sys_va[match_index], left_size); 47.8 | ~~~^ 47.8 | | 47.8 | long long unsigned int 47.8 | %lx 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:197:25: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 47.8 197 | fprintf(stream, "pid:%d tid:0x%s [%s] " fmt, getpid(), get_thread_id().c_str(), __FUNCTION__, ##__VA_ARGS__); \ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:213:9: note: in expansion of macro ‘hsakmt_print_common’ 47.8 213 | hsakmt_print_common(stderr, fmt, ##__VA_ARGS__) 47.8 | ^~~~~~~~~~~~~~~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:144:13: note: in expansion of macro ‘pr_err’ 47.8 144 | pr_err("fail to unmap right %lx with size %llx\n", (local_va + size), right_size); 47.8 | ^~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:144:58: note: format string is defined here 47.8 144 | pr_err("fail to unmap right %lx with size %llx\n", (local_va + size), right_size); 47.8 | ~~~^ 47.8 | | 47.8 | long long unsigned int 47.8 | %lx 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:197:25: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 7 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] 47.8 197 | fprintf(stream, "pid:%d tid:0x%s [%s] " fmt, getpid(), get_thread_id().c_str(), __FUNCTION__, ##__VA_ARGS__); \ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:213:9: note: in expansion of macro ‘hsakmt_print_common’ 47.8 213 | hsakmt_print_common(stderr, fmt, ##__VA_ARGS__) 47.8 | ^~~~~~~~~~~~~~~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:156:13: note: in expansion of macro ‘pr_err’ 47.8 156 | pr_err("fail to unmap %d %llx\n", j, sys_va[j]); 47.8 | ^~~~~~ 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:156:41: note: format string is defined here 47.8 156 | pr_err("fail to unmap %d %llx\n", j, sys_va[j]); 47.8 | ~~~^ 47.8 | | 47.8 | long long unsigned int 47.8 | %lx 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp: In member function ‘bool hsakmtRuntime::CommitSystemHeapSpaceIPC(void*, int64_t, int&, bool)’: 47.8 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/openclose.cpp:349:18: warning: ignoring return value of ‘int ftruncate(int, __off_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 47.8 349 | ftruncate(fd, size); 47.8 | ~~~~~~~~~^~~~~~~~~~ 47.8 [10/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/memory.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [11/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/svm.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [12/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/version.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.8 [13/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/spm.cpp.o 47.8 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.8 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.8 from : 47.8 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.8 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.8 | ^~~~~~~~~~~~~~~~ 47.9 [14/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/hsakmtmodel.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [15/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/pc_sampling.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [16/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/topology_lnx.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:222:28: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 222 | snprintf(path, 256, "%s/index%d/shared_cpu_list", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:222:27: note: directive argument in the range [0, 2147483646] 47.9 222 | snprintf(path, 256, "%s/index%d/shared_cpu_list", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 In file included from /usr/include/stdio.h:980, 47.9 from /usr/include/c++/13/cstdio:42, 47.9 from /usr/include/c++/13/ext/string_conversions.h:45, 47.9 from /usr/include/c++/13/bits/basic_string.h:4109, 47.9 from /usr/include/c++/13/string:54, 47.9 from /usr/include/c++/13/bits/locale_classes.h:40, 47.9 from /usr/include/c++/13/bits/ios_base.h:41, 47.9 from /usr/include/c++/13/ios:44, 47.9 from /usr/include/c++/13/ostream:40, 47.9 from /usr/include/c++/13/iostream:41, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/../runtime/hsa-runtime/core/util/utils.h:56, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/va_mgr.h:11, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:43: 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:222:15, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 24 and 577 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:236:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 236 | snprintf(path, 256, "%s/index%d/level", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:236:25: note: directive argument in the range [0, 2147483646] 47.9 236 | snprintf(path, 256, "%s/index%d/level", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:236:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 14 and 567 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:239:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 239 | snprintf(path, 256, "%s/index%d/type", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:239:25: note: directive argument in the range [0, 2147483646] 47.9 239 | snprintf(path, 256, "%s/index%d/type", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:239:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 13 and 566 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:253:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 253 | snprintf(path, 256, "%s/index%d/size", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:253:25: note: directive argument in the range [0, 2147483646] 47.9 253 | snprintf(path, 256, "%s/index%d/size", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:253:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 13 and 566 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:256:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 256 | snprintf(path, 256, "%s/index%d/coherency_line_size", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:256:25: note: directive argument in the range [0, 2147483646] 47.9 256 | snprintf(path, 256, "%s/index%d/coherency_line_size", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:256:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 28 and 581 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:259:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 259 | snprintf(path, 256, "%s/index%d/ways_of_associativity", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:259:25: note: directive argument in the range [0, 2147483646] 47.9 259 | snprintf(path, 256, "%s/index%d/ways_of_associativity", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:259:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 30 and 583 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:262:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 262 | snprintf(path, 256, "%s/index%d/physical_line_partition", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:262:25: note: directive argument in the range [0, 2147483646] 47.9 262 | snprintf(path, 256, "%s/index%d/physical_line_partition", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:262:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 32 and 585 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp: In function ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:265:26: warning: ‘%s’ directive output may be truncated writing up to 544 bytes into a region of size 256 [-Wformat-truncation=] 47.9 265 | snprintf(path, 256, "%s/index%d/shared_cpu_map", prefix, idx); 47.9 | ^~ 47.9 ...... 47.9 425 | cache_cnt += get_cpu_cache_info(path, cpuinfo, tbl.cache, cpu_ci); 47.9 | ~~~~ 47.9 In function ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:265:25: note: directive argument in the range [0, 2147483646] 47.9 265 | snprintf(path, 256, "%s/index%d/shared_cpu_map", prefix, idx); 47.9 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 In function ‘int snprintf(char*, size_t, const char*, ...)’, 47.9 inlined from ‘int get_cpu_cache_info(const char*, const std::vector&, std::vector<_HaCacheProperties>&, cpu_cacheinfo_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:265:13, 47.9 inlined from ‘HSAKMT_STATUS topology_get_cpu_cache_props(int, const std::vector&, node_props_t&)’ at /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/topology_lnx.cpp:425:36: 47.9 /usr/include/x86_64-linux-gnu/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 23 and 576 bytes into a destination of size 256 47.9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 55 | __glibc_objsize (__s), __fmt, 47.9 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47.9 56 | __va_arg_pack ()); 47.9 | ~~~~~~~~~~~~~~~~~ 47.9 [17/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/dxcore_loader.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [18/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/topology.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [19/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/ais.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [20/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/device.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [21/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/event.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [22/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/va_mgr.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [23/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/cmd_util.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [24/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/gpu_memory.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [25/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/wddm/queue.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [26/31] Building CXX object CMakeFiles/rocdxg.dir/src/dxg/extsem.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [27/31] Building CXX object CMakeFiles/rocdxg.dir/mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/timer.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [28/31] Building CXX object CMakeFiles/rocdxg.dir/mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/small_heap.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [29/31] Building CXX object CMakeFiles/rocdxg.dir/mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/runtime/hsa-runtime/core/util/lnx/os_linux.cpp.o 47.9 In file included from /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmthk.h:12, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/include/impl/wddm/types.h:61, 47.9 from /mnt/c/a/rockrel/rockrel/rocm-systems/projects/rocr-runtime/libhsakmt/src/dxg/librocdxg.h:44, 47.9 from : 47.9 /root/therock-wsl-rocdxg/windows-sdk-shared/d3dkmdt.h:551:51: warning: ‘_D3DKMDT_VIDEO_SIGNAL_INFO::::::ScanLineOrdering’ is too small to hold all values of ‘D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’ {aka ‘enum _D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING’} 47.9 551 | D3DDDI_VIDEO_SIGNAL_SCANLINE_ORDERING ScanLineOrdering : 3; 47.9 | ^~~~~~~~~~~~~~~~ 47.9 [30/31] Linking CXX shared library librocdxg.so.1.1.0 47.9 [31/31] Creating library symlink librocdxg.so.1 librocdxg.so 47.9 -- Install configuration: "RelWithDebInfo" 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/librocdxg.so.1.1.0 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/librocdxg.so.1 47.9 -- Set non-toolchain portion of runtime path of "/mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/librocdxg.so.1.1.0" to "" 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/librocdxg.so 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/cmake/rocdxg/rocdxgTargets.cmake 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/cmake/rocdxg/rocdxgTargets-relwithdebinfo.cmake 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/cmake/rocdxg/rocdxg-config.cmake 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/cmake/rocdxg/rocdxg-config-version.cmake 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/lib/pkgconfig/librocdxg.pc 47.9 -- Installing: /mnt/c/a/rockrel/rockrel/build-wsl-rocdxg/core/wsl-rocdxg/build/install/share/doc/rocdxg/LICENSE.md END 1781486451.6119416 47.92628335952759 0