From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9393E43AB0; Thu, 8 Feb 2024 21:28:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 616F842DFD; Thu, 8 Feb 2024 21:28:51 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id BB54842DF9 for ; Thu, 8 Feb 2024 21:28:50 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1d7881b1843so1936935ad.3 for ; Thu, 08 Feb 2024 12:28:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1707424130; x=1708028930; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=OGxE53XzbiZwz6ick0scNSOlMZt5IdaYfIa+EagIgvM=; b=EoOO1/nygjrVcMVJ/qm3KTD14inUPzTpIcRIBD7CQhTiH7xTfN2aeMxEbC66/p5QNK jSxFky9og2Rx72SAFuTZuLcNeBvxUjyoE8JEXr+UdCJnDzYEnxJqpXTArQvHkXRQC80T JKBa1p4rkqdDQXwyotFhF6S17UjrZZdBAVQlWh83c6o7guusWUuwmYKAN4o9aTYNMa6V wzMG21XTlbhNsli7DaZZ4qQpOZ/r/EnekNQRXMDUkkiYPb74Hu44rlrE+TR9qx/6B1xe iwZiZoih4+NdrmfHjfVhI6dnkf57pBXveFUsNwjoQnxH/Hike2SPmFgiRVuWHvrMUkML 96BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707424130; x=1708028930; h=content-transfer-encoding:mime-version:message-id:subject:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OGxE53XzbiZwz6ick0scNSOlMZt5IdaYfIa+EagIgvM=; b=b1Snmp/xq4CHUXALNrlrshfRIYAYGVd12JZYjMVHN/Ip1QrXR1TygEzDn8f+Ao34t9 v4hQLdq1cWJy65AXYzb0tpYuwvKWw4LUnAjbH2L3HiOru3jzvy3ai26qalfWZ5EG/i1e 42rLDE+UJLsNaUshXSzoLH+HswWUfM9MKAqzvfgk8LT3DnkiHfbJqsoHXiHNx3e8q74b fUtmy9Uva0PD7ySSx1DsKaukr1LT6FJS9eHyz1A67/tWzRI4kiMY/12MqpJKxWNJObd4 62q/3e5KYV/5gFNx78QiS55bYwPhoWj5PLR7TaHn02LfhuykW6rlb104AUO1QDr1b7O0 Q1gw== X-Gm-Message-State: AOJu0YwLst9yvdl07UdMdTJSwT0nkcwoloD61H/EnxnNo6kXSGTRHE8L OWM0tpIA5JjsKV5AW7CDp18hTwrJeQLLB/Ge8AXTubWIOGmquA29hrt+qreIJ+MmYmQXBxjvb1G vzrc= X-Google-Smtp-Source: AGHT+IGtAGhex/NKSkYd72Jd+HBo2P3Adjbk+wF5CUnl9mj4H/YG9Vc5Vl1IenhrwGq8eUOb0r/xjQ== X-Received: by 2002:a17:902:e993:b0:1d8:ee30:aaac with SMTP id f19-20020a170902e99300b001d8ee30aaacmr252461plb.69.1707424129753; Thu, 08 Feb 2024 12:28:49 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id ku11-20020a170903288b00b001d94df1f859sm162254plb.186.2024.02.08.12.28.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 12:28:49 -0800 (PST) Date: Thu, 8 Feb 2024 12:28:45 -0800 From: Stephen Hemminger To: dev@dpdk.org Subject: Build issues with TAP device Message-ID: <20240208122845.030633c4@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Please remove Centos79 for the CI infrastructure. It uses an older no longer unsupported kernel and headers, and its version gcc is not guaranteed to be C11 compatiable Begin forwarded message: Date: 08 Feb 2024 10:51:06 -0800 From: sys_stv@intel.com To: daxuex.gao@intel.com, stephen@networkplumber.org Cc: Subject: [dpdk lib issues] |FAILURE| pw(136556) sid(31056) job(PER_PATCH_BUILD10949) [v3,7/7] MAINTAINERS: add maintainer for TAP device Test-Label: Intel-compilation Test-Status: FAILURE http://dpdk.org/patch/136556 _Compilation issues_ Submitter: Stephen Hemminger Date: 2024-02-08 17:41:31 Reply_mail: <20240208175051.326550-8-stephen@networkplumber.org> DPDK git baseline: Repo:dpdk-next-net, CommitID: 6e4dc4ffef11af54fd21faf1a258d8566dc4fcee Meson Build Summary: 24 Builds Done, 23 Successful, 1 Failures, 0 Blocked +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | os | gcc-static | clang-static | icc-static | gcc-shared | gcc-debug | document | gcc-16byte | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ | OpenAnolis8.8-64 | pass | | | | | | | | FreeBSD13-64 | pass | pass | | pass | pass | | | | RHEL92-64 | pass | pass | | pass | pass | | | | SUSE15-64 | pass | pass | | | | | | | CBL-Mariner2.0-64 | pass | | | | | | | | UB2204-32 | pass | | | | | | | | RHEL89-64 | pass | | | | | | | | UB2204-64 | pass | pass | | | | pass | pass | | CentOS79-64 | fail | | | | | | | | RHEL92-64Rt | pass | | | | | | | | UB2310-64 | pass | | | | | | | | FC39-64 | pass | pass | | | | | | | UB2204-64Rt | pass | | | | | | | +-------------------+------------+--------------+------------+------------+-----------+----------+------------+ Comments: Because of DPDK bug (https://bugs.dpdk.org/show_bug.cgi?id=928), All the dpdk-next-* branch add `Ddisable_drivers=event/cnxk` option when build with ICC complier. Test environment and configuration as below: OS: OpenAnolis8.8-64 Kernel Version: 5.10.134-13.an8.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.3) Clang Version: 13.0.1 (Anolis 13.0.1-2.0.2.module+an8.7.0+10996+1588f068) x86_64-native-linuxapp-gcc OS: FreeBSD13-64 Kernel Version: 13.2-RELEASE GCC Version: gcc (FreeBSD Ports Collection) 12.2.0 Clang Version: 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) x86_64-native-bsdapp-gcc x86_64-native-bsdapp-clang x86_64-native-bsdapp-gcc+shared x86_64-native-bsdapp-gcc+debug OS: RHEL92-64 Kernel Version: 5.14.0-284.11.1.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc+shared x86_64-native-linuxapp-gcc+debug OS: SUSE15-64 Kernel Version: 5.14.21-150500.53-default GCC Version: gcc (SUSE Linux) 7.5.0 Clang Version: 15.0.7 x86_64-native-linuxapp-clang x86_64-native-linuxapp-gcc OS: CBL-Mariner2.0-64 Kernel Version: 5.15.55.1_2e9a4f9+ GCC Version: gcc (GCC) 11.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: UB2204-32 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: NA i686-native-linuxapp-gcc OS: RHEL89-64 Kernel Version: 4.18.0-513.5.1.el8_9.x86_64 GCC Version: gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20) Clang Version: 16.0.6 (Red Hat 16.0.6-2.module+el8.9.0+19521+190d7aba) x86_64-native-linuxapp-gcc OS: UB2204-64 Kernel Version: 5.15.0-58-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc+16byte x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang x86_64-native-linuxapp-doc OS: CentOS79-64 Kernel Version: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory GCC Version: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Clang Version: 3.4.2 (tags/RELEASE_34/dot2-final) x86_64-native-linuxapp-gcc OS: RHEL92-64Rt Kernel Version: 5.14.0-284.11.1.rt14.296.el9_2.x86_64 GCC Version: gcc (GCC) 11.3.1 20221121 (Red Hat 11.3.1-4) Clang Version: 15.0.7 (Red Hat 15.0.7-2.el9) x86_64-native-linuxapp-gcc OS: UB2310-64 Kernel Version: 6.5.0-9-generic GCC Version: gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0 Clang Version: NA x86_64-native-linuxapp-gcc OS: FC39-64 Kernel Version: 6.5.6-300.fc39.x86_64 GCC Version: gcc (GCC) 13.2.1 20230918 (Red Hat 13.2.1-3) Clang Version: 17.0.6 (Fedora 17.0.6-1.fc39) x86_64-native-linuxapp-gcc x86_64-native-linuxapp-clang OS: UB2204-64Rt Kernel Version: 5.17.5-051705-generic GCC Version: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 Clang Version: 14.0.0-1ubuntu1.1 x86_64-native-linuxapp-gcc *Build Failed #1: OS: CentOS79-64 Target: x86_64-native-linuxapp-gcc FAILED: drivers/libtmp_rte_net_tap.a.p/net_tap_tap_tcmsgs.c.o gcc -Idrivers/libtmp_rte_net_tap.a.p -Idrivers -I../drivers -Idrivers/net/tap -I../drivers/net/tap -Idrivers/bus/vdev -I../drivers/bus/vdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/gso -I../lib/gso -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare - Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DTAP_MAX_QUEUES=16 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.tap -MD -MQ drivers/libtmp_rte_net_tap.a.p/net_tap_tap_tcmsgs.c.o -MF drivers/libtmp_rte_net_tap.a.p/net_tap_tap_tcmsgs.c.o.d -o drivers/libtmp_rte_net_tap.a.p/net_tap_tap_tcmsgs.c.o -c ../drivers/net/tap/tap_tcmsgs.c In file included from ../drivers/net/tap/tap_tcmsgs.c:12:0: ../drivers/net/tap/tap_tcmsgs.h:16:33: fatal error: linux/tc_act/tc_bpf.h: No such file or directory #include ^ compilation terminated. [1798/2837] Compiling C object drivers/libtmp_rte_net_ring.a.p/net_ring_rte_eth_ring.c.o [1799/2837] Compiling C object drivers/libtmp_rte_net_softnic.a.p/net_softnic_rte_eth_softnic_cli.c.o [1800/2837] Compiling C object drivers/net/thunderx/base/libnicvf_base.a.p/nicvf_hw.c.o [1801/2837] Compiling C object drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o FAILED: drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o gcc -Idrivers/libtmp_rte_net_tap.a.p -Idrivers -I../drivers -Idrivers/net/tap -I../drivers/net/tap -Idrivers/bus/vdev -I../drivers/bus/vdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/log -I../lib/log -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/gso -I../lib/gso -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -O3 -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare - Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -mrtm -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -DTAP_MAX_QUEUES=16 -DRTE_LOG_DEFAULT_LOGTYPE=pmd.net.tap -MD -MQ drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o -MF drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o.d -o drivers/libtmp_rte_net_tap.a.p/net_tap_tap_flow.c.o -c ../drivers/net/tap/tap_flow.c In file included from ../drivers/net/tap/tap_flow.c:19:0: ../drivers/net/tap/tap_tcmsgs.h:16:33: fatal error: linux/tc_act/tc_bpf.h: No such file or directory #include