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 F14BAA2EEB for ; Mon, 9 Sep 2019 17:06:36 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D6A2D1EBEE; Mon, 9 Sep 2019 17:06:36 +0200 (CEST) Received: from mail-lf1-f65.google.com (mail-lf1-f65.google.com [209.85.167.65]) by dpdk.org (Postfix) with ESMTP id 0EFF51C2A1 for ; Mon, 9 Sep 2019 17:06:35 +0200 (CEST) Received: by mail-lf1-f65.google.com with SMTP id q27so10761417lfo.10 for ; Mon, 09 Sep 2019 08:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yciH59u6Qs58xXoRK4RBk6kcaEbYhk2TxFo3qi+svbk=; b=lvsXhgwkhO5DCb27PkRIrEhZr9WugcmNfCLzFF1BdTgkf0SG0H/cYt4HmzLKXeelLA YTFupJr85luCPSuJVUDBQQ+naM56x2/VW7YXq6aJlbF9Rynmq47P6igSaHrpmKh+EXsG yL3elKgNeEAVZIO5ABtE44EIXJCNClAZTpHAON3KMT/ZekkiB2Gz8/cCd0P42gYpAcUm 7tjKYrdXV5jfqm+K1UAt+304I8dCpbdEqmRjePj1UUgiPw1zb73pjJCce0wqSvNIY0yJ j1+T9cT4SX24kWkxaVueWGqbyGOWSQSSBZtB6IczwqDcpnoxC8VW/XrwKU60RfXJFeYZ hT7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yciH59u6Qs58xXoRK4RBk6kcaEbYhk2TxFo3qi+svbk=; b=NqDh2cRXrsUcfs8tbjWRerPui+YI9ZW9e9O0/dm9295zNdqmlDFQtlv1MKOMRN7vhP zMSFBxvNoQ2bVXSbtm833Rqd2hfP9wJ4v3vZDwmRXwdR+3+vLqbxN2moC6R4Fkt+UnYi keCMQTApfnYvNzLdMhzxqPXS2EiinZtZB9cFcmJiBb1Ju3NuhnGWO43ndGLcA7rkMRBd QhI4tts2hi1zy/RRvOgyco3Vehob9KYSNJNtePV7+DLOH0dC24O1PXwqZ5cC+Uaxw0qR 1EIeMt+Jk2GVn5nGQvEhKp2VS+q8Arf64mHorm3mK+LwiuWjLHDe/hyAbZP8inhy+/G3 ZjHg== X-Gm-Message-State: APjAAAUWifKfdsi+rs8BfPxCOIkD0y9vRPwwMF/5/IYMTk4jw9xOj1GQ z31D46yKDG7H+sFrj16xj7Cxp7u6PfGQiZZme8SLgK0OOfU= X-Google-Smtp-Source: APXvYqwdyl+WfGStap1tO48+la7/J99O0Q8oPBMaxDzdXXvSSLU5cujPxJiRfdT67LatZkQCGGlmtJ1CZZgjH55cPPc= X-Received: by 2002:ac2:5586:: with SMTP id v6mr16670529lfg.180.1568041594170; Mon, 09 Sep 2019 08:06:34 -0700 (PDT) MIME-Version: 1.0 From: Radovan Brezula Date: Mon, 9 Sep 2019 17:06:23 +0200 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] can't compile dpdk on Linux Core 10.1 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" Hello, I'm trying to compile dpdk 19.08 on Linux Core 10.1 (4.19.10-tinycore64) with the error message below. Can you please help me? tc@box:~/dpdk-master$ make -j2 == Build lib == Build lib/librte_kvargs == Build lib/librte_eal /home/tc/dpdk-master/mk/toolchain/gcc/rte.toolchain-compat.mk:37: AVX512 support disabled because of binutils 2.31. See Bug 249 == Build lib/librte_eal/common == Build lib/librte_eal/linux == Build lib/librte_eal/linux/eal == Build lib/librte_pci == Build lib/librte_ring == Build lib/librte_stack == Build lib/librte_timer == Build lib/librte_cfgfile == Build lib/librte_meter == Build lib/librte_hash == Build lib/librte_acl == Build lib/librte_jobstats == Build lib/librte_metrics == Build lib/librte_power == Build lib/librte_rcu == Build lib/librte_mempool == Build lib/librte_efd == Build lib/librte_lpm == Build lib/librte_member == Build lib/librte_mbuf == Build lib/librte_net == Build lib/librte_bbdev == Build lib/librte_cryptodev == Build lib/librte_compressdev == Build lib/librte_sched == Build lib/librte_reorder == Build lib/librte_cmdline == Build lib/librte_ethdev == Build lib/librte_security == Build lib/librte_eventdev == Build lib/librte_rawdev == Build lib/librte_vhost == Build lib/librte_ip_frag == Build lib/librte_gro == Build lib/librte_bitratestats == Build lib/librte_latencystats == Build lib/librte_kni == Build lib/librte_distributor == Build lib/librte_pdump == Build lib/librte_gso == Build lib/librte_bpf == Build lib/librte_ipsec == Build lib/librte_port == Build lib/librte_table == Build lib/librte_flow_classify == Build lib/librte_pipeline == Build buildtools == Build kernel == Build buildtools/pmdinfogen == Build kernel/linux == Build kernel/linux/igb_uio == Build drivers == Build drivers/common == Build drivers/common/cpt == Build drivers/common/octeontx == Build drivers/common/octeontx2 CC [M] /home/tc/dpdk-master/build/build/kernel/linux/igb_uio/igb_uio.o == Build drivers/common/dpaax == Build drivers/bus In file included from /usr/src/linux-4.19.10/include/linux/pci-dma-compat.h:8, from /usr/src/linux-4.19.10/include/linux/pci.h:2325, from /home/tc/dpdk-master/build/build/kernel/linux/igb_uio/igb_uio.c:10: /usr/src/linux-4.19.10/include/linux/dma-mapping.h: In function ' igbuio_pci_probe': /usr/src/linux-4.19.10/include/linux/dma-mapping.h:588:19: error: inlining failed in call to 'dma_supported.constprop': call is unlikely and code siz e would grow [-Werror=inline] static inline int dma_supported(struct device *dev, u64 mask) ^~~~~~~~~~~~~ /usr/src/linux-4.19.10/include/linux/dma-mapping.h:602:25: note: called from here if (!dev->dma_mask || !dma_supported(dev, mask)) ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/linux-4.19.10/include/linux/dma-mapping.h:588:19: error: inlining failed in call to 'dma_supported.constprop': call is unlikely and code siz e would grow [-Werror=inline] static inline int dma_supported(struct device *dev, u64 mask) ^~~~~~~~~~~~~ /usr/src/linux-4.19.10/include/linux/dma-mapping.h:624:7: note: called from here if (!dma_supported(dev, mask)) ^~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[7]: *** [/usr/src/linux-4.19.10/scripts/Makefile.build:310: /home/tc/dpdk-master/build/build/kernel/linux/igb_uio/igb_uio.o] Error 1 make[6]: *** [/usr/src/linux-4.19.10/Makefile:1517: _module_/home/tc/dpdk-master/build/build/kernel/linux/igb_uio] Error 2 make[5]: *** [Makefile:146: sub-make] Error 2 make[4]: *** [/home/tc/dpdk-master/mk/rte.module.mk:51: igb_uio.ko] Error 2 make[3]: *** [/home/tc/dpdk-master/mk/rte.subdir.mk:37: igb_uio] Error 2 make[2]: *** [/home/tc/dpdk-master/mk/rte.subdir.mk:37: linux] Error 2 make[1]: *** [/home/tc/dpdk-master/mk/rte.sdkbuild.mk:48: kernel] Error 2 make[1]: *** Waiting for unfinished jobs.... == Build drivers/bus/dpaa == Build drivers/bus/fslmc == Build drivers/bus/ifpga == Build drivers/bus/pci == Build drivers/bus/vdev == Build drivers/bus/vmbus == Build drivers/mempool == Build drivers/mempool/bucket == Build drivers/mempool/dpaa == Build drivers/mempool/dpaa2 == Build drivers/mempool/ring == Build drivers/mempool/stack == Build drivers/mempool/octeontx == Build drivers/mempool/octeontx2 == Build drivers/net == Build drivers/baseband == Build drivers/net/af_packet == Build drivers/baseband/null == Build drivers/net/ark == Build drivers/baseband/turbo_sw == Build drivers/baseband/fpga_lte_fec == Build drivers/net/atlantic == Build drivers/crypto == Build drivers/net/avp == Build drivers/crypto/octeontx == Build drivers/net/axgbe == Build drivers/crypto/scheduler == Build drivers/net/bonding == Build drivers/crypto/null == Build drivers/net/cxgbe == Build drivers/crypto/dpaa2_sec == Build drivers/net/dpaa == Build drivers/crypto/dpaa_sec == Build drivers/net/dpaa2 == Build drivers/crypto/caam_jr == Build drivers/net/e1000 == Build drivers/crypto/virtio == Build drivers/net/ena == Build drivers/common/qat == Build drivers/net/enetc == Build drivers/compress == Build drivers/net/enic == Build drivers/compress/octeontx == Build drivers/net/failsafe == Build drivers/net/fm10k == Build drivers/net/hinic == Build drivers/net/i40e == Build drivers/net/iavf == Build drivers/net/ice == Build drivers/net/ipn3ke == Build drivers/net/ixgbe == Build drivers/net/liquidio == Build drivers/net/memif == Build drivers/net/netvsc == Build drivers/net/nfp == Build drivers/net/bnxt == Build drivers/net/null == Build drivers/net/octeontx == Build drivers/net/octeontx2 == Build drivers/net/qede == Build drivers/net/ring == Build drivers/net/sfc == Build drivers/net/tap == Build drivers/net/thunderx == Build drivers/net/vdev_netvsc == Build drivers/net/virtio == Build drivers/net/vmxnet3 == Build drivers/net/kni == Build drivers/net/softnic == Build drivers/net/vhost == Build drivers/net/ifc == Build drivers/event == Build drivers/event/skeleton == Build drivers/event/sw == Build drivers/event/dsw == Build drivers/event/octeontx == Build drivers/event/octeontx2 == Build drivers/event/dpaa == Build drivers/event/dpaa2 == Build drivers/event/opdl == Build drivers/raw == Build drivers/raw/skeleton == Build drivers/raw/dpaa2_cmdif == Build drivers/raw/dpaa2_qdma == Build drivers/raw/ifpga == Build drivers/raw/ioat == Build drivers/raw/ntb == Build drivers/raw/octeontx2_dma make: *** [/home/tc/dpdk-master/mk/rte.sdkroot.mk:99: all] Error 2