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 815A243692 for ; Thu, 7 Dec 2023 03:21:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BA6F40295 for ; Thu, 7 Dec 2023 03:21:05 +0100 (CET) Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46]) by mails.dpdk.org (Postfix) with ESMTP id EDA8C4028B for ; Thu, 7 Dec 2023 03:21:03 +0100 (CET) Received: by mail-qv1-f46.google.com with SMTP id 6a1803df08f44-67adac40221so3165226d6.2 for ; Wed, 06 Dec 2023 18:21:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytheb-org.20230601.gappssmtp.com; s=20230601; t=1701915663; x=1702520463; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=kRyDA0Sr4XlDAJDGM1lXzpCX1TNqxSOe66e8NwXaCMU=; b=kGkzL+sRbFqKWyQ+Uk4o1OfnIt4E98ZFVuBQMY7Q+f647YitN5l2Gk6TGxlkQP1oHp Jm+um5iN8wwIA5ih1t/Sbqxqcsu+ViQVK3iHLFd3PYUdyKJvCpC+qtragpkC0QUzQiQ1 RzXC7e6Q3cMr9X+uw1y/wSVNBkZKXIpX6DpjTHEQ9Rvdyeot1A/hdn7x7hJVCs4sfiSB BGTs7V65MQkhsO8SdjPEkXG1eob6rfmofEkUq2P2FfwPAP/lRu91ISpo8znDzX7x+1nE lEDB2dQ0G47ULylwTu9ueYypf2BhsjUZz0UVRnRHAp4vOgp1XdcC/eV7JEjGSbSVBTKv q5QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701915663; x=1702520463; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kRyDA0Sr4XlDAJDGM1lXzpCX1TNqxSOe66e8NwXaCMU=; b=eCl6YHs5sqhRfnfWHkpNz2eMNo6rHTN+QwXCicJlBJwSJYa9wl/bI3RIMZ6JxIAygO oNVFw3yplGyaFdwzD3+rUvKsa0iap15k3cx78514W+/zAc74j9af6R92zCE6yMXD4Hcg kt7Kj+O0sETY6No64hCjy/nrlBXO34T6rvvZECuByOyqjON14a8JmhyIMTPhOVy5386h 2+5GCrwFCa9MSgcxNcNXi1fn/R3AnFPapEYRuyfXTlYoUuE9gq2VrochZ4PGvl7GmTua qdWkcPGklambskowgD3xNWe7FZdUiZE6SCtpJUYx8Y4pW3UEfSUdLuJIC7gkL4q0a+pN SOqA== X-Gm-Message-State: AOJu0Yz3N6IHVwUb+S+Rp3zzj8ImrNuoM99io85XWjuuk6cF/Q0dVViY /Jh3SXp352cqCQwZOu0RlOB1j9QxY5ok2SQybCw= X-Google-Smtp-Source: AGHT+IEG58qIMUcDQrHmcxo8jtHW484hJVTYqXFjLEfU+fACqe0zPgV8KSxmYcSuWIhDxgyBbeRu1A== X-Received: by 2002:ad4:5c47:0:b0:67a:a721:b18f with SMTP id a7-20020ad45c47000000b0067aa721b18fmr2764625qva.74.1701915662964; Wed, 06 Dec 2023 18:21:02 -0800 (PST) Received: from openvswitch-ci.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id u11-20020a0cfe4b000000b0067ac930d17asm102202qvs.141.2023.12.06.18.21.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 18:21:02 -0800 (PST) From: 0-day Robot To: test-report@dpdk.org Cc: haijie1@huawei.com, robot@bytheb.org Subject: |FAILURE| pw134898 [PATCH v2 4/4] net/hns3: use stdatomic API Date: Wed, 6 Dec 2023 21:21:01 -0500 Message-Id: <20231207022101.2111115-1-robot@bytheb.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20231207014205.4002558-5-haijie1@huawei.com> References: <20231207014205.4002558-5-haijie1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org From: robot@bytheb.org Test-Label: github-robot: build Test-Status: FAILURE http://patchwork.dpdk.org/patch/134898/ _github build: failed_ Build URL: https://github.com/ovsrobot/dpdk/actions/runs/7122799721 Build Logs: -----------------------Summary of failed steps----------------------- "ubuntu-20.04-gcc-stdatomic" failed at step Build and test "ubuntu-20.04-clang-stdatomic" failed at step Build and test "ubuntu-20.04-gcc-abi+debug+doc+examples+tests" failed at step Build and te= st "ubuntu-20.04-clang-asan+doc+tests" failed at step Build and test "ubuntu-20.04-gcc-shared-aarch64" failed at step Build and test "fedora:37-gcc" failed at step Build "fedora:37-clang" failed at step Build ----------------------End summary of failed steps-------------------- -------------------------------BEGIN LOGS---------------------------- ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test ###########################################################################= ######### In file included from ../drivers/net/hns3/hns3_common.h:10, from ../drivers/net/hns3/hns3_intr.c:11: ../drivers/net/hns3/hns3_ethdev.h:1008:60: note: expected =E2=80=98uint64_t= * _Atomic=E2=80=99 {aka =E2=80=98long unsigned int * _Atomic=E2=80=99} but= argument is of type =E2=80=98_Atomic uint64_t *=E2=80=99 {aka =E2=80=98_At= omic long unsigned int *=E2=80=99} 1008 | hns3_atomic_set_bit(unsigned int nr, RTE_ATOMIC(uint64_t *)addr) ../drivers/net/hns3/hns3_intr.c: In function =E2=80=98hns3_reset_post=E2=80= =99: ../drivers/net/hns3/hns3_intr.c:2754:30: error: passing argument 2 of =E2= =80=98hns3_clear_reset_level=E2=80=99 from incompatible pointer type [-Werr= or=3Dincompatible-pointer-types] 2754 | hns3_clear_reset_level(hw, &hw->reset.pending); | ^~~~~~~~~~~~~~~~~~ | | | _Atomic uint64_t * {aka _Atomic long u= nsigned int *} ../drivers/net/hns3/hns3_intr.c:2541:66: note: expected =E2=80=98uint64_t *= _Atomic=E2=80=99 {aka =E2=80=98long unsigned int * _Atomic=E2=80=99} but a= rgument is of type =E2=80=98_Atomic uint64_t *=E2=80=99 {aka =E2=80=98_Atom= ic long unsigned int *=E2=80=99} 2541 | hns3_clear_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t *)le= vels) ../drivers/net/hns3/hns3_intr.c: In function =E2=80=98hns3_reset_fail_handl= e=E2=80=99: ../drivers/net/hns3/hns3_intr.c:2805:29: error: passing argument 2 of =E2= =80=98hns3_clear_reset_level=E2=80=99 from incompatible pointer type [-Werr= or=3Dincompatible-pointer-types] 2805 | hns3_clear_reset_level(hw, &hw->reset.pending); | ^~~~~~~~~~~~~~~~~~ | | | _Atomic uint64_t * {aka _Atomic long un= signed int *} ../drivers/net/hns3/hns3_intr.c:2541:66: note: expected =E2=80=98uint64_t *= _Atomic=E2=80=99 {aka =E2=80=98long unsigned int * _Atomic=E2=80=99} but a= rgument is of type =E2=80=98_Atomic uint64_t *=E2=80=99 {aka =E2=80=98_Atom= ic long unsigned int *=E2=80=99} 2541 | hns3_clear_reset_level(struct hns3_hw *hw, RTE_ATOMIC(uint64_t *)le= vels) cc1: all warnings being treated as errors [1452/2844] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_tx.c.o'. [1453/2844] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_flow.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-gcc-stdatomic" at step Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-clang-stdatomic" at step Build and test ###########################################################################= ######### ../lib/eal/include/rte_stdatomic.h:98:2: note: expanded from macro 'rte_ato= mic_fetch_and_explicit' atomic_fetch_and_explicit(ptr, val, memorder) ^ ~~~ /usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:145:35: note: expande= d from macro 'atomic_fetch_and_explicit' #define atomic_fetch_and_explicit __c11_atomic_fetch_and ^ In file included from ../drivers/net/hns3/hns3_cmd.c:8: In file included from ../drivers/net/hns3/hns3_common.h:10: ../drivers/net/hns3/hns3_ethdev.h:1026:9: error: address argument to atomic= operation must be a pointer to _Atomic type ('uint64_t *' (aka 'unsigned l= ong *') invalid) return rte_atomic_fetch_and_explicit(addr, ^ ~~~~ ../lib/eal/include/rte_stdatomic.h:98:2: note: expanded from macro 'rte_ato= mic_fetch_and_explicit' atomic_fetch_and_explicit(ptr, val, memorder) ^ ~~~ /usr/lib/llvm-11/lib/clang/11.0.0/include/stdatomic.h:145:35: note: expande= d from macro 'atomic_fetch_and_explicit' #define atomic_fetch_and_explicit __c11_atomic_fetch_and ^ 4 errors generated. [1434/2844] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_mbox.c.o'. [1435/2844] Compiling C object 'drivers/net/hinic/base/12a4447@@hinic_base@= sta/hinic_pmd_hwdev.c.o'. [1436/2844] Compiling C object 'drivers/a715181@@tmp_rte_net_gve@sta/net_gv= e_gve_tx.c.o'. [1437/2844] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_ethdev.c.o'. [1438/2844] Generating pipeline.sym_chk with a meson_exe.py custom command. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-clang-stdatomic" at step Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-gcc-abi+debug+doc+examples+tests" at ste= p Build and test ###########################################################################= ######### In file included from ../lib/eal/include/generic/rte_atomic.h:18, from ../lib/eal/x86/include/rte_atomic.h:16, from ../lib/eal/include/generic/rte_pause.h:19, from ../lib/eal/x86/include/rte_pause.h:12, from ../lib/eal/include/generic/rte_rwlock.h:34, from ../lib/eal/x86/include/rte_rwlock.h:12, from ../lib/eal/include/rte_eal_memconfig.h:10, from ../lib/eal/include/rte_memory.h:25, from ../lib/eal/include/rte_malloc.h:16, from ../lib/ethdev/ethdev_pci.h:13, from ../drivers/net/hns3/hns3_ethdev_vf.c:6: ../lib/eal/include/rte_stdatomic.h:139: note: macro "rte_atomic_load_explic= it" defined here 139 | #define rte_atomic_load_explicit(ptr, memorder) \ |=20 ../drivers/net/hns3/hns3_ethdev_vf.c:646:2: error: =E2=80=98rte_atomic_load= _explicit=E2=80=99 undeclared (first use in this function) 646 | rte_atomic_load_explicit(&vf->pf_push_lsc_cap, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/hns3/hns3_ethdev_vf.c:646:2: note: each undeclared identifie= r is reported only once for each function it appears in [1499/3916] Generating symbol file 'lib/76b5a35@@rte_pipeline@sha/librte_pi= peline.so.24.1.symbols'. [1500/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_fdir.c.o'. [1501/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_dcb.c.o'. [1502/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_flow.c.o'. [1503/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_intr.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-gcc-abi+debug+doc+examples+tests" at step = Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and = test ###########################################################################= ######### [1490/3916] Generating rte_net_failsafe.pmd.c with a custom command. [1491/3916] Compiling C object 'drivers/a715181@@rte_net_failsafe@sta/meson= -generated_.._rte_net_failsafe.pmd.c.o'. [1492/3916] Linking static target drivers/librte_net_failsafe.a. [1493/3916] Compiling C object 'drivers/a715181@@rte_net_failsafe@sha/meson= -generated_.._rte_net_failsafe.pmd.c.o'. [1494/3916] Linking target drivers/librte_net_failsafe.so.24.1. [1495/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev_vf.c.o'. FAILED: drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o=20 ccache clang -Idrivers/a715181@@tmp_rte_net_hns3@sta -Idrivers -I../drivers= -Idrivers/net/hns3 -I../drivers/net/hns3 -Ilib/ethdev -I../lib/ethdev -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/ea= l/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/telemetry/../metri= cs -I../lib/telemetry/../metrics -Ilib/telemetry -I../lib/telemetry -Ilib/n= et -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Il= ib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../dri= vers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bu= s/vdev -I../drivers/bus/vdev -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rc= u -Xclang -fcolor-diagnostics -fsanitize=3Daddress -fno-omit-frame-pointer = -pipe -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Wextra -Werror -std=3Dc= 11 -O2 -g -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wformat-= nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -W= nested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstri= ct-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-mi= ssing-field-initializers -D_GNU_SOURCE -fPIC -march=3Dcorei7 -mrtm -DALLOW_= EXPERIMENTAL_API -DALLOW_INTERNAL_API -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.h= ns3 -MD -MQ 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.= c.o' -MF 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o= .d' -o 'drivers/a715181@@tmp_rte_net_hns3@sta/net_hns3_hns3_ethdev_vf.c.o' = -c ../drivers/net/hns3/hns3_ethdev_vf.c ../drivers/net/hns3/hns3_ethdev_vf.c:647:33: error: too many arguments prov= ided to function-like macro invocation HNS3_PF_PUSH_LSC_CAP_UNKNOWN, rte_memory_order_release); ^ ../lib/eal/include/rte_stdatomic.h:139:9: note: macro 'rte_atomic_load_expl= icit' defined here #define rte_atomic_load_explicit(ptr, memorder) \ ^ ../drivers/net/hns3/hns3_ethdev_vf.c:646:2: error: use of undeclared identi= fier 'rte_atomic_load_explicit' rte_atomic_load_explicit(&vf->pf_push_lsc_cap, ^ 2 errors generated. [1496/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_rx.c.o'. [1497/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_dcb.c.o'. [1498/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_flow.c.o'. [1499/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev.c.o'. [1500/3916] Compiling C object 'drivers/a715181@@tmp_rte_net_hinic@sta/net_= hinic_hinic_pmd_tx.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-clang-asan+doc+tests" at step Build and te= st ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and te= st ###########################################################################= ######### from ../lib/eal/arm/include/rte_atomic.h:9, from ../lib/eal/include/generic/rte_pause.h:19, from ../lib/eal/arm/include/rte_pause_64.h:19, from ../lib/eal/arm/include/rte_pause.h:13, from ../lib/eal/include/generic/rte_rwlock.h:34, from ../lib/eal/arm/include/rte_rwlock.h:12, from ../lib/eal/include/rte_eal_memconfig.h:10, from ../lib/eal/include/rte_memory.h:25, from ../lib/eal/include/rte_malloc.h:16, from ../lib/ethdev/ethdev_pci.h:13, from ../drivers/net/hns3/hns3_ethdev_vf.c:6: ../lib/eal/include/rte_stdatomic.h:139: note: macro "rte_atomic_load_explic= it" defined here 139 | #define rte_atomic_load_explicit(ptr, memorder) \ |=20 ../drivers/net/hns3/hns3_ethdev_vf.c:646:2: error: =E2=80=98rte_atomic_load= _explicit=E2=80=99 undeclared (first use in this function) 646 | rte_atomic_load_explicit(&vf->pf_push_lsc_cap, | ^~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/hns3/hns3_ethdev_vf.c:646:2: note: each undeclared identifie= r is reported only once for each function it appears in [1518/4088] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_dcb.c.o'. [1519/4088] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_regs.c.o'. [1520/4088] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_intr.c.o'. [1521/4088] Compiling C object 'drivers/a715181@@tmp_rte_net_hns3@sta/net_h= ns3_hns3_ethdev.c.o'. [1522/4088] Compiling C object 'drivers/a715181@@tmp_rte_net_cnxk@sta/net_c= nxk_tx_cn10k_tx_96_111_vec_mseg.c.o'. ninja: build stopped: subcommand failed. ##[error]Process completed with exit code 1. ###########################################################################= ######### #### [End job log] "ubuntu-20.04-gcc-shared-aarch64" at step Build and test ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "fedora:37-gcc" at step Build ###########################################################################= ######### ###########################################################################= ######### #### [End job log] "fedora:37-gcc" at step Build ###########################################################################= ######### ###########################################################################= ######### #### [Begin job log] "fedora:37-clang" at step Build ###########################################################################= ######### ###########################################################################= ######### #### [End job log] "fedora:37-clang" at step Build ###########################################################################= ######### --------------------------------END LOGS-----------------------------