DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 697] build failure in event/cnxk when cross-compiling with gcc 7.1.1
@ 2021-05-06 11:36 bugzilla
  0 siblings, 0 replies; only message in thread
From: bugzilla @ 2021-05-06 11:36 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=697

            Bug ID: 697
           Summary: build failure in event/cnxk when cross-compiling with
                    gcc 7.1.1
           Product: DPDK
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: alialnu@nvidia.com
  Target Milestone: ---

"""
$ meson --werror --buildtype=debugoptimized --cross-file
config/arm/arm64_armv8_linux_gcc build && ninja -C build
...
...
The Meson build system
Version: 0.55.3
Source dir: /tmp/dpdk
Build dir: /tmp/build-aarch64-gcc
Build type: cross build
Program cat found: YES
Project name: DPDK
Project version: 21.05.0-rc2
C compiler for the build machine: ccache cc (gcc 10.3.1 "cc (GCC) 10.3.1
20210422 (Red Hat 10.3.1-1)")
C linker for the build machine: cc ld.bfd 2.35-18
C compiler for the host machine: aarch64-linux-gnu-gcc (gcc 7.1.1
"aarch64-linux-gnu-gcc (Linaro GCC 7.1-2017.08) 7.1.1 20170707")
C linker for the host machine: aarch64-linux-gnu-gcc ld.bfd 2.28.2.20170706
...
...
[2106/2604] Compiling C object
drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o
FAILED: drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o
aarch64-linux-gnu-gcc -Idrivers/libtmp_rte_event_cnxk.a.p -Idrivers
-I../dpdk/drivers -Idrivers/event/cnxk -I../dpdk/drivers/event/cnxk
-Ilib/eventdev -I../dpdk/lib/eventdev -I. -I../dpdk -Iconfig -I../dpdk/config
-Ilib/eal/include -I../dpdk/lib/eal/include -Ilib/eal/linux/include
-I../dpdk/lib/eal/linux/include -Ilib/eal/arm/include
-I../dpdk/lib/eal/arm/include -Ilib/eal/common -I../dpdk/lib/eal/common
-Ilib/eal -I../dpdk/lib/eal -Ilib/kvargs -I../dpdk/lib/kvargs -Ilib/metrics
-I../dpdk/lib/metrics -Ilib/telemetry -I../dpdk/lib/telemetry -Ilib/ring
-I../dpdk/lib/ring -Ilib/ethdev -I../dpdk/lib/ethdev -Ilib/net
-I../dpdk/lib/net -Ilib/mbuf -I../dpdk/lib/mbuf -Ilib/mempool
-I../dpdk/lib/mempool -Ilib/meter -I../dpdk/lib/meter -Ilib/hash
-I../dpdk/lib/hash -Ilib/rcu -I../dpdk/lib/rcu -Ilib/timer -I../dpdk/lib/timer
-Ilib/cryptodev -I../dpdk/lib/cryptodev -Idrivers/bus/pci
-I../dpdk/drivers/bus/pci -I../dpdk/drivers/bus/pci/linux -Ilib/pci
-I../dpdk/lib/pci -Idrivers/common/cnxk -I../dpdk/drivers/common/cnxk
-fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Werror -O2 -g -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=armv8-a+crc
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -MD -MQ
drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o -MF
drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o.d -o
drivers/libtmp_rte_event_cnxk.a.p/event_cnxk_cn10k_worker.c.o -c
../dpdk/drivers/event/cnxk/cn10k_worker.c
{standard input}: Assembler messages:
{standard input}:620: Error: reg pair must start from even reg at operand 1 --
`caspl x5,x6,x5,x6,[x4]'
[2139/2604] Compiling C object
drivers/libtmp_rte_event_octeontx2.a.p/event_octeontx2_otx2_worker.c.o
ninja: build stopped: subcommand failed.
"""

os: Fedora 33

cross compiler: gcc 7.1.1 "aarch64-linux-gnu-gcc (Linaro GCC 7.1-2017.08) 7.1.1
20170707"
https://releases.linaro.org/components/toolchain/binaries/7.1-2017.08/aarch64-linux-gnu/gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu.tar.xz

meson: 0.55.3
ninja: 1.10.2

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-06 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 11:36 [dpdk-dev] [Bug 697] build failure in event/cnxk when cross-compiling with gcc 7.1.1 bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).