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 6C1E9A034E for ; Wed, 19 Jan 2022 02:59:27 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E092440687; Wed, 19 Jan 2022 02:59:26 +0100 (CET) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) by mails.dpdk.org (Postfix) with ESMTP id 96D274013F for ; Wed, 19 Jan 2022 02:59:25 +0100 (CET) Received: by mail-yb1-f182.google.com with SMTP id 23so2617948ybf.7 for ; Tue, 18 Jan 2022 17:59:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=0997R01M4eIC8uJ123HN7JCplZvdQTa17CTtd9WuKUU=; b=qHkc3odWd/Dk/uEMUieDfqAyQTWnVZ+4xgcl08EzwZwV0bnSzUdyuqbvePOrFm0Oel sfHyz7n1TPVAmvPTUyWtF6+k5XCHSRcc7wBQl1dJokYwOJbRAPG9ZowkdsDIKV+Aaawj rSykr3NN3JrJArxUOxDNd1iRH9PnQ4C4r2BJLd1s+V0ck3fk06bGMmEFSntzk0VpT5D0 G85N+8EjN66H9hCy3LeSEEdvT6bQiy5iaoQCZboJ4otf0K43S/28xRyeDb/wNxJPsUS1 l3aYJ1nXHUOc1TZpoWnqSESgqWJq09UC6HFUwmauz5IzmCNdpK4c47iDF3F0R9Sxd/Vi 5A3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0997R01M4eIC8uJ123HN7JCplZvdQTa17CTtd9WuKUU=; b=kW0LS/KhSXHe/9NXR1LvtB550iT87IyObsVbPpETja11YkvL/97iYbZOaNz8rMIcTw 177g1okk9gKdVPBZa2hjfr7gOHLF7yO9Km1n9GTCXAlVAEdERD8dTD/HuTGjZ2bzizUX qrfxP0xcRBom1PdfgbkXon76d6ddNU3J2jMG3hxPXS9gZBXAbl9Yzd+FdU0QOQJslWq8 dqPFKHNzFlMcadkbBxvxmduRICvzWa42Ou9N7gESPR0Q64Xi2RCsvK2uJtP5g8UFnWyO T0V0odjW0eoiqT8Z/EFvqF4cXhy4gM/UZg12rQD/8nJiykumnLYE5laaAk9PK2a5p4XZ ZR/Q== X-Gm-Message-State: AOAM532IglvGHkTqVJpXEyRfOuDz389G4RsdivMG5MyplhUxtZOZmNkG UW/U/XMmMEPWZpzMJzdKrDx+cup1unEeLMAb2oSsYrUKKqQHHg== X-Google-Smtp-Source: ABdhPJzL1jKX9G79s1s9cmmsYav1q8MdNloZrWrwxX9SwZxGd34cmeNNPFw9uV+jLaSmhwFc1AcH67q5a+Fk/6SafT4= X-Received: by 2002:a25:afce:: with SMTP id d14mr41419441ybj.597.1642557564668; Tue, 18 Jan 2022 17:59:24 -0800 (PST) MIME-Version: 1.0 From: haofan zhuo Date: Wed, 19 Jan 2022 09:59:15 +0800 Message-ID: Subject: Compiling DPDK failed on ARM64 To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000002a4f9005d5e5bc8a" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000002a4f9005d5e5bc8a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi All, I'm attempting to compile DPDK on ARM64. When executing "ninja -C build" it fails. Can someone help me? THX [allen@node22 dpdk-21.11]$ ninja -C build ninja: Entering directory `build' [1/25] Compiling C object drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o FAILED: drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o cc -Idrivers/libtmp_rte_event_cnxk.a.p -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/event/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I../drivers/common/cnxk -Ilib/security -I../lib/security -Idrivers/net/cnxk -I../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/mempool/cnxk -I../drivers/mempool/cnxk -Idrivers/crypto/cnxk -I../drivers/crypto/cnxk -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -= O3 -include rte_config.h -Wextra -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=3Darmv8-a+crc -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.event.cnxk -MD -MQ drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o -MF drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o.d -o drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o -c ../drivers/event/cnxk/cn10k_worker_deq.c /tmp/ccukMkof.s: Assembler messages: /tmp/ccukMkof.s:304: Error=EF=BC=9Areg pair must start from even reg at ope= rand 1 -- `caspl x25,x26,x25,x26,[x2]' /tmp/ccukMkof.s:1327: Error=EF=BC=9Areg pair must start from even reg at op= erand 1 -- `caspl x25,x26,x25,x26,[x2]' /tmp/ccukMkof.s:2071: Error=EF=BC=9Areg pair must start from even reg at o= perand 1 -- `caspl x9,x10,x9,x10,[x2]' /tmp/ccukMkof.s:3205: Error=EF=BC=9Areg pair must start from even reg at o= perand 1 -- `caspl x9,x10,x9,x10,[x2]' ... --0000000000002a4f9005d5e5bc8a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi All,
I'm attempting to compile DPDK on=C2=A0ARM= 64.=C2=A0When executing "nin= ja -C build" it fails.
Can someone help me? THX
=

[allen@node22 dpdk-21.11]$ ninja -C build
ninja: Ent= ering directory `build'
[1/25] Compiling C object drivers/libtmp_rte= _event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o
FAILED: drivers/libtmp_r= te_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o
cc -Idrivers/libtmp_rt= e_event_cnxk.a.p -Idrivers -I../drivers -Idrivers/event/cnxk -I../drivers/e= vent/cnxk -Ilib/eventdev -I../lib/eventdev -I. -I.. -Iconfig -I../config -I= lib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/eal/l= inux/include -Ilib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/commo= n -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -= Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/ring= -I../lib/ring -Ilib/ethdev -I../lib/ethdev -Ilib/net -I../lib/net -Ilib/mb= uf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/meter -I../lib/meter = -Ilib/hash -I../lib/hash -Ilib/rcu -I../lib/rcu -Ilib/timer -I../lib/timer = -Ilib/cryptodev -I../lib/cryptodev -Idrivers/bus/pci -I../drivers/bus/pci -= I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/common/cnxk -I..= /drivers/common/cnxk -Ilib/security -I../lib/security -Idrivers/net/cnxk -I= ../drivers/net/cnxk -Idrivers/bus/vdev -I../drivers/bus/vdev -Idrivers/memp= ool/cnxk -I../drivers/mempool/cnxk -Idrivers/crypto/cnxk -I../drivers/crypt= o/cnxk -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvali= d-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -= Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-proto= types -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compar= e -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-missing-field-initialize= rs -D_GNU_SOURCE -fPIC -march=3Darmv8-a+crc -DALLOW_EXPERIMENTAL_API -DALLO= W_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-= aliasing -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.event.cnxk -MD -MQ drivers/libtmp_= rte_event_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o -MF drivers/libtmp_rte_e= vent_cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o.d -o drivers/libtmp_rte_event= _cnxk.a.p/event_cnxk_cn10k_worker_deq.c.o -c ../drivers/event/cnxk/cn10k_wo= rker_deq.c
/tmp/ccukMkof.s: Assembler messages:
/tmp/ccukMkof.s:304: = Error=EF=BC=9Areg pair must start from even reg at operand 1 -- `caspl x25,= x26,x25,x26,[x2]'
/tmp/ccukMkof.s:1327:=C2=A0Error=EF=BC= =9Areg=C2=A0pair must start from even reg at operand 1 -- `caspl x25,x26,x2= 5,x26,[x2]'
/tmp/ccukMkof.s:2071:=C2=A0 Error=EF=BC=9Areg pair must start from even reg at operand 1 -- `caspl x9,x= 10,x9,x10,[x2]'
/tmp/ccukMkof.s:3205:=C2=A0 Error=EF=BC=9Areg pair must start from even reg at operand 1 -- `caspl x9,x= 10,x9,x10,[x2]'
...
--0000000000002a4f9005d5e5bc8a--