https://bugs.dpdk.org/show_bug.cgi?id=519
Bug ID: 519 Summary: DPDK 20.08-rc3 meson build fails with MLNX_OFED_LINUX-5.1-0.6.6.0 Product: DPDK Version: 20.08 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: meson Assignee: dev@dpdk.org Reporter: lee.robe...@hpe.com Target Milestone: --- Created attachment 114 --> https://bugs.dpdk.org/attachment.cgi?id=114&action=edit console output from failed build DPDK 20.08-rc3 fails to build on RHEL 8.2 with MLNX_OFED_LINUX-5.1-0.6.6.0. MLNX_OFED_LINUX was installed with "./mlnxofedinstall --upstream-libs --dpdk". [root@vp10p1 dpdk-20.08-rc3]# ninja -C build ninja: Entering directory `build' [1053/2565]GLinkingitarget_drivers/librte_common_mlx5.so.20.0.3.Kstom/command.Khns3_fdir.c.o'.Ktor.c.o'.KKs'.K3.symbols'.K'.Ko'.K FAILED: drivers/librte_common_mlx5.so.20.0.3 cc -o drivers/librte_common_mlx5.so.20.0.3 'drivers/a715181@@rte_common_mlx5@sha/meson-generated_.._rte_common_mlx5.pmd.c.o' 'drivers/a7 15181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_devx_cmds.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_common.c.o' 'dr ivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_common_mp.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_common_ mr.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5_malloc.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_mlx5 _common_pci.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_nl.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/commo n_mlx5_linux_mlx5_common_os.c.o' 'drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_common_verbs.c.o' 'drivers/a715181@@tmp _rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-son ame,librte_common_mlx5.so.20.0 -Wl,--no-as-needed -pthread -lm -ldl -lnuma lib/librte_hash.so.20.0.3 lib/librte_eal.so.20.0.3 lib/librte_kvargs.so.20.0.3 lib/librte_telemetry.so.20.0.3 lib/librte_ring.so.20.0.3 lib/librte_pci.so.20.0.3 drivers/librte_bus_pci.so.20.0.3 lib/librte_net.so.20.0.3 lib/librte_mbuf.so.20.0.3 lib/librte_mempool.so.20.0.3 -Wl,--end-group -Wl,--version-script=/home/lroberts/dpdk-20.08-rc3/drivers/common/mlx5/rte_common_mlx5_version.map '-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/' -Wl,-rpath-link,/home/lroberts/dpdk-20.08-rc3/build/lib:/home/lroberts/dpdk-20.08-rc3/build/drivers drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_dv_open_device': mlx5_glue.c:(.text+0x3e0): undefined reference to `mlx5dv_open_device' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_dv_free_pp': mlx5_glue.c:(.text+0x211): undefined reference to `mlx5dv_pp_free' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_dv_alloc_pp': mlx5_glue.c:(.text+0x221): undefined reference to `mlx5dv_pp_alloc' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_dr_reclaim_domain_memory': mlx5_glue.c:(.text+0x23b): undefined reference to `mlx5dv_dr_domain_set_reclaim_device_memory' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_devx_get_event': mlx5_glue.c:(.text+0x241): undefined reference to `mlx5dv_devx_get_event' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_devx_subscribe_devx_event_fd': mlx5_glue.c:(.text+0x254): undefined reference to `mlx5dv_devx_subscribe_devx_event_fd' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_devx_subscribe_devx_event': mlx5_glue.c:(.text+0x264): undefined reference to `mlx5dv_devx_subscribe_devx_event' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_devx_destroy_event_channel': mlx5_glue.c:(.text+0x271): undefined reference to `mlx5dv_devx_destroy_event_channel' ... mlx5_glue.c:(.text+0xa21): undefined reference to `ibv_open_device' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_free_device_list': mlx5_glue.c:(.text+0xa31): undefined reference to `ibv_free_device_list' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_get_device_list': mlx5_glue.c:(.text+0xa41): undefined reference to `ibv_get_device_list' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_dealloc_pd': mlx5_glue.c:(.text+0xa51): undefined reference to `ibv_dealloc_pd' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_alloc_pd': mlx5_glue.c:(.text+0xa61): undefined reference to `ibv_alloc_pd' drivers/a715181@@tmp_rte_common_mlx5@sta/common_mlx5_linux_mlx5_glue.c.o: In function `mlx5_glue_fork_init': mlx5_glue.c:(.text+0xa71): undefined reference to `ibv_fork_init' collect2: error: ld returned 1 exit status [1102/2565] CompilinggCrobject_'lib/76b5a35@@rte_pipeline@sta/librte_pipeline_rte_table_action.c.o'.KK.K.Ks'.K ninja: build stopped: subcommand failed. [root@vp10p1 dpdk-20.08-rc3]# Build succeeds with "make". Build succeeds with MLNX_OFED_LINUX-5.0-2.1.8.0 -- You are receiving this mail because: You are the assignee for the bug.