DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails
@ 2021-06-10  7:35 bugzilla
  2021-06-18 10:55 ` bugzilla
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2021-06-10  7:35 UTC (permalink / raw)
  To: dev

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

            Bug ID: 728
           Summary: [dpdk-19.11.9-rc2]When compiling dpdk with make or
                    meson under SUSE Linux Enterprise Server 15 SP2, the
                    compilation fails
           Product: DPDK
           Version: 19.11
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: leweix.yang@intel.com
  Target Milestone: ---

Environment:

   OS: SUSE Linux Enterprise Server 15 SP2 5.3.18-22
   Compiler: gcc (SUSE Linux) 7.5.0

Test Error:
1. When compiling dpdk with make,the error is reported as follows :
  
/root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.c:791:20:
error: initialization from incompatible pointer type
[-Werror=incompatible-pointer-types]
  .ndo_tx_timeout = kni_net_tx_timeout,
                    ^~~~~~~~~~~~~~~~~~
/root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.c:791:20:
note: (near initialization for ‘kni_net_netdev_ops.ndo_tx_timeout’)
   cc1: all warnings being treated as errors
make[9]: *** [/usr/src/linux-5.3.18-22/scripts/Makefile.build:282:
/root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni/kni_net.o] Error 1
make[9]: *** Waiting for unfinished jobs....
  INSTALL-LIB librte_bus_vmbus.a
make[8]: *** [/usr/src/linux-5.3.18-22/Makefile:1644:
_module_/root/bak/x86_64-native-linuxapp-gcc/build/kernel/linux/kni] Error 2
make[7]: *** [../../../linux-5.3.18-22/Makefile:179: sub-make] Error 2
make[6]: *** [/root/bak/mk/rte.module.mk:51: rte_kni.ko] Error 2
make[5]: *** [/root/bak/mk/rte.subdir.mk:37: kni] Error 2
make[5]: *** Waiting for unfinished jobs....

2. When compiling dpdk with meson,the error is reported as follows :
   FAILED: kernel/linux/kni/rte_kni.ko
make -j4 -C /lib/modules/5.3.18-22-default/build
M=/root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni
src=/root/bak/kernel/linux/kni 'MODULE_CFLAGS=-include
/root/bak/config/rte_config.h -I/root/bak/lib/librte_eal/common/include
-I/root/bak/lib/librte_eal/linux/eal/include
-I/root/bak/x86_64-native-linuxapp-gcc -I/root/bak/kernel/linux/kni' modules
make: Entering directory '/usr/src/linux-5.3.18-22-obj/x86_64/default'
  CC [M]  /root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
  CC [M]  /root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
/root/bak/kernel/linux/kni/kni_net.c:791:20: error: initialization from
incompatible pointer type [-Werror=incompatible-pointer-types]
  .ndo_tx_timeout = kni_net_tx_timeout,
                    ^~~~~~~~~~~~~~~~~~
/root/bak/kernel/linux/kni/kni_net.c:791:20: note: (near initialization for
‘kni_net_netdev_ops.ndo_tx_timeout’)
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-5.3.18-22/scripts/Makefile.build:281:
/root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1
make[1]: *** [/usr/src/linux-5.3.18-22/Makefile:1644:
_module_/root/bak/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2
make: *** [../../../linux-5.3.18-22/Makefile:179: sub-make] Error 2
make: Leaving directory '/usr/src/linux-5.3.18-22-obj/x86_64/default'




Bad commitid : de7bca5de2e3d605ef9977bd6eba8aa565af01fd 
  Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
  Date:   Wed Jun 2 15:59:42 2021 +0200

    kni: fix compilation on SLES15-SP3

    Like what was done for mainline kernel in commit 38ad54f3bc76 ("kni: fix
    build with Linux 5.6"), a new parameter 'txqueue' has to be added to
    'ndo_tx_timeout' ndo on SLES 15-SP3 kernel.

    Caused by:
      commit c3bf155c40e9db722feb8a08c19efd44c12d5294
      Author: Thomas Bogendoerfer <tbogendoerfer@suse.de>
      Date:   Fri Sep 11 16:08:31 2020 +0200
          - netdev: pass the stuck queue to the timeout handler
            (jsc#SLE-13536).
          - Refresh patches.suse/sfc-move-various-functions.patch.

    That is part of the SLES 5.3.18 kernel

    Cc: stable@dpdk.org

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [Bug 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails
  2021-06-10  7:35 [dpdk-dev] [Bug 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails bugzilla
@ 2021-06-18 10:55 ` bugzilla
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla @ 2021-06-18 10:55 UTC (permalink / raw)
  To: dev

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

jiang,yu (yux.jiang@intel.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yux.jiang@intel.com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from jiang,yu (yux.jiang@intel.com) ---
Test passed on LTS19.11.9-rc3
commit e5f56f22a82a1df49c224a8af13e769ff4b04cd8
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Date:   Thu Jun 17 08:25:20 2021 +0200

    version: 19.11.9-rc3

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

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-18 10:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10  7:35 [dpdk-dev] [Bug 728] [dpdk-19.11.9-rc2]When compiling dpdk with make or meson under SUSE Linux Enterprise Server 15 SP2, the compilation fails bugzilla
2021-06-18 10:55 ` bugzilla

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git