Patch set 68313–68314 v3

[v3,1/2] eal: introduce rte-init queue for libraries initialization

Submitter
Tonghao Zhang
Applied on
dpdk (2a41db7589cb27dc491963f8c09b8dd452a8296d)
Date submitted
April 13, 2020, 2:21 p.m.

Test Results Build Error

Configuration done using x86_64-native-linuxapp-gcc
== Build lib
== Build lib/librte_kvargs
== Build lib/librte_eal
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/toolchain/gcc/rte.toolchain-compat.mk:30: AVX512 support disabled because of binutils 2.30. See Bug 97
== Build lib/librte_eal/include
== Build lib/librte_eal/linux
== Build lib/librte_pci
== Build lib/librte_ring
== Build lib/librte_stack
== Build lib/librte_mempool
== Build lib/librte_mbuf
== Build lib/librte_timer
== Build lib/librte_cfgfile
== Build lib/librte_net
== Build lib/librte_cmdline
== Build lib/librte_meter
== Build lib/librte_ethdev
== Build lib/librte_bbdev
== Build lib/librte_cryptodev
== Build lib/librte_security
  SYMLINK-FILE include/rte_security.h
  SYMLINK-FILE include/rte_security_driver.h
  CC rte_security.o
In file included from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38:0,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_crypto.h:20,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/lib/librte_security/rte_security.h:28,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/lib/librte_security/rte_security.c:9:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h: In function ‘mempool_ops_register’:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:933:2: error: ‘rte_init_register’ is deprecated: Symbol is not yet part of stable ABI [-Werror=deprecated-declarations]
  rte_init_register(mempool_ops_register_cb, (const void *)ops,
  ^~~~~~~~~~~~~~~~~
In file included from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_mempool.h:53:0,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_mbuf.h:38,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_crypto.h:20,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/lib/librte_security/rte_security.h:28,
                 from /home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/lib/librte_security/rte_security.c:9:
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/x86_64-native-linuxapp-gcc/include/rte_init.h:61:5: note: declared here
 int rte_init_register(rte_init_cb_t cb, const void *arg,
     ^~~~~~~~~~~~~~~~~
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/lib/librte_security/rte_security.c: At top level:
cc1: error: unrecognized command line option ‘-Wno-address-of-packed-member’ [-Werror]
cc1: all warnings being treated as errors
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_security.o' failed
make[5]: *** [rte_security.o] Error 1
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_security' failed
make[4]: *** [librte_security] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkbuild.mk:46: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkroot.mk:98: recipe for target 'all' failed
make[2]: *** [all] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkinstall.mk:60: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/home-local/jenkins-local/jenkins-agent/workspace/Apply-Custom-Patch-Set/dpdk/mk/rte.sdkroot.mk:77: recipe for target 'install' failed
make: *** [install] Error 2