DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1141] [19.11.14-rc1] kernel/linux/kni make build failed with gcc10.3.0 and clang11.0.1 on Opensuse15.4
Date: Wed, 07 Dec 2022 06:00:36 +0000	[thread overview]
Message-ID: <bug-1141-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 1141
           Summary: [19.11.14-rc1] kernel/linux/kni make build failed with
                    gcc10.3.0 and clang11.0.1 on Opensuse15.4
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[DPDK version]
commit f99f2e55af7a49a6ee6555a5554847094086017f
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date:   Mon Nov 28 11:46:00 2022 +0100

    version: 19.11.14-rc1

    Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>

[OS version]
Opensuse15.4-64/5.14.21-150400.22-default
GCC Version: 7.5.0
Clang Version: 11.0.1

[Bad commit]
This is new os found problem, old os opensuse15.3 not found problem.

[Test Setup]
sed -i -e 's/BNX2X_PMD=n$/BNX2X_PMD=y/' config/common_base
sed -i -e 's/PMD_PCAP=n$/PMD_PCAP=y/' config/common_base
sed -i -e 's/IGB_UIO=n$/IGB_UIO=y/' config/common_base
sed -i -e 's/PMD_QAT_SYM=n$/PMD_QAT_SYM=y/' config/common_base
sed -i -e 's/PMD_OPENSSL=n$/PMD_OPENSSL=y/' config/common_base
sed -i -e 's/PMD_ISAL=n$/PMD_ISAL=y/' config/common_base
sed -i -e 's/PMD_ZLIB=n$/PMD_ZLIB=y/' config/common_base
sed -i -e 's/KNI_KMOD=y$/KNI_KMOD=n/' config/common_base

gmake -j10 install T=x86_64-native-bsdapp-clang
gmake -j10 install T=x86_64-native-bsdapp-gcc
gmake -j10 install T=x86_64-native-bsdapp-gcc+shared
gmake -j10 install T=x86_64-native-bsdapp-gcc+debug

[Error log]
  CC linux/pci.o
  CC linux/pci_uio.o
In file included from
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.c:21:0:
/opt/dpdk-stable/kernel/linux/kni/compat.h:138:0: error:
"HAVE_TX_TIMEOUT_TXQUEUE" redefined [-Werror]
 #define HAVE_TX_TIMEOUT_TXQUEUE

<command-line>:0:0: note: this is the location of the previous definition
In file included from
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_net.c:24:0:
/opt/dpdk-stable/kernel/linux/kni/compat.h:138:0: error:
"HAVE_TX_TIMEOUT_TXQUEUE" redefined [-Werror]
 #define HAVE_TX_TIMEOUT_TXQUEUE

<command-line>:0:0: note: this is the location of the previous definition
  CC linux/vmbus_bus.o
  CC vdev_params.o
cc1: all warnings being treated as errors
make[9]: *** [/usr/src/linux-5.14.21-150400.22/scripts/Makefile.build:272:
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_misc.o]
Error 1
make[9]: *** Waiting for unfinished jobs....
  CC ifpga_common.o
  CC qbman/qbman_debug.o
  MODPOST
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/igb_uio/Module.symvers
  CC linux/pci_vfio.o
  AR librte_bus_vdev.a
  INSTALL-LIB librte_bus_vdev.a
cc1: all warnings being treated as errors
make[9]: *** [/usr/src/linux-5.14.21-150400.22/scripts/Makefile.build:272:
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni/kni_net.o]
Error 1
make[8]: *** [/usr/src/linux-5.14.21-150400.22/Makefile:1882:
/opt/dpdk-stable/x86_64-native-linuxapp-clang/build/kernel/linux/kni] Error 2
make[7]: *** [../../../linux-5.14.21-150400.22/Makefile:220: __sub-make] Error
2
make[6]: *** [/opt/dpdk-stable/mk/rte.module.mk:51: rte_kni.ko] Error 2
make[5]: *** [/opt/dpdk-stable/mk/rte.subdir.mk:37: kni] Error 2
make[5]: *** Waiting for unfinished jobs....
  CC pci_params.o
  CC mc/dpmng.o

-- 
You are receiving this mail because:
You are the assignee for the bug.

                 reply	other threads:[~2022-12-07  6:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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-1141-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).