> -----Original Message----- > From: Yongseok Koh <[email protected]> > Sent: Friday, April 12, 2019 12:14 PM > To: Jerin Jacob Kollanukkaran <[email protected]> > Cc: Pavan Nikhilesh Bhagavatula <[email protected]>; Thomas > Monjalon <[email protected]>; dev <[email protected]>; > [email protected] > Subject: [EXT] Re: [dpdk-dev] [PATCH v8 2/4] meson: add infra to support > machine specific flags > > > Thanks, that fixes the issue. > But I've encountered another one. Are you aware of this?
Yes. It is a compiler bug. This patch set is NOT introducing this. Fixed same on legacy build with arm64 . If you are using < 4.8.6 compiler For meson, this patched needs to be ported to meson $ git show f3af3e44a444cdfe3fa7b3e2c042be351401eb23 commit f3af3e44a444cdfe3fa7b3e2c042be351401eb23 Author: Jerin Jacob <[email protected]> Date: Mon Sep 3 15:01:10 2018 +0530 mk: disable OcteonTx for buggy compilers only on arm64 Disable octeontx for gcc 4.8.5 as the compiler is emitting "internal compiler error" for aarch64. The GCC "internal compiler error" was observed only for arm64 architecture so disable the PMD only for arm64. Fixes: 4f760550a093 ("mk: disable OcteonTx for buggy compilers") Cc: [email protected] Signed-off-by: Jerin Jacob <[email protected]> Acked-by: Ferruh Yigit <[email protected]> > > ninja: Entering directory `build' > [1151/1452] Compiling C object > 'drivers/drivers@@tmp_r...d_octeontx_event@sta/event_octeontx_timvf_ > worker.c.o'. > FAILED: > drivers/drivers@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_ti > mvf_worker.c.o > cc -Idrivers/drivers@@tmp_rte_pmd_octeontx_event@sta -Idrivers - > I../drivers -Idrivers/event/octeontx -I../drivers/event/octeontx - > Ilib/librte_eventdev -I../lib/librte_eventdev -I. -I../ -Iconfig -I../config - > Ilib/librte_eal/common/include -I../lib/librte_eal/common/include - > I../lib/librte_eal/linux/eal/include -Ilib/librte_eal/common - > I../lib/librte_eal/common -Ilib/librte_eal/common/include/arch/arm - > I../lib/librte_eal/co mmon/include/arch/arm -Ilib/librte_eal > -I../lib/librte_eal > -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_ring > -I../lib/librte_ring - > Ilib/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/librte_mempool -Ilib/librte_cmdline -I../lib/librte_cmdline - > Ilib/librte_meter -I../lib/librte_meter -Ilib/librte_hash -I../lib/librte_h > ash - > Ilib/librte_timer -I../lib/librte_timer -Ilib/librte_cryptodev - > I../lib/librte_cryptodev -Idrivers/common/octeontx - > I../drivers/common/octeontx -Idrivers/mempool/octeontx - > I../drivers/mempool/octeontx -Idrivers/bus/pci -I../drivers/bus/pci - > I../drivers/bus/pci/linux -Ilib/librte_pci -I../lib/librte_pci > -Idrivers/bus/vdev - > I../drivers/bus/vdev -Idrivers/net/octeontx -I../drivers/net/octeontx - > Idrivers/net/octeontx/base -I../drivers/net/octeontx/base -pipe - > D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h - > Wsign-compare -Wcast-qual -fPIC -D_GNU_SOURCE - > DALLOW_EXPERIMENTAL_API -MD -MQ > 'drivers/drivers@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_ti > mvf_worker.c.o' -MF > 'drivers/drivers@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_ti > mvf_worker.c.o.d' -o > 'drivers/drivers@@tmp_rte_pmd_octeontx_event@sta/event_octeontx_t > imvf_worker.c.o' -c ../drivers/event/octeontx/timvf_worker.c > ../drivers/event/octeontx/timvf_worker.c: In function > ‘timvf_timer_arm_burst_sp’: > ../drivers/event/octeontx/timvf_worker.c:88:1: error: could not split insn } > ^ (insn 95 98 99 (parallel [ > (set (reg:DI 3 x3 [orig:98 D.8656 ] [98]) > (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8662 ] [88]) [-1 S8 > A64])) > (set (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8662 ] [88]) [-1 S8 > A64]) > (unspec_volatile:DI [ > (plus:DI (mem/v:DI (reg/f:DI 21 x21 [orig:88 D.8662 ] > [88]) [-1 S8 > A64]) > (const_int -281474976710656 [0xffff000000000000])) > (const_int 0 [0]) > ] UNSPECV_ATOMIC_OP)) > (clobber (reg:CC 66 cc)) > (clobber (reg:DI 0 x0)) > (clobber (reg:SI 1 x1)) > ]) ../drivers/event/octeontx/timvf_worker.h:95 1832 > {atomic_fetch_adddi} > (expr_list:REG_UNUSED (reg:CC 66 cc) > (expr_list:REG_UNUSED (reg:SI 1 x1) > (expr_list:REG_UNUSED (reg:DI 0 x0) > (nil))))) > ../drivers/event/octeontx/timvf_worker.c:88:1: internal compiler error: in > final_scan_insn, at final.c:2897 Please submit a full bug report, with > preprocessed source if appropriate. > See <http://bugzilla.redhat.com/bugzilla> for instructions. > {standard input}: Assembler messages: > {standard input}: Error: open CFI at the end of file; missing .cfi_endproc > directive Preprocessed source stored into /tmp/ccnQRbOm.out file, please > attach this to your bugreport. > [1168/1452] Compiling C object > 'drivers/drivers@@tmp_r...ntx_crypto@sta/crypto_octeontx_otx_cryptode > v_ops.c.o'. > ninja: build stopped: subcommand failed. > > Thanks > Yongseok

