Skip to contentSkip to conversation

lib/ethdev build failed on Ubuntu20.04.3 with gcc 10.3.0.

dpdk-dev [email protected] 1 participant 2 messages Oct 26, 2021

lore
Share & tools
lore

[email protected]

author Acked-by Tyler Retzlaff Acked-by Andrew Rybchenko Acked-by Ajit Khaparde Acked-by Jerin Jacob Acked-by Wisam Jaddo Acked-by Rosen Xu Acked-by Chenbo Xia Acked-by Hemant Agrawal Acked-by Somnath Kotur
#0 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=837

            Bug ID: 837
           Summary: [build]lib/ethdev build failed on Ubuntu20.04.3 with
                    gcc 10.3.0.
           Product: DPDK
           Version: 21.11
          Hardware: x86
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: meson
          Assignee: [email protected]
          Reporter: [email protected]

Target Milestone: ---

1.DPDK version:
Now build failed issue branch dpdk-next-net/dpdk-next-net-intel bad commit d7a55a39bce30d3bf7e9e7de3f25b1f603b63926 (HEAD -> main)

Author: Ferruh Yigit <[email protected]>
Date:   Fri Oct 22 12:03:12 2021 +0100

ethdev: add namespace

Add 'RTE_ETH' namespace to all enums & macros in a backward compatible way. The macros for backward compatibility can be removed in next LTS. Also updated some struct names to have 'rte_eth' prefix.

All internal components switched to using new names.

Syntax fixed on lines that this patch touches.

2.OS version:
Ubuntu 20.04.3 LTS /kernel 5.8.0-48-generic gcc version:gcc (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0

3.Test Setup:

build cmd:
CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Denable_docs=true x86_64-native-linuxapp-doc
ninja -C x86_64-native-linuxapp-doc/

4.build failed output info:

root@dpdk-xuemin4x-ub2004-doc:~/dpdk-next-net# ninja -C
x86_64-native-linuxapp-doc/
ninja: Entering directory `x86_64-native-linuxapp-doc/'
[2668/2697] Generating rte_kni with a custom command.
make: Entering directory '/usr/src/linux-headers-5.8.0-48-generic'
  CC [M] 
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_net.o
  CC [M] 
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/kni_misc.o
  LD [M] 
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.o
  MODPOST
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/Module.symvers
  CC [M] 
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.mod.o
  LD [M] 
/root/dpdk-next-net/x86_64-native-linuxapp-doc/kernel/linux/kni/rte_kni.ko
make: Leaving directory '/usr/src/linux-headers-5.8.0-48-generic'
[2671/2697] Generating doxygen with a custom command.
FAILED: doc/api/html
/root/dpdk-next-net/doc/api/generate_doxygen.sh doc/api/doxy-api.conf
doc/api/html /root/dpdk-next-net/doc/api/doxy-html-custom.sh
/root/dpdk-next-net/lib/ethdev/rte_ethdev.h:397: error: Member
RTE_ETH_MQ_RX_RSS_FLAG (macro definition) of file rte_ethdev.h is not
documented. (warning treated as error, aborting now)
[2676/2697] Compiling C object
'drivers/a715181@@tmp_rte_event_octeontx2@sta/event_octeontx2_otx2_worker_dual.c.o'.
ninja: build stopped: subcommand failed.
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

https://bugs.dpdk.org/show_bug.cgi?id=837

Thomas Monjalon ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #1 from Thomas Monjalon ([email protected]) --- It has been fixed when pulling next-net in main.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.