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 4636CA04B5 for ; Tue, 27 Oct 2020 09:32:05 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFD0D2BD5; Tue, 27 Oct 2020 09:32:03 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 260F82BD3 for ; Tue, 27 Oct 2020 09:32:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603787520; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Bps4wx4YBLfOJY4jmm6n9/BxNGBSe5uaZyUn8fxXsMA=; b=himpiRqFrQlzZ83lfVkpzLRPMyYIkJU0GTWrR/4eFbPI+u7cNKlF3T4u5BGU8mh+0nW4tj ax8IjOG587MU1gYg1PJPrRtSsdxRyLt7MvN1DOdmplSwg0vBI0HEE9/98esjRxHDBSw8Mh ffmIt+FVuspPjVrPIRc6L9si+mcwtuY= Received: from mail-vk1-f197.google.com (mail-vk1-f197.google.com [209.85.221.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-144-Rr4KCCULNBmB9fjv-QpONQ-1; Tue, 27 Oct 2020 04:31:58 -0400 X-MC-Unique: Rr4KCCULNBmB9fjv-QpONQ-1 Received: by mail-vk1-f197.google.com with SMTP id j129so311629vkb.15 for ; Tue, 27 Oct 2020 01:31:58 -0700 (PDT) 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:content-transfer-encoding; bh=Bps4wx4YBLfOJY4jmm6n9/BxNGBSe5uaZyUn8fxXsMA=; b=cbf83w7qiFtrIT4TyFkKe1Zt36p7/xgks2UKY7ubC3989XXX5/Z2G+7xte5DtFESCe 3xViySi9bwh1igRs0RPV0CWaWACZEGkDvu9DQ1JEW8V1G+GtlvJnf3l6X82CQB/Q5yAx Gl9xnLWAqL32d/zfTHRIdz7Hf7sw+jYRyhiXuQdCp/GVOXZgja6NHq0tg+N6jRi/ds4s HoBw5mWe3DWpeKw7KpL8JknfB16xNQqz91+Rx017YVTs8fYf+YcwgazrW2Pv2H2EFNCz o5QosJETbh41tQ+fWZiaVJTuk1UCmZb2onrkaP57F3+exP+5aIU+WZQ6O97rycqURfRz LA8A== X-Gm-Message-State: AOAM532qyW/04Ww/ZCbYVRceTIFk8r2PuZv10FcOIb2pDsxDkOxOvHnP GzXSg8/ZV6qVQOXKYdzNW7JtcsuANVtdJPfC36tb6/yriDni4zL9KYhkcW+49933EYPfvMUam9d gI3UJAX6qChAbcs0F6ipA3A== X-Received: by 2002:a67:f954:: with SMTP id u20mr547485vsq.5.1603787517978; Tue, 27 Oct 2020 01:31:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhKlvaUQQ8Sj2JRqqCWYpwHzdKJ7tgFshKeH57kKUSpY6E9CmLYuU4QEg8DEzl6QrAYxpFW5R9fAx4PuDMlDQ= X-Received: by 2002:a67:f954:: with SMTP id u20mr547470vsq.5.1603787517664; Tue, 27 Oct 2020 01:31:57 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Tue, 27 Oct 2020 09:31:46 +0100 Message-ID: To: oulijun Cc: "users@dpdk.org" , "jerinj@marvell.com" , "ndabilpuram@marvell.com" , "dev@dpdk.org" Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] =?utf-8?q?=5Bdpdk-dev=5D_=E3=80=90meson_build_fail_f?= =?utf-8?b?b3Igb2N0ZW9udHgy44CR?= X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, Oct 27, 2020 at 8:43 AM oulijun wrote: > > Hi > I am trying to build dpdk-next-net code based Kunpeng920(ARM64) platfor= m used meson build. However, it is build fail. > The libtmp_rte_event_octeontx2 build error happened. The output as follow= s: > > [1986/2298] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/e= vent_octeontx2_otx2_tim_worker.c.o > FAILED: drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_tim_w= orker.c.o > cc -Idrivers/libtmp_rte_event_octeontx2.a.p -Idrivers -I../drivers -Idriv= ers/event/octeontx2 -I../drivers/event/octeontx2 -Idrivers/crypto/octeontx2= -I../drivers/crypto/octeontx2 -Idrivers/common/cpt -I../drivers/common/cpt= -Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I.. -Iconfig -I../conf= ig -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/li= nux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include = -I../lib/librte_eal/arm/include -Ilib/librte_eal/common -I../lib/librte_eal= /common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/l= ibrte_kvargs -Ilib/librte_metrics -I../lib/librte_metrics -Ilib/librte_tele= metry -I../lib/librte_telemetry -Ilib/librte_ring -I../lib/librte_ring -Ili= b/librte_ethdev -I../lib/librte_ethdev -Ilib/librte_net -I../lib/librte_net= -Ilib/librte_mbuf -I../lib/librte_mbuf -Ilib/librte_mempool -I../lib/librt= e_mempool -Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../l= ib/librte_hash -Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_crypto= dev -I../lib/librte_cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../d= rivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci -Idrivers/common/= octeontx2 -I../drivers/common/octeontx2 -Idrivers/mempool/octeontx2 -I../dr= ivers/mempool/octeontx2 -Idrivers/net/octeontx2 -I../drivers/net/octeontx2 = -Idrivers/crypto/octeontx -I../drivers/crypto/octeontx -Ilib/librte_securit= y -I../lib/librte_security -Idrivers/bus/vdev -I../drivers/bus/vdev -pipe -= D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wext= ra -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-missing-field-initializers -D_GNU_SOURCE -fPIC -march=3Darmv8-a+crc -D= ALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -MD -MQ drivers/libtmp_rte_even= t_octeontx2.a.p/event_octeontx2_otx2_tim_worker.c.o -MF drivers/libtmp_rte_= event_octeontx2.a.p/event_octeontx2_otx2_tim_worker.c.o.d -o drivers/libtmp= _rte_event_octeontx2.a.p/event_octeontx2_otx2_tim_worker.c.o -c ../drivers/= event/octeontx2/otx2_tim_worker.c > ../drivers/event/octeontx2/otx2_tim_worker.c: In function =E2=80=98otx2_t= im_arm_tmo_tick_burst_mod=E2=80=99: > ../drivers/event/octeontx2/otx2_tim_worker.c:154:18: error: could not spl= it insn > struct rte_event_timer **tim, \ > ^ > ../drivers/event/octeontx2/otx2_tim_evdev.h:208:1: note: in expansion of = macro =E2=80=98FP=E2=80=99 > FP(mod, 0, 0, 0, OTX2_TIM_BKT_MOD | OTX2_TIM_ENA_DFB) \ > ^ > ../drivers/event/octeontx2/otx2_tim_worker.c:161:1: note: in expansion of= macro =E2=80=98TIM_ARM_TMO_FASTPATH_MODES=E2=80=99 > TIM_ARM_TMO_FASTPATH_MODES > ^ > (insn 252 250 255 (parallel [ > (set (reg:DI 1 x1 [orig:230 D.16918 ] [230]) > (mem/v:DI (reg/f:DI 10 x10 [orig:229 D.16920 ] [229]) [-1= S8 A64])) > (set (mem/v:DI (reg/f:DI 10 x10 [orig:229 D.16920 ] [229]) [-= 1 S8 A64]) > (unspec_volatile:DI [ > (plus:DI (mem/v:DI (reg/f:DI 10 x10 [orig:229 D.1= 6920 ] [229]) [-1 S8 A64]) > (const_int 1099511627776 [0x10000000000])) > (const_int 2 [0x2]) > ] UNSPECV_ATOMIC_OP)) > (clobber (reg:CC 66 cc)) > (clobber (reg:DI 4 x4)) > (clobber (reg:SI 3 x3)) > ]) ../drivers/event/octeontx2/otx2_tim_worker.h:81 1832 {atomic_f= etch_adddi} > (expr_list:REG_UNUSED (reg:CC 66 cc) > (expr_list:REG_UNUSED (reg:DI 4 x4) > (expr_list:REG_UNUSED (reg:SI 3 x3) > (nil))))) > ../drivers/event/octeontx2/otx2_tim_worker.c:154:18: internal compiler er= ror: in final_scan_insn, at final.c:2897 > struct rte_event_timer **tim, \ > ^ > ../drivers/event/octeontx2/otx2_tim_evdev.h:208:1: note: in expansion of = macro =E2=80=98FP=E2=80=99 > FP(mod, 0, 0, 0, OTX2_TIM_BKT_MOD | OTX2_TIM_ENA_DFB) \ > ^ > ../drivers/event/octeontx2/otx2_tim_worker.c:161:1: note: in expansion of= macro =E2=80=98TIM_ARM_TMO_FASTPATH_MODES=E2=80=99 > TIM_ARM_TMO_FASTPATH_MODES > ^ > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > {standard input}: Assembler messages: > {standard input}: Error: open CFI at the end of file; missing .cfi_endpro= c directive > Preprocessed source stored into /tmp/cchw0Ftu.out file, please attach thi= s to your bugreport. > [2056/2298] Compiling C object drivers/libtmp_rte_event_octeontx2.a.p/eve= nt_octeontx2_otx2_worker_dual.c.o > ninja: build stopped: subcommand failed. > > The gcc version is: > [root@centos-C3 dpdk-next-net]# gcc -v > Using built-in specs. > COLLECT_GCC=3Dgcc > COLLECT_LTO_WRAPPER=3D/usr/local/libexec/gcc/aarch64-unknown-linux-gnu/10= .1.0/lto-wrapper > Target: aarch64-unknown-linux-gnu > Configured with: ./configure --disable-multilib --enable-languages=3Dc,c+= + --with-gmp=3D/usr/local/gmp-5.1.3 --with-mpfr=3D/usr/local/mpfr-4.0.2 --w= ith-mpc=3D/usr/local/mpc-1.1.0 > Thread model: posix > Supported LTO compression algorithms: zlib > gcc version 10.1.0 (GCC) > > the OS types is centos > Linux centos-C3 5.6.0-rc5+ #1 SMP PREEMPT Wed Oct 21 16:32:46 HKT 2020 aa= rch64 aarch64 aarch64 GNU/Linux > > Do you have any idea about above? This is a compiler bug. Do you reproduce this with different versions of gcc? Like the one coming with the Centos distribution? --=20 David Marchand