DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [Bug 1079] [dpdk 22.11] kernel/linux/kni meson build failed with gcc 7.5 on suse15.4
Date: Fri, 09 Sep 2022 05:30:27 +0000	[thread overview]
Message-ID: <bug-1079-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 1079
           Summary: [dpdk 22.11] kernel/linux/kni meson build failed with
                    gcc 7.5 on suse15.4
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev@dpdk.org
          Reporter: daxuex.gao@intel.com
  Target Milestone: ---

[DPDK version]:
commit 72206323a5dd3182b13f61b25a64abdddfee595c (HEAD -> main, origin/main,
origin/for-next-net, origin/HEAD)
Author: David Marchand <david.marchand@redhat.com>
Date:   Sat Jul 9 10:43:09 2022 +0200

    version: 22.11-rc0

    Start a new release cycle with empty release notes.

    The ABI version becomes 23.0.
    The map files are updated to the new ABI major number (23).
    The ABI exceptions are dropped and CI ABI checks are disabled because
    compatibility is not preserved.
    Special handling of removed drivers is also dropped in check-abi.sh and
    a note has been added in libabigail.abignore as a reminder.

    Signed-off-by: David Marchand <david.marchand@redhat.com>
    Acked-by: Thomas Monjalon <thomas@monjalon.net>

[OS version]:
openSUSE Leap 15.4/Linux 5.14.21-150400.24.18-default
gcc version 7.5 20220909

[Test Setup]:
sed -i "" "/#define RTE_LIBRTE_PMD_SKELETON_EVENTDEV_DEBUG/d"
config/rte_config.h

CC=gcc meson --werror -Denable_kmods=True -Dlibdir=lib -Dexamples=all
--default-library=static x86_64-native-linuxapp-gcc 
ninja -j 10 -C x86_64-native-linuxapp-gcc/


[Log]
ninja: Entering directory `x86_64-native-linuxapp-gcc'
[3575/3580] Generating rte_kni with a custom command
FAILED: kernel/linux/kni/rte_kni.ko
/usr/bin/make -j4 -C /lib/modules/5.14.21-150400.24.18-default/build
M=/opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni
src=/opt/dpdk/kernel/linux/kni 'MODULE_CFLAGS= -DHAVE_ARG_TX_QUEUE -include
/opt/dpdk/config/rte_config.h -I/opt/dpdk/lib/eal/include -I/opt/dpdk/lib/kni
-I/opt/dpdk/x86_64-native-linuxapp-gcc -I/opt/dpdk/kernel/linux/kni' modules
make: Entering directory
'/usr/src/linux-5.14.21-150400.24.18-obj/x86_64/default'
  CC [M]  /opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o
  CC [M]  /opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o
In file included from
/usr/src/linux-5.14.21-150400.24.18/include/linux/mm_types.h:14:0,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/buildid.h:5,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/module.h:14,
                 from /opt/dpdk/kernel/linux/kni/kni_misc.c:7:
/usr/src/linux-5.14.21-150400.24.18/include/linux/uprobes.h:91:1: internal
compiler error: Segmentation fault
 };
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
make[2]: *** [/usr/src/linux-5.14.21-150400.24.18/scripts/Makefile.build:272:
/opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_misc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from
/usr/src/linux-5.14.21-150400.24.18/include/linux/cred.h:13:0,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/sched/signal.h:10,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/rcuwait.h:6,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/percpu-rwsem.h:7,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/fs.h:33,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/huge_mm.h:8,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/mm.h:728,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/bvec.h:14,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/skbuff.h:17,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/net/net_namespace.h:39,
                 from
/usr/src/linux-5.14.21-150400.24.18/include/linux/netdevice.h:37,
                 from /opt/dpdk/kernel/linux/kni/kni_net.c:14:
/usr/src/linux-5.14.21-150400.24.18/include/linux/key.h:247:3: internal
compiler error: Segmentation fault
   };
   ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.opensuse.org/> for instructions.
make[2]: *** [/usr/src/linux-5.14.21-150400.24.18/scripts/Makefile.build:272:
/opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni/kni_net.o] Error 1
make[1]: *** [/usr/src/linux-5.14.21-150400.24.18/Makefile:1885:
/opt/dpdk/x86_64-native-linuxapp-gcc/kernel/linux/kni] Error 2
make: *** [../../../linux-5.14.21-150400.24.18/Makefile:220: __sub-make] Error
2
make: Leaving directory
'/usr/src/linux-5.14.21-150400.24.18-obj/x86_64/default'
[3580/3580] Linking target examples/dpdk-vmdq_dcb
ninja: build stopped: subcommand failed.

[Bad commit]
This is new os found problem, old os no found problem.

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

             reply	other threads:[~2022-09-09  5:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09  5:30 bugzilla [this message]
2022-09-22  5:27 ` bugzilla

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-1079-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).