DPDK patches and discussions
 help / color / mirror / Atom feed
From: bugzilla@dpdk.org
To: dev@dpdk.org
Subject: [dpdk-dev] [Bug 469] crypto/dpaa: gcc 10 linker fails for fno-common
Date: Tue, 05 May 2020 10:50:35 +0000	[thread overview]
Message-ID: <bug-469-3@http.bugs.dpdk.org/> (raw)

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

            Bug ID: 469
           Summary: crypto/dpaa: gcc 10 linker fails for fno-common
           Product: DPDK
           Version: 20.05
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: cryptodev
          Assignee: dev@dpdk.org
          Reporter: kevuzaj@gmail.com
  Target Milestone: ---

When linking some of the applications, fno-common complains about multiple
'rta_sec_era' definitions in dpaa/dpaa2/caam_jr

e.g. 

[528/530] Linking target app/dpdk-testpmd.
FAILED: app/dpdk-testpmd 
cc  -o app/dpdk-testpmd 'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_flow.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_mtr.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_cmdline_tm.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_config.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_csumonly.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_flowgen.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_icmpecho.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_ieee1588fwd.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_iofwd.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_macfwd.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_macswap.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_noisy_vnf.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_parameters.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_rxonly.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_testpmd.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_txonly.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_util.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_softnicfwd.c.o'
'app/a172ced@@dpdk-testpmd@exe/test-pmd_bpf_cmd.c.o' -Wl,--as-needed
-Wl,--no-undefined -Wl,-O1 -Wl,--whole-archive -Wl,--start-group
lib/librte_telemetry.a lib/librte_bpf.a lib/librte_flow_classify.a
lib/librte_pipeline.a lib/librte_table.a lib/librte_port.a lib/librte_fib.a
lib/librte_ipsec.a lib/librte_vhost.a lib/librte_stack.a lib/librte_security.a
lib/librte_sched.a lib/librte_reorder.a lib/librte_rib.a lib/librte_rawdev.a
lib/librte_pdump.a lib/librte_power.a lib/librte_member.a lib/librte_lpm.a
lib/librte_latencystats.a lib/librte_kni.a lib/librte_jobstats.a
lib/librte_ip_frag.a lib/librte_gso.a lib/librte_gro.a lib/librte_eventdev.a
lib/librte_efd.a lib/librte_distributor.a lib/librte_cryptodev.a
lib/librte_compressdev.a lib/librte_cfgfile.a lib/librte_bitratestats.a
lib/librte_bbdev.a lib/librte_acl.a lib/librte_timer.a lib/librte_hash.a
lib/librte_metrics.a lib/librte_cmdline.a lib/librte_pci.a lib/librte_ethdev.a
lib/librte_meter.a lib/librte_net.a lib/librte_mbuf.a lib/librte_mempool.a
lib/librte_rcu.a lib/librte_ring.a lib/librte_eal.a lib/librte_kvargs.a
drivers/librte_common_cpt.a drivers/librte_common_dpaax.a
drivers/librte_common_iavf.a drivers/librte_common_mlx5.a
drivers/librte_common_octeontx.a drivers/librte_common_octeontx2.a
drivers/librte_bus_dpaa.a drivers/librte_bus_fslmc.a drivers/librte_bus_ifpga.a
drivers/librte_bus_pci.a drivers/librte_bus_vdev.a drivers/librte_bus_vmbus.a
drivers/librte_mempool_bucket.a drivers/librte_mempool_dpaa.a
drivers/librte_mempool_dpaa2.a drivers/librte_mempool_octeontx.a
drivers/librte_mempool_octeontx2.a drivers/librte_mempool_ring.a
drivers/librte_mempool_stack.a drivers/librte_pmd_af_packet.a
drivers/librte_pmd_af_xdp.a drivers/librte_pmd_ark.a
drivers/librte_pmd_atlantic.a drivers/librte_pmd_avp.a
drivers/librte_pmd_axgbe.a drivers/librte_pmd_bond.a drivers/librte_pmd_bnx2x.a
drivers/librte_pmd_bnxt.a drivers/librte_pmd_cxgbe.a drivers/librte_pmd_dpaa.a
drivers/librte_pmd_dpaa2.a drivers/librte_pmd_e1000.a drivers/librte_pmd_ena.a
drivers/librte_pmd_enetc.a drivers/librte_pmd_enic.a
drivers/librte_pmd_failsafe.a drivers/librte_pmd_fm10k.a
drivers/librte_pmd_i40e.a drivers/librte_pmd_hinic.a drivers/librte_pmd_hns3.a
drivers/librte_pmd_iavf.a drivers/librte_pmd_ice.a drivers/librte_pmd_igc.a
drivers/librte_pmd_ixgbe.a drivers/librte_pmd_kni.a
drivers/librte_pmd_liquidio.a drivers/librte_pmd_memif.a
drivers/librte_pmd_mlx4.a drivers/librte_pmd_mlx5.a drivers/librte_pmd_netvsc.a
drivers/librte_pmd_nfp.a drivers/librte_pmd_null.a
drivers/librte_pmd_octeontx.a drivers/librte_pmd_octeontx2.a
drivers/librte_pmd_pcap.a drivers/librte_pmd_pfe.a drivers/librte_pmd_qede.a
drivers/librte_pmd_ring.a drivers/librte_pmd_sfc.a drivers/librte_pmd_softnic.a
drivers/librte_pmd_tap.a drivers/librte_pmd_thunderx.a
drivers/librte_pmd_vdev_netvsc.a drivers/librte_pmd_vhost.a
drivers/librte_pmd_virtio.a drivers/librte_pmd_vmxnet3.a
drivers/librte_rawdev_dpaa2_cmdif.a drivers/librte_rawdev_dpaa2_qdma.a
drivers/librte_rawdev_ioat.a drivers/librte_rawdev_ntb.a
drivers/librte_rawdev_octeontx2_dma.a drivers/librte_rawdev_octeontx2_ep.a
drivers/librte_rawdev_skeleton.a drivers/librte_pmd_aesni_gcm.a
drivers/librte_pmd_aesni_mb.a drivers/librte_pmd_caam_jr.a
drivers/librte_pmd_ccp.a drivers/librte_pmd_dpaa_sec.a
drivers/librte_pmd_dpaa2_sec.a drivers/librte_pmd_kasumi.a
drivers/librte_pmd_nitrox.a drivers/librte_pmd_null_crypto.a
drivers/librte_pmd_octeontx_crypto.a drivers/librte_pmd_octeontx2_crypto.a
drivers/librte_pmd_openssl.a drivers/librte_pmd_crypto_scheduler.a
drivers/librte_pmd_snow3g.a drivers/librte_pmd_virtio_crypto.a
drivers/librte_pmd_zuc.a drivers/librte_pmd_isal.a
drivers/librte_pmd_octeontx_compress.a drivers/librte_pmd_qat.a
drivers/librte_pmd_zlib.a drivers/librte_pmd_ifc.a
drivers/librte_pmd_mlx5_vdpa.a drivers/librte_pmd_dpaa_event.a
drivers/librte_pmd_dpaa2_event.a drivers/librte_pmd_octeontx2_event.a
drivers/librte_pmd_opdl_event.a drivers/librte_pmd_skeleton_event.a
drivers/librte_pmd_sw_event.a drivers/librte_pmd_dsw_event.a
drivers/librte_pmd_octeontx_event.a drivers/librte_pmd_bbdev_null.a
drivers/librte_pmd_bbdev_turbo_sw.a drivers/librte_pmd_bbdev_fpga_lte_fec.a
drivers/librte_pmd_bbdev_fpga_5gnr_fec.a -Wl,--no-whole-archive
-Wl,--no-as-needed -pthread -lm -ldl -lnuma /usr/lib64/libjansson.so -lpcap
/usr/lib64/libelf.so -lpcap -lpcap -lpcap -lpcap -lpcap
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/libmlx5.so
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/libibverbs.so
/usr/lib64/libbpf.so /usr/lib64/libz.so
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/libmlx4.so -lpcap
-lIPSec_MB -lIPSec_MB /usr/lib64/libcrypto.so -lIPSec_MB -lIPSec_MB -lIPSec_MB
/usr/lib64/libisal.so -Wl,--end-group
'-Wl,-rpath,$ORIGIN/../lib:$ORIGIN/../drivers'
-Wl,-rpath-link,/root/dpdk/build/lib -Wl,-rpath-link,/root/dpdk/build/drivers
/usr/bin/ld:
drivers/librte_pmd_dpaa_sec.a(crypto_dpaa_sec_dpaa_sec.c.o):(.bss+0x4):
multiple definition of `rta_sec_era';
drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o):(.bss+0x0): first
defined here
/usr/bin/ld:
drivers/librte_pmd_dpaa2_sec.a(crypto_dpaa2_sec_dpaa2_sec_dpseci.c.o):(.data+0x0):
multiple definition of `rta_sec_era';
drivers/librte_pmd_caam_jr.a(crypto_caam_jr_caam_jr.c.o):(.bss+0x0): first
defined here
collect2: error: ld returned 1 exit status

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

                 reply	other threads:[~2020-05-05 10:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-469-3@http.bugs.dpdk.org/ \
    --to=bugzilla@dpdk.org \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).