From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9052EA04DE; Fri, 30 Oct 2020 15:21:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 76EE1C95E; Fri, 30 Oct 2020 15:21:57 +0100 (CET) Received: from mail-il1-f195.google.com (mail-il1-f195.google.com [209.85.166.195]) by dpdk.org (Postfix) with ESMTP id E449BC954 for ; Fri, 30 Oct 2020 15:21:54 +0100 (CET) Received: by mail-il1-f195.google.com with SMTP id k6so6658991ilq.2 for ; Fri, 30 Oct 2020 07:21:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FX60A+EUOLL/QV1k96H20VKwx9sBaq5ENpeq8W7Z0NY=; b=sYHOWPQn2KSEBiFtG9tTg4uBLWO1NmFUT/VwzxGbBAPUHaPb+uiSqHs0HktzbHooqp 0iVYlx1TM3r/0oKKvfoPfEsXrCwgmGxhZtbMhEDAJaZGGvJ6Fx9cduIfcST/hpV4iNNi GB70Qp9ed+YMA1XF5OYx4pzLwuI0LuhxwEKc+uSvBOk/0Ykwg4PzuRl3FUcljb2ZcoAL h2d2cIkWgJErfTJYgv8MfApLjATT1BApHtplSNBJE2FEArOJnpjaGzwSFdZeNuiWCivx k3x+gmh0ay7GlPuDxmJVkbFFZaQ2qwl1FdcYtBOgn3WqRaLl+IIJJHgxGMzAKFdpEOWJ ChsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FX60A+EUOLL/QV1k96H20VKwx9sBaq5ENpeq8W7Z0NY=; b=Rg8kDb4sQQrP/clvW7ccW9fkEYOBBCWhTJnx0agAE1twub2/+xBEmL0fEvPwOCI6aB na05KKbg0UUDnYxxFFUB689ArkJKYwle+et2BoRxE1NF35b9Ha8dACp7ejGlSeBa7+m8 OybiSIoIeohWpN0U5NbtZtdykbZtZ+AVaeDR1lzzH6USh55g4aXljqCty12jcE4nZN4B Psvq38YlGn3IPaSLk4SqKytjA918E60a7P3vgO6i2B2pgobiKFdLl8dQYP7xItsIDA9f yNRXcslRsgNT0GTHRNi8rBUFPinNCcfM9lSo+cPJ4x1LwCAFTix8KY/LSzIo4npckYhJ 7KZw== X-Gm-Message-State: AOAM532T7K5mVjnRiQ5sX7N6G0EROnRGhTQin4O6XLFLHbPxH7qqZrM+ LkCxWBtyDaixiSZ5TlzgSDikZtMHvKyuFWg6/lI= X-Google-Smtp-Source: ABdhPJxGoktuxx2Q/c3aqwyob1D9OoZFpL+fMbULHGz16yKKu439LHvtWn5cNXVQrO5TZ3ZPb7nKCRhkCJpIbSA8QdA= X-Received: by 2002:a05:6e02:87:: with SMTP id l7mr1934323ilm.60.1604067714235; Fri, 30 Oct 2020 07:21:54 -0700 (PDT) MIME-Version: 1.0 References: <1602958879-8558-2-git-send-email-timothy.mcdaniel@intel.com> <1604051021-26699-1-git-send-email-timothy.mcdaniel@intel.com> In-Reply-To: <1604051021-26699-1-git-send-email-timothy.mcdaniel@intel.com> From: Jerin Jacob Date: Fri, 30 Oct 2020 19:51:38 +0530 Message-ID: To: Timothy McDaniel Cc: dpdk-dev , Erik Gabriel Carrillo , Gage Eads , "Van Haaren, Harry" , Jerin Jacob , Thomas Monjalon Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v5 00/23] Add DLB2 PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Oct 30, 2020 at 3:19 PM Timothy McDaniel wrote: > > Timothy McDaniel (23): > event/dlb2: add documentation and meson build infrastructure > event/dlb2: add dynamic logging > event/dlb2: add private data structures and constants > event/dlb2: add definitions shared with LKM or shared code > event/dlb2: add inline functions > event/dlb2: add eventdev probe There is build error with clang and static build here. Please send the next version with fix. meson -Dexamples=l3fwd --buildtype=debugoptimized --werror --default-library=static /export/dpdk-next-eventdev/devtools/.. ./build-clang-static The Meson build system Version: 0.55.3 Source dir: /export/dpdk-next-eventdev Build dir: /export/dpdk-next-eventdev/build-clang-static Build type: native build Program cat found: YES Using 'PKG_CONFIG_PATH' from environment with value: '' Using 'PKG_CONFIG_PATH' from environment with value: '' Project name: DPDK Project version: 20.11.0-rc1 Using 'CC' from environment with value: 'ccache clang' Using 'CFLAGS' from environment with value: '' Using 'LDFLAGS' from environment with value: '' Using 'CPPFLAGS' from environment with value: '' Using 'CC' from environment with value: 'ccache clang' Using 'CFLAGS' from environment with value: '' Using 'LDFLAGS' from environment with value: '' Using 'CPPFLAGS' from environment with value: '' C compiler for the host machine: ccache clang (clang 10.0.1 "clang version 10.0.1 ") C linker for the host machine: clang ld.bfd 2.35.1 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program pkg-config found: YES Program gen-pmdinfo-cfile.sh found: YES Program list-dir-globs.py found: YES Program check-symbols.sh found: YES Program options-ibverbs-static.sh found: YES Program binutils-avx512-check.sh found: YES Program python3 found: YES (/usr/bin/python) ccache clang -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/i nclude -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Il ib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_timer -I../lib/librte_timer - Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef - Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_main.c.o -MF drivers/l ibtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_main.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_main.c.o -c ../drivers/event/dlb2/pf/dlb2_main.c In file included from ../drivers/event/dlb2/pf/dlb2_main.c:22: ../drivers/event/dlb2/pf/../dlb2_inline_fns.h:41:2: error: use of unknown builtin '__builtin_ia32_movntdq' [-Wimplicit-function-declaration] __builtin_ia32_movntdq((__v2di *)pp_addr, (__v2di)src_data0); ^ ../drivers/event/dlb2/pf/../dlb2_inline_fns.h:41:2: note: did you mean '__builtin_ia32_movntq'? /usr/lib/clang/10.0.1/include/xmmintrin.h:2122:3: note: '__builtin_ia32_movntq' declared here __builtin_ia32_movntq(__p, __a); [2010/2491] Compiling C object drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o FAILED: drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o ccache clang -Idrivers/libtmp_rte_event_dlb2.a.p -Idrivers -I../drivers -Idrivers/event/dlb2 -I../drivers/event/dlb2 -Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I.. -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/i nclude -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/x86/include -I../lib/librte_eal/x86/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ilib/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net -Il ib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librte_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_hash -Ilib/librte_rcu -I../lib/librte_rcu -Ilib/librte_timer -I../lib/librte_timer - Ilib/librte_cryptodev -I../lib/librte_cryptodev -Ilib/librte_pci -I../lib/librte_pci -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef - Wwrite-strings -Wno-address-of-packed-member -Wno-missing-field-initializers -D_GNU_SOURCE -fPIC -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o -MF drivers/lib tmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o.d -o drivers/libtmp_rte_event_dlb2.a.p/event_dlb2_pf_dlb2_pf.c.o -c ../drivers/event/dlb2/pf/dlb2_pf.c In file included from ../drivers/event/dlb2/pf/dlb2_pf.c:35: ../drivers/event/dlb2/pf/../dlb2_inline_fns.h:41:2: error: use of unknown builtin '__builtin_ia32_movntdq' [-Wimplicit-function-declaration] __builtin_ia32_movntdq((__v2di *)pp_addr, (__v2di)src_data0);