All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 519] DPDK 20.08-rc3 meson build fails with MLNX_OFED_LINUX-5.1-0.6.6.0
Date: Fri, 31 Jul 2020 04:02:50 +0000	[thread overview]
Message-ID: <bug-519-3@http.bugs.dpdk.org/> (raw)

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.roberts@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.

             reply	other threads:[~2020-07-31  4:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31  4:02 bugzilla [this message]
2020-08-02 14:13 ` [dpdk-dev] [Bug 519] DPDK 20.08-rc3 meson build fails with MLNX_OFED_LINUX-5.1-0.6.6.0 Gregory Etelson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-519-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.