<86>Dec 2 05:27:20 userdel[2568300]: delete user 'rooter' <86>Dec 2 05:27:20 userdel[2568300]: removed group 'rooter' owned by 'rooter' <86>Dec 2 05:27:20 userdel[2568300]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 2 05:27:20 groupadd[2568353]: group added to /etc/group: name=rooter, GID=1859 <86>Dec 2 05:27:20 groupadd[2568353]: group added to /etc/gshadow: name=rooter <86>Dec 2 05:27:20 groupadd[2568353]: new group: name=rooter, GID=1859 <86>Dec 2 05:27:20 useradd[2568379]: new user: name=rooter, UID=1859, GID=1859, home=/root, shell=/bin/bash, from=none <86>Dec 2 05:27:20 userdel[2568435]: delete user 'builder' <86>Dec 2 05:27:20 userdel[2568435]: removed group 'builder' owned by 'builder' <86>Dec 2 05:27:20 userdel[2568435]: removed shadow group 'builder' owned by 'builder' <86>Dec 2 05:27:20 groupadd[2568492]: group added to /etc/group: name=builder, GID=1860 <86>Dec 2 05:27:20 groupadd[2568492]: group added to /etc/gshadow: name=builder <86>Dec 2 05:27:20 groupadd[2568492]: new group: name=builder, GID=1860 <86>Dec 2 05:27:20 useradd[2568531]: new user: name=builder, UID=1860, GID=1860, home=/usr/src, shell=/bin/bash, from=none <13>Dec 2 05:27:23 rpmi: libidn2-2.3.4-alt1 sisyphus+309023.100.1.1 1666791089 installed <13>Dec 2 05:27:23 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 05:27:23 rpmi: libp11-kit-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 05:27:23 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Dec 2 05:27:23 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Dec 2 05:27:23 rpmi: libgnutls30-3.8.2-alt1 sisyphus+334989.100.1.1 1700758156 installed <13>Dec 2 05:27:23 rpmi: libngtcp2.16-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 05:27:23 rpmi: libngtcp2_crypto_gnutls8-1.0.1-alt1 sisyphus+332583.200.2.1 1698669156 installed <13>Dec 2 05:27:23 rpmi: rpm-macros-cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 05:27:23 rpmi: cmake-modules-3.27.7-alt1 sisyphus+331245.40.2.1 1697877617 installed <13>Dec 2 05:27:23 rpmi: libuv-1.46.0-alt1 sisyphus+326001.100.1.1 1690655255 installed <13>Dec 2 05:27:23 rpmi: librhash-1.3.5-alt3 sisyphus+286141.40.2.1 1632982456 installed <13>Dec 2 05:27:23 rpmi: libjsoncpp24-1.9.4-alt2 sisyphus+286441.100.1.1 1633444234 installed <13>Dec 2 05:27:23 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Dec 2 05:27:23 rpmi: publicsuffix-list-dafsa-20231026-alt1 sisyphus+332908.100.1.1 1698419299 installed <13>Dec 2 05:27:23 rpmi: libpsl-0.21.2-alt1 sisyphus+312536.100.1.1 1672131180 installed <13>Dec 2 05:27:23 rpmi: libnghttp3.9-1.0.0-alt1 sisyphus+332583.100.2.1 1698669105 installed <13>Dec 2 05:27:23 rpmi: libnghttp2-1.57.0-alt1 sisyphus+331457.200.2.1 1697011708 installed <13>Dec 2 05:27:23 rpmi: openldap-common-2.6.6-alt1 sisyphus+330946.100.2.1 1696432854 installed <13>Dec 2 05:27:23 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Dec 2 05:27:23 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Dec 2 05:27:23 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Dec 2 05:27:23 rpmi: liblmdb-0.9.31-alt1 sisyphus+330946.40.2.1 1696431544 installed <13>Dec 2 05:27:23 rpmi: libkeyutils-1.6.3-alt1 sisyphus+266061.100.1.1 1612919567 installed <13>Dec 2 05:27:23 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Dec 2 05:27:23 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 05:27:23 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Dec 2 05:27:23 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 05:27:23 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 2 05:27:23 rpmi: ca-certificates-2023.07.31-alt1 sisyphus+326137.200.1.1 1690809798 installed <13>Dec 2 05:27:23 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Dec 2 05:27:23 rpmi: p11-kit-trust-1:0.25.3-alt1 sisyphus+334477.100.1.1 1700063204 installed <13>Dec 2 05:27:23 rpmi: libcrypto3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <13>Dec 2 05:27:23 rpmi: libssl3-3.1.4-alt1 sisyphus+332632.100.2.1 1698241305 installed <86>Dec 2 05:27:23 groupadd[2591626]: group added to /etc/group: name=_keytab, GID=999 <86>Dec 2 05:27:23 groupadd[2591626]: group added to /etc/gshadow: name=_keytab <86>Dec 2 05:27:23 groupadd[2591626]: new group: name=_keytab, GID=999 <13>Dec 2 05:27:24 rpmi: libkrb5-1.21.2-alt1 sisyphus+327265.100.1.1 1692185512 installed <13>Dec 2 05:27:24 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696961 installed <86>Dec 2 05:27:24 groupadd[2591899]: group added to /etc/group: name=sasl, GID=998 <86>Dec 2 05:27:24 groupadd[2591899]: group added to /etc/gshadow: name=sasl <86>Dec 2 05:27:24 groupadd[2591899]: new group: name=sasl, GID=998 <13>Dec 2 05:27:24 rpmi: libsasl2-3-2.1.27-alt2.2 sisyphus+324359.6000.12.1 1689392231 installed <13>Dec 2 05:27:24 rpmi: libldap2-2.6.6-alt1 sisyphus+330946.100.2.1 1696432858 installed <13>Dec 2 05:27:24 rpmi: libarchive13-3.6.1-alt2 sisyphus+324359.1300.6.1 1689326414 installed <13>Dec 2 05:27:24 rpmi: libssh2-1.11.0-alt1 sisyphus+327652.100.1.1 1692636581 installed <13>Dec 2 05:27:24 rpmi: libcurl-8.4.0-alt1 sisyphus+333173.300.3.1 1698701762 installed <13>Dec 2 05:27:24 rpmi: cmake-3.27.7-alt1 sisyphus+331245.40.2.1 1697877632 installed <13>Dec 2 05:27:26 rpmi: libnuma-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed <13>Dec 2 05:27:26 rpmi: libpciaccess-1:0.17-alt1 sisyphus+308663.300.1.1 1666168262 installed <13>Dec 2 05:27:26 rpmi: libdrm-1:2.4.118-alt1 sisyphus+335206.100.1.1 1701073379 installed <13>Dec 2 05:27:26 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Dec 2 05:27:26 rpmi: libstdc++13-devel-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 05:27:27 rpmi: gcc13-c++-13.2.1-alt2 sisyphus+327572.100.1.1 1692472364 installed <13>Dec 2 05:27:27 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Dec 2 05:27:27 rpmi: libdrm-devel-1:2.4.118-alt1 sisyphus+335206.100.1.1 1701073379 installed <13>Dec 2 05:27:27 rpmi: libnuma-devel-2.0.14-alt2 sisyphus+278485.100.1.1 1626104243 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/roct-thunk-interface-5.7.1-alt0.1.nosrc.rpm (w1.gzdio) Installing roct-thunk-interface-5.7.1-alt0.1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21072 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf roct-thunk-interface-5.7.1 + echo 'Source #0 (roct-thunk-interface-5.7.1.tar):' Source #0 (roct-thunk-interface-5.7.1.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/roct-thunk-interface-5.7.1.tar + cd roct-thunk-interface-5.7.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libhsakmt-add-extra-symbols.patch):' Patch #0 (libhsakmt-add-extra-symbols.patch): + /usr/bin/patch -p1 patching file src/libhsakmt.ver + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21072 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd roct-thunk-interface-5.7.1 + mkdir -p i586-alt-linux + cmake -DCMAKE_SKIP_INSTALL_RPATH:BOOL=yes '-DCMAKE_C_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_CXX_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' '-DCMAKE_Fortran_FLAGS:STRING=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' -DCMAKE_INSTALL_PREFIX=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_DESTINATION=lib -DLIB_SUFFIX= -S . -B i586-alt-linux -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=on -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Detected distribution: altlinux:10.2 -- LIBC:/usr/lib/libc.so -- NUMA:/usr/lib/libnuma.so -- Checking for module 'libdrm' -- Found libdrm, version 2.4.118 -- Checking for module 'libdrm_amdgpu' -- Found libdrm_amdgpu, version 2.4.118 RESULT_VARIABLE 0 OUTPUT_VARIABLE: -- Configuring done (0.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS INCLUDE_INSTALL_DIR LIB_DESTINATION LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux + cmake --build i586-alt-linux --verbose --parallel 16 Change Dir: '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j16 gmake: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' /usr/bin/cmake -S/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1 -B/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux --check-build-system CMakeFiles/Makefile.cmake 0 gmake: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux/CMakeFiles /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux//CMakeFiles/progress.marks gmake: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/Makefile2 all /usr/bin/gmake -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/depend gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' cd /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1 /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1 /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux/CMakeFiles/hsakmt.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' /usr/bin/gmake -f CMakeFiles/hsakmt.dir/build.make CMakeFiles/hsakmt.dir/build gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 17%] Building C object CMakeFiles/hsakmt.dir/src/globals.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/globals.c.o -MF CMakeFiles/hsakmt.dir/src/globals.c.o.d -o CMakeFiles/hsakmt.dir/src/globals.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/globals.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 58%] Building C object CMakeFiles/hsakmt.dir/src/time.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/time.c.o -MF CMakeFiles/hsakmt.dir/src/time.c.o.d -o CMakeFiles/hsakmt.dir/src/time.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/time.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 29%] Building C object CMakeFiles/hsakmt.dir/src/libhsakmt.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -MF CMakeFiles/hsakmt.dir/src/libhsakmt.c.o.d -o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 82%] Building C object CMakeFiles/hsakmt.dir/src/spm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/spm.c.o -MF CMakeFiles/hsakmt.dir/src/spm.c.o.d -o CMakeFiles/hsakmt.dir/src/spm.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/spm.c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/spm.c: In function 'hsaKmtSPMSetDestBuffer': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/spm.c:69:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | args.dest_buf = (uint64_t)DestMemoryAddress; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 88%] Building C object CMakeFiles/hsakmt.dir/src/version.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/version.c.o -MF CMakeFiles/hsakmt.dir/src/version.c.o.d -o CMakeFiles/hsakmt.dir/src/version.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/version.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 76%] Building C object CMakeFiles/hsakmt.dir/src/rbtree.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/rbtree.c.o -MF CMakeFiles/hsakmt.dir/src/rbtree.c.o.d -o CMakeFiles/hsakmt.dir/src/rbtree.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/rbtree.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 47%] Building C object CMakeFiles/hsakmt.dir/src/openclose.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/openclose.c.o -MF CMakeFiles/hsakmt.dir/src/openclose.c.o.d -o CMakeFiles/hsakmt.dir/src/openclose.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/openclose.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 5%] Building C object CMakeFiles/hsakmt.dir/src/debug.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/debug.c.o -MF CMakeFiles/hsakmt.dir/src/debug.c.o.d -o CMakeFiles/hsakmt.dir/src/debug.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'hsaKmtDbgWavefrontControl': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:152:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 152 | args->content_ptr = (uint64_t)run_ptr; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'hsaKmtDbgAddressWatch': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 232 | args->content_ptr = (uint64_t)run_ptr; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'hsaKmtRuntimeEnable': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:317:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 317 | args.r_debug = (HSAuint64)rDebug; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'dbg_trap_get_device_data': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:361:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 361 | args.device_snapshot.snapshot_buf_ptr = (uint64_t) data; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'dbg_trap_get_queue_data': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:384:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 384 | args.queue_snapshot.snapshot_buf_ptr = (uint64_t) data; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'dbg_trap_suspend_queues': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:407:47: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 407 | args.suspend_queues.queue_array_ptr = (uint64_t) queue_ids; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c: In function 'hsaKmtDbgEnable': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/debug.c:433:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 433 | args.enable.rinfo_ptr = (uint64_t) *runtime_info; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 35%] Building C object CMakeFiles/hsakmt.dir/src/memory.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/memory.c.o -MF CMakeFiles/hsakmt.dir/src/memory.c.o.d -o CMakeFiles/hsakmt.dir/src/memory.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c In file included from /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:26: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtAllocMemory': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:143:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:143:25: note: in expansion of macro 'pr_err' 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:143:59: note: format string is defined here 143 | pr_err("[%s] failed to allocate %lu bytes from scratch\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:165:32: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 166 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:165:25: note: in expansion of macro 'pr_err' 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:165:59: note: format string is defined here 165 | pr_err("[%s] failed to allocate %lu bytes from host\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:185:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 186 | __func__, SizeInBytes); | ~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:185:17: note: in expansion of macro 'pr_err' 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:185:51: note: format string is defined here 185 | pr_err("[%s] failed to allocate %lu bytes from device\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtRegisterMemoryToNodes': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:257:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 258 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:257:9: note: in expansion of macro 'pr_debug' 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:257:53: note: format string is defined here 257 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtRegisterGraphicsHandleToNodes': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:312:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:312:9: note: in expansion of macro 'pr_debug' 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:312:42: note: format string is defined here 312 | pr_debug("[%s] number of nodes %lu\n", __func__, NumberOfNodes); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtRegisterSharedHandleToNodes': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:384:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 385 | __func__, SharedMemoryHandle, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:384:9: note: in expansion of macro 'pr_debug' 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:384:52: note: format string is defined here 384 | pr_debug("[%s] handle %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtMapMemoryToGPUNodes': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:475:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 476 | __func__, MemoryAddress, NumberOfNodes); | ~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:475:9: note: in expansion of macro 'pr_debug' 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:475:53: note: format string is defined here 475 | pr_debug("[%s] address %p number of nodes %lu\n", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c: In function 'hsaKmtGetTileConfig': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:561:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 561 | args.tile_config_ptr = (uint64_t)config->TileConfig; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/memory.c:562:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 562 | args.macro_tile_config_ptr = (uint64_t)config->MacroTileConfig; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 94%] Building C object CMakeFiles/hsakmt.dir/src/svm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/svm.c.o -MF CMakeFiles/hsakmt.dir/src/svm.c.o.d -o CMakeFiles/hsakmt.dir/src/svm.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c In file included from /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:25: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c: In function 'hsaKmtSVMSetAttr': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:51:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:51:9: note: in expansion of macro 'pr_debug' 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:51:45: note: format string is defined here 51 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:55:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 55 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:63:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 63 | args->start_addr = (uint64_t)start_addr; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c: In function 'hsaKmtSVMGetAttr': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:118:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:118:9: note: in expansion of macro 'pr_debug' 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:118:45: note: format string is defined here 118 | pr_debug("%s: address 0x%p size 0x%lx\n", __func__, start_addr, size); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:122:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 122 | if ((uint64_t)start_addr & (PAGE_SIZE - 1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/svm.c:130:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 130 | args->start_addr = (uint64_t)start_addr; | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 52%] Building C object CMakeFiles/hsakmt.dir/src/pmc_table.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/pmc_table.c.o -MF CMakeFiles/hsakmt.dir/src/pmc_table.c.o.d -o CMakeFiles/hsakmt.dir/src/pmc_table.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/pmc_table.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 23%] Building C object CMakeFiles/hsakmt.dir/src/events.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/events.c.o -MF CMakeFiles/hsakmt.dir/src/events.c.o.d -o CMakeFiles/hsakmt.dir/src/events.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c: In function 'hsaKmtCreateEvent': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:116:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 116 | e->EventData.HWData2 = (HSAuint64)&events_page[args.event_slot_index]; | ^ In file included from /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:26: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c: In function 'get_mem_info_svm_api': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:257:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:257:9: note: in expansion of macro 'pr_err' 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:257:33: note: format string is defined here 257 | pr_err("GPU address 0x%lx, is Unified memory\n", address); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:266:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 267 | address, node_id); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:266:25: note: in expansion of macro 'pr_err' 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:266:68: note: format string is defined here 266 | pr_err("Preferred location for address 0x%lx is Node id %d\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:270:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 271 | address, node_id); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:270:25: note: in expansion of macro 'pr_err' 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:270:67: note: format string is defined here 270 | pr_err("Prefetch location for address 0x%lx is Node id %d\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:274:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 274 | pr_err("Node id %d has access to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 275 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:274:25: note: in expansion of macro 'pr_err' 274 | pr_err("Node id %d has access to address 0x%lx\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:274:70: note: format string is defined here 274 | pr_err("Node id %d has access to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:278:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 279 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:278:25: note: in expansion of macro 'pr_err' 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:278:79: note: format string is defined here 278 | pr_err("Node id %d has access in place to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:282:32: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 283 | node_id, address); | ~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:282:25: note: in expansion of macro 'pr_err' 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:282:73: note: format string is defined here 282 | pr_err("Node id %d has no access to address 0x%lx\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c: In function 'analysis_memory_exception': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:314:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:314:9: note: in expansion of macro 'pr_err' 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:314:57: note: format string is defined here 314 | pr_err("Memory exception on virtual address 0x%lx, ", addr); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:323:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 323 | ret = fmm_get_mem_info((const void *)addr, &info); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:9: note: in expansion of macro 'pr_err' 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:33: note: format string is defined here 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:16: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 332 | info.GPUAddress, info.Node, info.SizeInBytes); | ~~~~~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:9: note: in expansion of macro 'pr_err' 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/events.c:331:65: note: format string is defined here 331 | pr_err("GPU address 0x%lx, node id %d, size in byte 0x%lx\n", | ~~^ | | | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 70%] Building C object CMakeFiles/hsakmt.dir/src/queues.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/queues.c.o -MF CMakeFiles/hsakmt.dir/src/queues.c.o.d -o CMakeFiles/hsakmt.dir/src/queues.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/queues.c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/queues.c: In function 'hsaKmtGetQueueInfo': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/queues.c:818:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 818 | QueueInfo->ControlStackTop = (void *)(args.ctl_stack_address + | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/queues.c:820:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 820 | QueueInfo->UserContextSaveArea = (void *) | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 47%] Building C object CMakeFiles/hsakmt.dir/src/perfctr.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/perfctr.c.o -MF CMakeFiles/hsakmt.dir/src/perfctr.c.o.d -o CMakeFiles/hsakmt.dir/src/perfctr.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c In file included from /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:31: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcUnregisterTrace': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:719:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:719:9: note: in expansion of macro 'pr_debug' 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:719:37: note: format string is defined here 719 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcAcquireTraceAccess': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:756:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:756:9: note: in expansion of macro 'pr_debug' 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:756:37: note: format string is defined here 756 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcReleaseTraceAccess': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:801:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:801:9: note: in expansion of macro 'pr_debug' 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:801:37: note: format string is defined here 801 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcStartTrace': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:833:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:833:9: note: in expansion of macro 'pr_debug' 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:833:37: note: format string is defined here 833 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcQueryTrace': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:892:34: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 892 | pr_debug("%lu_", *buf); | ^~~~~~ ~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:892:25: note: in expansion of macro 'pr_debug' 892 | pr_debug("%lu_", *buf); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:892:37: note: format string is defined here 892 | pr_debug("%lu_", *buf); | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c: In function 'hsaKmtPmcStopTrace': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:909:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'HSATraceId' {aka 'long long unsigned int'} [-Wformat=] 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~ | | | HSATraceId {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:909:9: note: in expansion of macro 'pr_debug' 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/perfctr.c:909:37: note: format string is defined here 909 | pr_debug("[%s] Trace ID 0x%lx\n", __func__, TraceId); | ~~^ | | | long unsigned int | %llx gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 64%] Building C object CMakeFiles/hsakmt.dir/src/topology.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/topology.c.o -MF CMakeFiles/hsakmt.dir/src/topology.c.o.d -o CMakeFiles/hsakmt.dir/src/topology.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/topology.c gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [ 11%] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o /usr/bin/cc -Dhsakmt_EXPORTS -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/include -I/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src -I/usr/include/libdrm -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -fPIC -I/usr/include/libdrm -fPIC -W -Wall -Wextra -Wno-unused-parameter -Wformat-security -Wswitch-default -Wundef -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wunreachable-code -std=gnu99 -fvisibility=hidden -Wlogical-op -g -MD -MT CMakeFiles/hsakmt.dir/src/fmm.c.o -MF CMakeFiles/hsakmt.dir/src/fmm.c.o.d -o CMakeFiles/hsakmt.dir/src/fmm.c.o -c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'vm_find_object_by_address_userptr_range': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:531:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 531 | (uint64_t)address < ((uint64_t)start + size)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:531:54: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 531 | (uint64_t)address < ((uint64_t)start + size)) | ^ In file included from /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:26: /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'reserved_aperture_allocate_aligned': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:695:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 695 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:695:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 695 | (void *)(ALIGN_UP((uint64_t)app->base, align) + offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:704:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 704 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:704:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 704 | start = (void *)(ALIGN_UP((uint64_t)cur->end + 1, align) + offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:710:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 710 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:710:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 710 | if (cur && address && address < (void *)ALIGN_UP((uint64_t)cur->end + 1, align)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'mmap_allocate_aligned': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:753:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 753 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:80:40: note: in definition of macro 'ALIGN_UP' 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:753:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 753 | aligned_addr = (void *)ALIGN_UP((uint64_t)addr + guard_size, align); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_register_mem_svm_api': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1031:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1031 | HSAuint32 page_offset = (HSAuint64)address & (PAGE_SIZE-1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1032:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1032 | HSAuint64 aligned_addr = (HSAuint64)address - page_offset; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1047:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:70: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1047:9: note: in expansion of macro 'pr_debug' 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1047:18: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'HSAuint64' {aka 'long long unsigned int'} [-Wformat=] 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1048 | aligned_size); | ~~~~~~~~~~~~ | | | HSAuint64 {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1047:9: note: in expansion of macro 'pr_debug' 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1047:49: note: format string is defined here 1047 | pr_debug("Registering to SVM %p size: %ld\n", (void*)aligned_addr, | ~~^ | | | long int | %lld /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_map_mem_svm_api': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1074:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1074 | args->start_addr = (uint64_t)address; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_allocate_memory_object': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1114:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1114 | args.va_addr = (uint64_t)mem; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_check_user_memory': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:80:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 80 | #define ALIGN_UP(x,align) (((uint64_t)(x) + (align) - 1) & ~(uint64_t)((align)-1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:82:26: note: in expansion of macro 'ALIGN_UP' 82 | #define PAGE_ALIGN_UP(x) ALIGN_UP(x,PAGE_SIZE) | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1325:41: note: in expansion of macro 'PAGE_ALIGN_UP' 1325 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^~~~~~~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1325:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1325 | for (; ptr < end; ptr = (void *)PAGE_ALIGN_UP(ptr + 1)) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_allocate_scratch': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1438:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1438 | args.va_addr = ((uint64_t)mem) >> 16; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'bind_mem_to_numa': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1707:18: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 1707 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1708 | mem, mflags.Value, SizeInBytes, node_id); | ~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1707:9: note: in expansion of macro 'pr_debug' 1707 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1707:49: note: format string is defined here 1707 | pr_debug("%s mem %p flags 0x%x size 0x%lx node_id %d\n", __func__, | ~~^ | | | long unsigned int | %llx /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_allocate_host_gpu': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:1828:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1828 | mmap_offset = (uint64_t)mem; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'init_mmap_apertures': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2115:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2115 | svm.apertures[SVM_DEFAULT].base = (void *)base; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2116:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2116 | svm.apertures[SVM_DEFAULT].limit = (void *)limit; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'init_svm_apertures': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2219:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2219 | for (addr = (void *)base, ret_addr = NULL; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2220:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2220 | (HSAuint64)addr + ((len + 1) >> 1) - 1 <= limit; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2221:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2221 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2221:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2221 | addr = (void *)((HSAuint64)addr + ADDR_INC)) { | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2222:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2222 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:217:16: note: in definition of macro 'MIN' 217 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2222:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2222 | HSAuint64 top = MIN((HSAuint64)addr + len, limit+1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:217:27: note: in definition of macro 'MIN' 217 | typeof(a) tmp1 = (a), tmp2 = (b); \ | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2224:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2224 | map_size = (top - (HSAuint64)addr) & | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2232:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2232 | if ((HSAuint64)ret_addr + ((len + 1) >> 1) - 1 <= limit) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2246:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2246 | if ((HSAuint64)ret_addr + SVM_MIN_VM_SIZE - 1 > limit) { | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2250:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2250 | (int)((limit - (HSAint64)ret_addr) >> 30)); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:70: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~~~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2248:25: note: in expansion of macro 'pr_warn' 2248 | pr_warn("Got %uGB for SVM at %p with only %dGB usable ...\n", | ^~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2265:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2265 | base = (HSAuint64)ret_addr; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2268:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2268 | munmap((void *)(limit + 1), base + map_size - 1 - limit); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2274:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2274 | svm.apertures[SVM_DEFAULT].limit = dgpu_shared_aperture_limit = (void *)limit; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2284:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2284 | alt_base = (HSAuint64)svm.apertures[SVM_DEFAULT].base; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2289:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2289 | svm.apertures[SVM_COHERENT].base = (void *)alt_base; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2290:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2290 | svm.apertures[SVM_COHERENT].limit = (void *)(alt_base + alt_size - 1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'init_mem_handle_aperture': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:82:45: warning: left shift count >= width of type [-Wshift-count-overflow] 82 | #define END_NON_CANONICAL_ADDR (~0UL - (1UL << 47)) | ^~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2427:64: note: in expansion of macro 'END_NON_CANONICAL_ADDR' 2427 | while (PORT_VPTR_TO_UINT64(mem_handle_aperture.base) < END_NON_CANONICAL_ADDR - 1) { | ^~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2460:97: warning: left shift count >= width of type [-Wshift-count-overflow] 2460 | mem_handle_aperture.base = VOID_PTR_ADD(mem_handle_aperture.base, (1UL << 47)); | ^~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:212:55: note: in definition of macro 'VOID_PTR_ADD' 212 | #define VOID_PTR_ADD(ptr,n) (void*)((uint8_t*)(ptr) + n)/*ptr + offset*/ | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function '_fmm_map_to_gpu': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2983:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2983 | args.device_ids_array_ptr = (uint64_t)nodes_to_map; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2988:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2988 | (uint64_t)object->registered_device_id_array; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:2997:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2997 | args.device_ids_array_ptr = (uint64_t) | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3002:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3002 | args.device_ids_array_ptr = (uint64_t)all_gpu_id_array; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3010:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'uint64_t' {aka 'long long unsigned int'} [-Wformat=] 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3011 | ret_ioctl, object->start, object->userptr, object->size); | ~~~~~~~~~~~~ | | | uint64_t {aka long long unsigned int} /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3010:17: note: in expansion of macro 'pr_err' 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ^~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3010:83: note: format string is defined here 3010 | pr_err("GPU mapping failed (%d) for obj at %p, userptr %p, size %lu", | ~~^ | | | long unsigned int | %llu /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3017:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3017 | (uint32_t *)args.device_ids_array_ptr, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function '_fmm_map_to_gpu_userptr': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3096:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3096 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3105:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3105 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3105:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3105 | svm_addr = (void*)((HSAuint64)addr - page_offset); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3110:26: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'long long unsigned int' [-Wformat=] 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.h:89:63: note: in definition of macro 'hsakmt_print' 89 | do { if (level <= hsakmt_debug_level) fprintf(stderr, fmt, ##__VA_ARGS__); } while (0) | ^~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3110:17: note: in expansion of macro 'pr_debug' 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ^~~~~~~~ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3110:65: note: format string is defined here 3110 | pr_debug("%s Mapping Address %p size aligned: %ld offset: %x\n", | ~~^ | | | long int | %lld /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3122:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3122 | *gpuvm_addr = (uint64_t)svm_addr + page_offset; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function '_fmm_unmap_from_gpu': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3206:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3206 | HSAuint32 page_offset = (HSAint64)address & (PAGE_SIZE - 1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3229:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3229 | args.device_ids_array_ptr = (uint64_t)device_ids_array; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3232:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3232 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3246:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3246 | print_device_id_array((void *)args.device_ids_array_ptr, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3251:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3251 | (uint32_t *)args.device_ids_array_ptr, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function '_fmm_unmap_from_gpu_scratch': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3299:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3299 | args.device_ids_array_ptr = (uint64_t)object->mapped_device_id_array; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3310:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3310 | (uint32_t *)args.device_ids_array_ptr, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_register_user_memory': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3415:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3415 | HSAuint32 page_offset = (HSAuint64)addr & (PAGE_SIZE-1); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3416:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3416 | HSAuint64 aligned_addr = (HSAuint64)addr - page_offset; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_register_graphics_handle': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3569:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3569 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3577:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3577 | infoArgs.metadata_ptr = (uint64_t)metadata; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_register_shared_memory': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:3788:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3788 | importArgs.va_addr = (uint64_t)reservedMem; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_get_mem_info': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4049:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4049 | info->GPUAddress = (HSAuint64)vm_obj->start; | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4088:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4088 | info->GPUAddress += ((HSAuint64)info->CPUAddress & (PAGE_SIZE - 1)); | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c: In function 'fmm_clear_all_mem': /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4215:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4215 | map_addr = mmap(dgpu_shared_aperture_base, (HSAuint64)(dgpu_shared_aperture_limit)- | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4216:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4216 | (HSAuint64)(dgpu_shared_aperture_base) + 1, PROT_NONE, | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4221:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4221 | (HSAuint64)(dgpu_shared_aperture_limit) - | ^ /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/fmm.c:4222:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 4222 | (HSAuint64)(dgpu_shared_aperture_base) + 1); | ^ gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[2]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [100%] Linking C shared library libhsakmt.so /usr/bin/cmake -E cmake_link_script CMakeFiles/hsakmt.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -O2 -g -DNDEBUG -Wl,--enable-new-dtags -Wl,--version-script=/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/src/libhsakmt.ver -Wl,-soname=libhsakmt.so.1 -Wl,-z,nodelete -Wl,-no-undefined -shared -Wl,-soname,libhsakmt.so.1 -o libhsakmt.so.1.0.6 CMakeFiles/hsakmt.dir/src/debug.c.o CMakeFiles/hsakmt.dir/src/events.c.o CMakeFiles/hsakmt.dir/src/fmm.c.o CMakeFiles/hsakmt.dir/src/globals.c.o CMakeFiles/hsakmt.dir/src/libhsakmt.c.o CMakeFiles/hsakmt.dir/src/memory.c.o CMakeFiles/hsakmt.dir/src/openclose.c.o CMakeFiles/hsakmt.dir/src/perfctr.c.o CMakeFiles/hsakmt.dir/src/pmc_table.c.o CMakeFiles/hsakmt.dir/src/queues.c.o CMakeFiles/hsakmt.dir/src/time.c.o CMakeFiles/hsakmt.dir/src/topology.c.o CMakeFiles/hsakmt.dir/src/rbtree.c.o CMakeFiles/hsakmt.dir/src/spm.c.o CMakeFiles/hsakmt.dir/src/version.c.o CMakeFiles/hsakmt.dir/src/svm.c.o -ldrm -ldrm_amdgpu -lpthread -lrt -lc -lnuma /usr/bin/cmake -E cmake_symlink_library libhsakmt.so.1.0.6 libhsakmt.so.1 libhsakmt.so gmake[2]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake[1]: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' [100%] Built target hsakmt gmake[1]: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' gmake: Entering directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' /usr/bin/cmake -E cmake_progress_start /usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux/CMakeFiles 0 gmake: Leaving directory '/usr/src/RPM/BUILD/roct-thunk-interface-5.7.1/i586-alt-linux' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.7271 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/roct-thunk-interface-buildroot + : + /bin/rm -rf -- /usr/src/tmp/roct-thunk-interface-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd roct-thunk-interface-5.7.1 + DESTDIR=/usr/src/tmp/roct-thunk-interface-buildroot + cmake --install i586-alt-linux --verbose -- Install configuration: "RelWithDebInfo" -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so.1.0.6 -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so.1 -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so -- Up-to-date: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so.1.0.6 -- Up-to-date: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so.1 -- Up-to-date: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/include/hsakmt -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/include/hsakmt/hsakmttypes.h -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/include/hsakmt/hsakmt.h -- Up-to-date: /usr/src/tmp/roct-thunk-interface-buildroot/usr/./include -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/./include/hsakmttypes.h -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/./include/hsakmt.h -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/cmake/hsakmt/hsakmtTargets.cmake -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/cmake/hsakmt/hsakmtTargets-relwithdebinfo.cmake -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/cmake/hsakmt/hsakmt-config.cmake -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/cmake/hsakmt/hsakmt-config-version.cmake -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/pkgconfig/libhsakmt.pc -- Installing: /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/hsakmt/LICENSE.md + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/roct-thunk-interface-buildroot (auto) mode of './usr/lib/libhsakmt.so.1.0.6' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/roct-thunk-interface-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/share/pkgconfig/libhsakmt.pc: Cflags: '-I${includedir}' --> '' /usr/share/pkgconfig/libhsakmt.pc: Libs: '-L${libdir} -lhsakmt' --> '-lhsakmt' Checking contents of files in /usr/src/tmp/roct-thunk-interface-buildroot/ (default) Compressing files in /usr/src/tmp/roct-thunk-interface-buildroot (auto) Adjusting library links in /usr/src/tmp/roct-thunk-interface-buildroot ./usr/lib: (from :0) libhsakmt.so.1 -> libhsakmt.so.1.0.6 Verifying ELF objects in /usr/src/tmp/roct-thunk-interface-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib/libhsakmt.so.1.0.6: uses non-LFS functions: fopen ftruncate mmap open readdir Processing files: libhsakmt1-5.7.1-alt0.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.7271 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd roct-thunk-interface-5.7.1 + DOCDIR=/usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + export DOCDIR + rm -rf /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + /bin/mkdir -p /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + cp -prL README.md LICENSE.md /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + chmod -R go-w /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + chmod -R a+rX /usr/src/tmp/roct-thunk-interface-buildroot/usr/share/doc/libhsakmt1-5.7.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.81Z5oJ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) lib.prov: /usr/src/tmp/roct-thunk-interface-buildroot/usr/lib/libhsakmt.so.1: 77 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.8z7ubR find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: hsakmt-roct = 5.7.1-alt0.1, libhsakmt.so.1 = set:kdGrv2rxGXJwUU3EVMVqupx9Z4Bn9e1FkVwJk8F8DD35hpmiXgB7N6IGiZrV0W9hpZK7uYToMHFUcgq8LT23nr2AcZjxRfYd5HZIZr5TgnYhBGH4lxYTb5cURpoCUwTeKL8CShcjVVip7l2wM8hiSZEN1edmNZde8, libhsakmt.so.1(HSAKMT_1) Requires: libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.38), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdrm.so.2 >= set:ljHtreZy3, libdrm_amdgpu.so.1 >= set:khTchThgZ3BIV1, libnuma.so.1 >= set:kh38Jrwu5wWC8ZIZ471, libnuma.so.1(libnuma_1.1), libnuma.so.1(libnuma_1.2), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bhMj2n Creating libhsakmt1-debuginfo package Processing files: hsakmt-rocm-devel-5.7.1-alt0.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VeMl2x find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZzFdbV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Provides: pkgconfig(libhsakmt) = 1.0.6 Requires: /usr/lib/libhsakmt.so.1, /usr/share/pkgconfig Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Pg1ip3 Processing files: libhsakmt1-debuginfo-5.7.1-alt0.1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.TRfvtb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.4tUn3j find-requires: running scripts (debuginfo) Provides: debug(libhsakmt.so.1) Requires: libhsakmt1 = 5.7.1-alt0.1, debug(libc.so.6), debug(libdrm.so.2), debug(libdrm_amdgpu.so.1), debug(libnuma.so.1) Adding to libhsakmt1-debuginfo a strict dependency on libhsakmt1 Adding to hsakmt-rocm-devel a strict dependency on libhsakmt1 Removing 1 extra deps from hsakmt-rocm-devel due to dependency on libhsakmt1 warning: Installed (but unpackaged) file(s) found: /usr/share/doc/hsakmt/LICENSE.md Wrote: /usr/src/RPM/RPMS/i586/libhsakmt1-5.7.1-alt0.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/hsakmt-rocm-devel-5.7.1-alt0.1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libhsakmt1-debuginfo-5.7.1-alt0.1.i586.rpm (w2.lzdio) 4.32user 1.53system 0:10.94elapsed 53%CPU (0avgtext+0avgdata 49580maxresident)k 0inputs+0outputs (0major+471708minor)pagefaults 0swaps 3.77user 1.66system 0:20.96elapsed 25%CPU (0avgtext+0avgdata 125808maxresident)k 0inputs+0outputs (0major+283368minor)pagefaults 0swaps