Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-546373-87248/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1780704000 Wrote: /builddir/build/SRPMS/kmod-hiroce3-6.6.102~6_rc2.2-17.12.5.0~3.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'], chrootPath='/var/lib/mock/dist-an23-kernel-6.6.102-6_rc2.2-build-546373-87248/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1780704000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YZTAPe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kmod-hiroce3-17.12.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/kmod-hiroce3-17.12.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kmod-hiroce3-17.12.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.e9CFE6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kmod-hiroce3-17.12.5.0 + bash /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/build.sh -d roce -k 6.6.102-6_rc2.2.an23.aarch64 The kernel version is 6.6.102-6_rc2.2.an23.aarch64. C_INCLUDE_PATH path set to: /usr/lib/gcc/aarch64-anolis-linux/12/include: cat: /etc/euleros-latest: No such file or directory egrep: warning: egrep is obsolescent; using grep -E cat: /etc/EulerLinux.conf: No such file or directory egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E OS_TYPE is Anolis /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ find config file: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64//include/generated/autoconf.h CONFIG_NET_DEVLINK Found [INFO] 109 gen invoked, but input file is missing. [INFO] 289 gen invoked, but input file is missing. [INFO] 289 gen invoked, but input file is missing. + echo '#endif /* _NIC_KCOMPAT_H_ */' + exec + '[' -n /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/host/ossl/linux/kernel/nic_kcompat.h ']' + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0 + '[' -n '' ']' + cat -n /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/host/ossl/linux/kernel/nic_kcompat.h 1 /* Autogenerated for KSRC=/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ via build.sh */ 2 #ifndef _NIC_KCOMPAT_H_ 3 #define _NIC_KCOMPAT_H_ 4 #define HAVE_DEVLINK_FLASH_UPDATE_PARAMS 1 5 #define HAVE_DEVLINK_ALLOC_SETS_DEV 1 6 #define HAVE_NETIF_NAPI_NO_WEIGHT 1 7 #define HAVE_NETIF_NAPI_ADD_WEIGHT 1 8 #define HAVE_NDO_TX_TIMEOUT_TXQ 1 9 #define HAVE_NDO_BPF 1 10 #define HAVE_NDO_GET_STATS64 1 11 #define HAVE_VOID_NDO_GET_STATS64 1 12 #define HAVE_NDO_SET_FEATURES 1 13 #define HAVE_NAPI_GRO_FLUSH_OLD 1 14 #define HAVE_VF_SPOOFCHK_CONFIGURE 1 15 #define HAVE_NDO_SET_VF_TRUST 1 16 #define HAVE_NDO_SET_VF_MIN_MAX_TX_RATE 1 17 #define HAVE_DEV_OPEN_EXTACK 1 18 #define HAVE_NETDEVICE_MIN_MAX_MTU 1 19 #define HAVE_NETDEV_STATS_IN_NETDEV 1 20 #define HAVE_NDO_SET_VF_LINK_STATE 1 21 #define HAVE_NDO_SELECT_QUEUE_SB_DEV 1 22 #define HAVE_NDO_XDP_XMIT 1 23 #define HAVE_DMA_SET_MASK 1 24 #define NEED_DMA_ZALLOC_COHERENT 1 25 #define HAVE_ETHTOOL_COALESCE_EXTACK 1 26 #define HAVE_ETHTOOL_EXTENDED_RINGPARAMS 1 27 #define HAVE_RXFH_HASHFUNC 1 28 #define HAVE_ETHTOOL_GET_RXNFC_U32_RULELOCS 1 29 #define HAVE_ETHTOOL_GET_RXFH_INDIR_SIZE 1 30 #define SUPPORTED_COALESCE_PARAMS 1 31 #define HAVE_ETHTOOL_SET_PHYS_ID 1 32 #define NEED_DEFINE_SPEED_20000 1 33 #define NEED_DEFINE_SPEED_25000 1 34 #define NEED_DEFINE_SPEED_40000 1 35 #define NEED_DEFINE_SPEED_100000 1 36 #define HAVE_ETHTOOL_GLINKSETTINGS 1 37 #define ETHTOOL_MSG_MODULE_EEPROM_GET 1 38 #define HAVE_NEW_ETHTOOL_LINK_SETTINGS_ONLY 1 39 #define HAVE_NETDEV_PROG_XDP_WARN_ACTION 1 40 #define HAVE_XDP_DO_FLUSH_MAP 1 41 #define HAVE_DEVNODE_CONST_DEV 1 42 #define NEED_DEFINE_PCI_POOL_ALLOC 1 43 #define NEED_DEFINE_PCI_POOL_FREE 1 44 #define NEED_DEFINE_PCI_POOL 1 45 #define NEED_DEFINE_PCI_DMA_BIDIRECTIONAL 1 46 #define HAVE_SRIOV_CONFIGURE 1 47 #define HAVE_PCI_DEV_FLAGS_ASSIGNED 1 48 #define HAVE_SK_BUFF_ENCAPSULATION 1 49 #define HAVE_TYPEDEF_SKB_FRAG_T_BIOVEC 1 50 #define NEED_DEFINE_DEV_ALLOC_PAGES 1 51 #define NEED_DEFINE_DEV_ALLOC_PAGE 1 52 #define HAVE_SKBUFF_CSUM_LEVEL 1 53 #define HAVE_ETH_GET_HEADLEN_NET_DEVICE_ARG 1 54 #define HAVE_ETH_HW_ADDR_SET 1 55 #define HAVE_ETH_GET_HEADLEN_FUNC 1 56 #define NEED_ETH_P_8021AD 1 57 #define HAVE_VM_FLAGS_SET 1 58 #define HAVE_GET_USER_PAGES_GUP_FLAGS 1 59 #define HAVE_PINNED_VM_TYPE_ATOMIC64_T 1 60 #define HAVE_MMAP_WRITE_LOCK 1 61 #define NEED_DO_GETTIMEOFDAY 1 62 #define NEED_STRUCT_TIMEVAL 1 63 #define NEED_PCI_CLEANUP_AER_UNCORRECT_ERROR_STATUS 1 64 #define HAVE_TIMER_SETUP 1 65 #define NEED_PDE_DATA 1 66 #define HAVE_PROC_OPS 1 67 #define HAVE_NETIF_F_RXHASH 1 68 #define HAVE_SOCK_CREATE_KERN_NET 1 69 #define HAVE_UDP_TUNNEL_NIC_INFO 1 70 #define HAVE_VLAN_FIND_DEV_DEEP_RCU 1 71 #define NEED_DEFINE_FIELD_SIZEOF 1 72 #define NEED_RTC_TIME_TO_TM 1 73 #define HAVE_GENL_OPS_FIELD_VALIDATE 1 74 #define NEED_DEFINE_GET_DS 1 75 #define HAVE_MACRO_VM_FAULT_T 1 76 #define NEED_DEFINE_BIT_ULL 1 77 #define HAVE_XDP_SUPPORT 1 78 #define HAVE_XDP_FRAME_SZ 1 79 #define HAVE_XDP_RXQ_INFO_REG_NAPI_ID 1 80 #define HAVE_XDP_FRAME_FRAME_SZ 1 81 #define HAVE_MEM_TYPE_XSK_BUFF_POOL 1 82 #define HAVE_XSK_ZEROCOPY_SUPPORT 1 83 #define HAVE_XSK_BUFF_DMA_SYNC_FOR_CPU_HAVE_POOL 1 84 #define HAVE_BPF_TRACE_H 1 85 #define HAVE_KALLSYMS_LOOKUP_NAME_EXPORTED 1 86 #endif /* _NIC_KCOMPAT_H_ */ + build_udk + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel + change_Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' ./Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/Makefile.ko + sed -i 's/KERN_VER.*:=.*/KERN_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/nic-kcompat-generator.sh + sed -i 's/BUILD_KERNEL.*:=.*/BUILD_KERNEL:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce-kcompat-generator.sh + make clean /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:43\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" rm -rf *.o *.ko *.order .*.cmd *.mod.* .H* .tm* .tmp_versions Module.symvers *.ko.unsigned null + eval make -j 16 ++ make -j 16 /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:43\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" make -C /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build M=/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel -W modules make[1]: Entering directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-19) You are using: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-20) /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:44\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/../../host/vram/vram_common.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_com_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_cqm_com_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_cqm_obj_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_crm_com_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_crm_svr_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_dev_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_hw_com_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_hw_reg_intf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_lld.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk_wq_intf.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk3.o /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:46\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" MODPOST /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/Module.symvers CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk3.mod.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk3.ko BTF [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk3.ko Skipping BTF generation for /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/udk/kernel/hiudk3.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' + mv hiudk3.ko hiudk3.ko.tmp + strip --strip-debug hiudk3.ko.tmp -o hiudk3.ko + '[' 0 -ne 0 ']' + cp hiudk3.ko /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output + cp Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output/UDK_Module.symvers + build_sdk + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk + change_Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' ./Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/Makefile.ko + sed -i 's/KERN_VER.*:=.*/KERN_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/nic-kcompat-generator.sh + sed -i 's/BUILD_KERNEL.*:=.*/BUILD_KERNEL:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce-kcompat-generator.sh + make clean /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:46\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" rm -rf *.o *.ko *.order .*.cmd *.mod.* .H* .tm* .tmp_versions Module.symvers *.ko.unsigned null + eval make -j 16 ++ make -j 16 /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:46\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" make -C /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build M=/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk -W modules make[1]: Entering directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-19) You are using: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-20) /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:47\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/hinic3_hwdev.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/hinic3_hw_cfg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/hinic3_hw_comm.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/hinic3_prof_adap.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/lld/hinic3_sriov.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/lld/hinic3_lld.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/crm/lld/hinic3_dev_mgmt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_common.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_hwif.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_wq.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_cmdq.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_eqs.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_mbox.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_mgmt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_multi_host_mgmt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_api_cmd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_hw_api.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hwif/hinic3_sml_lt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/../host/mt/hinic3_hw_mt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/../host/mt/hinic3_nictool.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/../host/mt/hinic3_devlink.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/../host/ossl/linux/kernel/ossl_knl_linux.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_bat_cla.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_bitmap_table.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_object_intern.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_bloomfilter.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_cmd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_db.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_object.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_main.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/cqm/cqm_memsec.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hisdk3.o /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:50\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" MODPOST /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/Module.symvers CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hisdk3.mod.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hisdk3.ko BTF [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hisdk3.ko Skipping BTF generation for /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hwsdk/hisdk3.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' + mv hisdk3.ko hisdk3.ko.tmp + strip --strip-debug hisdk3.ko.tmp -o hisdk3.ko + '[' 0 -ne 0 ']' + cp hisdk3.ko /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output + cp Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output/SDK_Module.symvers + build_hinic + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic + change_Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' ./Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/Makefile.ko + sed -i 's/KERN_VER.*:=.*/KERN_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/nic-kcompat-generator.sh + sed -i 's/BUILD_KERNEL.*:=.*/BUILD_KERNEL:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce-kcompat-generator.sh + make clean /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:51\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" rm -rf *.o *.ko *.order .*.cmd *.mod.* .H* .tm* .tmp_versions Module.symvers *.ko.unsigned null + eval make -j 16 ++ make -j 16 /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:51\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" make -C /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build M=/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic -W modules make[1]: Entering directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-19) You are using: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-20) /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:52\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_main.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_monitor.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_tx.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_rx.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_rss.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_ntuple.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_dcb.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_ethtool.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_ethtool_stats.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_dbg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_irq.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_filter.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_netdev_ops.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/linux/hinic3_nic_prof.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_nic_cfg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_mag_cfg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_nic_cfg_vf.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_rss_cfg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_nic_event.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_nic_io.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/comm/hinic3_nic_dbg.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/bond/hinic3_bond.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/bond/bifur_bond.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/../host/crypt/hisec_hwrand.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/../host/ossl/linux/kernel/ossl_knl_linux.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/hinic3.o /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:54\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" MODPOST /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/Module.symvers CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/hinic3.mod.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/hinic3.ko BTF [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/hinic3.ko Skipping BTF generation for /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/hinic/hinic3.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' + mv hinic3.ko hinic3.ko.tmp + strip --strip-debug hinic3.ko.tmp -o hinic3.ko + '[' 0 -ne 0 ']' + cp hinic3.ko /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output + cp Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output/NIC_Module.symvers + '[' roce == roce ']' + check_roce_compile_deps + for rpm_name in ${ROCE_COMPILE_DEPENDENCY[*]} + check_env_rpm rdma-core + local rpm_name=rdma-core + rpm -q rdma-core + echo 'Info: rdma-core check ok, version:' Info: rdma-core check ok, version: + rpm -q rdma-core rdma-core-54.0-3.an23.aarch64 + for rpm_name in ${ROCE_COMPILE_DEPENDENCY[*]} + check_env_rpm rdma-core-devel + local rpm_name=rdma-core-devel + rpm -q rdma-core-devel + echo 'Info: rdma-core-devel check ok, version:' Info: rdma-core-devel check ok, version: + rpm -q rdma-core-devel rdma-core-devel-54.0-3.an23.aarch64 + [[ true == \f\a\l\s\e ]] + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel + export BUILD_KERNEL=6.6.102-6_rc2.2.an23.aarch64 + BUILD_KERNEL=6.6.102-6_rc2.2.an23.aarch64 + '[' -z '' ']' + echo 'Use the OFED compatible with the system kernel.' Use the OFED compatible with the system kernel. + bash /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce-kcompat-generator.sh KSRC: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ GSRC: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ [INFO] 312 gen invoked, but input file is missing. + build_hiroce_kern OFED_COMPAT + cd /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel + change_Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' ./Makefile + sed -i 's/KERNEL_VER.*:=.*/KERNEL_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/Makefile.ko + sed -i 's/KERN_VER.*:=.*/KERN_VER:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/nic-kcompat-generator.sh + sed -i 's/BUILD_KERNEL.*:=.*/BUILD_KERNEL:=6.6.102-6_rc2.2.an23.aarch64/g' /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce-kcompat-generator.sh + make clean ============== INFO ============== Building kernel modules Driver Version: Kernel Version: os type: Anolis Kernel Sources: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ Thirdparty Source: /usr/src/ofa_kernel/default/ linux include: -I/usr/src/ofa_kernel/default//include/ -I/usr/src/ofa_kernel/default//include/uapi Thirdparty Symbols: /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/UDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/SDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/NIC_Module.symvers /usr/src/ofa_kernel/default/Module.symvers ================================== linux version -DHW_CONVERT_ENDIAN -DROCE_SERVICE -D__ROCE_DFX__ -DROCE_CC_EN -Werror -Wall -DROCE_STANDARD -DHIUDK_SDK -DHIUDK_ULD -DROCE_PKT_CAP_EN -DOFED_MLNX_5_7_8 -DROCE_COMPUTE -DROCE_BONDING_EN -DROCE_STANDARD -DBOND_AFFINITY_EN -DROCE_NETLINK_EN -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/cq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/mr -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/qp -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/tc -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/srq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hinic/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/hmm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm/lld -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/hwif -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/public -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/nic -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mag -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mpu -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cfg_mgmt -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cqm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/hw -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/src -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/ossl/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//udk/include ================================== /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:56\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" rm -rf *.o *.ko *.order .*.cmd *.mod.* .H* .tm* .tmp_versions Module.symvers *.ko.unsigned null + eval make OFED_VERSION=OFED_COMPAT COMPILE_OS_TYPE= -j 16 ++ make OFED_VERSION=OFED_COMPAT COMPILE_OS_TYPE= -j 16 ============== INFO ============== Building kernel modules Driver Version: Kernel Version: os type: Anolis Kernel Sources: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ Thirdparty Source: linux include: -I/include/ -I/include/uapi Thirdparty Symbols: /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/UDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/SDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/NIC_Module.symvers ================================== linux version -DHW_CONVERT_ENDIAN -DROCE_SERVICE -D__ROCE_DFX__ -DROCE_CC_EN -Werror -Wall -DROCE_STANDARD -DHIUDK_SDK -DHIUDK_ULD -DROCE_PKT_CAP_EN -DOFED_COMPAT -DROCE_COMPUTE -DROCE_BONDING_EN -DROCE_STANDARD -DBOND_AFFINITY_EN -DROCE_NETLINK_EN -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/cq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/mr -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/qp -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/tc -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/srq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hinic/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/hmm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm/lld -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/hwif -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/public -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/nic -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mag -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mpu -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cfg_mgmt -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cqm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/hw -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/src -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/ossl/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//udk/include ================================== /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:56\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" make -C /lib/modules/6.6.102-6_rc2.2.an23.aarch64/build M=/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel -W modules make[1]: Entering directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' warning: the compiler differs from the one used to build the kernel The kernel was built by: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-19) You are using: gcc (GCC) 12.3.0 20230508 (Anolis OS 12.3.0-20) ============== INFO ============== Building kernel modules Driver Version: 6 Kernel Version: os type: Anolis Kernel Sources: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ Thirdparty Source: linux include: -I/include/ -I/include/uapi -I./arch/arm64/include -I./arch/arm64/include/generated -I./include -I./arch/arm64/include/uapi -I./arch/arm64/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h Thirdparty Symbols: /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/UDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/SDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/NIC_Module.symvers ================================== linux version -DHW_CONVERT_ENDIAN -DROCE_SERVICE -D__ROCE_DFX__ -DROCE_CC_EN -Werror -Wall -DROCE_STANDARD -DHIUDK_SDK -DHIUDK_ULD -DROCE_PKT_CAP_EN -DOFED_COMPAT -DROCE_COMPUTE -DROCE_BONDING_EN -DROCE_STANDARD -DBOND_AFFINITY_EN -DROCE_NETLINK_EN -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/cq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/mr -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/qp -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/tc -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/srq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hinic/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/hmm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm/lld -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/hwif -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/public -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/nic -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mag -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mpu -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cfg_mgmt -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cqm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/hw -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/src -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/ossl/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//udk/include ================================== /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:21:56\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/cq/roce_cq_common.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/cq/roce_cq_cqe.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/cq/roce_cq_create.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/cq/roce_cq_ctrl.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/cq/roce_cq_destroy.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/tc/roce_tc.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_event_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_main_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_mr_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_netdev_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_qp_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_qp_post_send_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_srq_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/extension/roce_cdev_extension.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_db.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_main.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_netlink.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_event.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_netdev.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_mix.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/mr/roce_mr.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_pd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_create.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_destroy.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_modify.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_post_recv.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_post_send.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/qp/roce_qp_query.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_xrc.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx_query.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_cdev.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_ucc_sysfs.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_sysfs.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_cmd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/roce_cqm_cmd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/bond/roce_bond_affinity.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/bond/roce_bond_common.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_bitmap.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp_res.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp_gid.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp_init.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp_pd.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/rdma/rdma_comp_mw_mr.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/srq/roce_srq_comm.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/srq/roce_srq_create.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/srq/roce_srq_ctrl.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_buddy.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_comp.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_comp_init.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_comp_mtt.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_comp_mw_mr.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_comp_res.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_em.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_mr.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../../host/hmm/hmm_umem.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx_cap.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx_tclass.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx_tso.o CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/dfx/roce_dfx_mac.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/hiroce3.o ============== INFO ============== Building kernel modules Driver Version: 6 Kernel Version: os type: Anolis Kernel Sources: /usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64/ Thirdparty Source: linux include: -I/include/ -I/include/uapi -I./arch/arm64/include -I./arch/arm64/include/generated -I./include -I./arch/arm64/include/uapi -I./arch/arm64/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h Thirdparty Symbols: /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/UDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/SDK_Module.symvers /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//output/NIC_Module.symvers ================================== linux version -DHW_CONVERT_ENDIAN -DROCE_SERVICE -D__ROCE_DFX__ -DROCE_CC_EN -Werror -Wall -DROCE_STANDARD -DHIUDK_SDK -DHIUDK_ULD -DROCE_PKT_CAP_EN -DOFED_COMPAT -DROCE_COMPUTE -DROCE_BONDING_EN -DROCE_STANDARD -DBOND_AFFINITY_EN -DROCE_NETLINK_EN -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/cq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/mr -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/qp -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/rdma -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/tc -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/srq -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//roce/linux/kernel/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hinic/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/hmm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/crm/lld -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//hwsdk/hwif -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/public -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/nic -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mag -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/mpu -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cfg_mgmt -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/bond -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/cqm -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/dfx -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//include/hw -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/include -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//platform/huawei_secure_c/src -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//host/ossl/linux/kernel -I/builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//udk/include ================================== /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/../../..//Makefile.ko:6: cflags, -D __TIME_STR__=\"2026-07-02_14:22:00\" -DGLOBAL_VERSION_STR=\"17.12.5.0\" MODPOST /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/Module.symvers CC [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/hiroce3.mod.o LD [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/hiroce3.ko BTF [M] /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/hiroce3.ko Skipping BTF generation for /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel/hiroce3.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/kernels/6.6.102-6_rc2.2.an23.aarch64' + export KBUILD_EXTRA_SYMBOLS + mv hiroce3.ko hiroce3.ko.tmp + strip --strip-debug hiroce3.ko.tmp -o hiroce3.ko + '[' 0 -ne 0 ']' + cp hiroce3.ko /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/output + bash /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/../build_rdmacore.sh ~/rpmbuild/BUILD ~/build/BUILD/kmod-hiroce3-17.12.5.0/src/roce/linux/kernel /builddir/build/BUILD/kmod-hiroce3-17.12.5.0/src/../build_rdmacore.sh: line 14: wget: command not found Unable to download rdma-core-54.0.tar.gz error: Bad exit status from /var/tmp/rpm-tmp.e9CFE6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.e9CFE6 (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/kmod-hiroce3.spec'