【问题标题】:Getting stuck while building DPDK构建 DPDK 时卡住
【发布时间】:2021-09-09 21:01:09
【问题描述】:

我正在尝试构建 dpdk 版本 21.05。

我确实运行了meson build,然后在运行ninja 时,它卡在了

[2030/2380] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_evdev.c.o 并且不前进。 什么可能导致这种行为?

这是与: Ubuntu 20.04.1 x86_64 内核 5.8.0-1041-aws gcc 9.3.0 忍者 1.10.0 介子 0.59.0

没有交叉编译

【问题讨论】:

  • 你能分享一些细节,比如平台、操作系统、交叉构建、GCC 版本、介子忍者版本吗?你打算用octeon还是x86还是arm平台?
  • 谢谢@VipinVarghese。我更新了问题。
  • 你能禁用 octeon 并尝试构建吗?
  • @VipinVarghese 我该怎么做?
  • 您可以使用介子选项-Ddisable_drivers=event/octeontx2,event/octeontx,因为您提到忍者挂在 oceteon eventdev build.. 因此命令序列将是 meson -Ddisable_drivers=event/octeontx2,event/octeontx build; ninja -C build

标签: dpdk


【解决方案1】:

在 Ubuntu 20.04 上使用 Broadwel x86_64 qemu 在主机(24 个 CPU 内核)和来宾(1GB RAM,2 个 CPU)上检查 DPDK 21.05

  1. 带有事件 octeon - 通过
  2. 禁用事件 octeon - 通过
[2565/2565] Linking target app/dpdk-test-acl. (octeon eventdev)

[2530/2530] Linking target drivers/librte_event_dpaa2.so.21.2. (without oceteon eventdev)

因此看起来它是一个平台(CPU 和内存不足或缺少 octeon 库),建议@Kviz 使用-Ddisable_drivers=event/octeontx2,event/octeontx 构建为 它会跳过 eventdev oceteon build 提到了一个问题drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_evdev.c.o and does not move forward.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-10-25
    • 1970-01-01
    • 2015-04-05
    • 2014-03-05
    • 2015-08-22
    • 2022-08-05
    相关资源
    最近更新 更多