From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [208.91.2.13]) by dpdk.org (Postfix) with ESMTP id 2519A3B5 for ; Mon, 6 Oct 2014 20:35:12 +0200 (CEST) Received: from sc9-mailhost1.vmware.com (sc9-mailhost1.vmware.com [10.113.161.71]) by smtp-outbound-2.vmware.com (Postfix) with ESMTP id DD31D28120 for ; Mon, 6 Oct 2014 11:42:11 -0700 (PDT) Received: from EX13-CAS-012.vmware.com (EX13-CAS-012.vmware.com [10.113.191.64]) by sc9-mailhost1.vmware.com (Postfix) with ESMTP id D4F4C195BC for ; Mon, 6 Oct 2014 11:42:11 -0700 (PDT) Received: from EX13-MBX-020.vmware.com (10.113.191.40) by EX13-MBX-012.vmware.com (10.113.191.32) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 6 Oct 2014 11:42:05 -0700 Received: from EX13-MBX-010.vmware.com (10.113.191.30) by EX13-MBX-020.vmware.com (10.113.191.40) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 6 Oct 2014 11:42:05 -0700 Received: from EX13-MBX-010.vmware.com ([fe80::c937:743c:749c:829b]) by EX13-MBX-010.vmware.com ([fe80::c937:743c:749c:829b%15]) with mapi id 15.00.0775.031; Mon, 6 Oct 2014 11:42:05 -0700 From: "Michael Hu (NSBU)" To: "dev@dpdk.org" Thread-Topic: section mismatch warnings Thread-Index: AQHP4ZU5oXzyT0BiDU6TEmgflMt5Jw== Date: Mon, 6 Oct 2014 18:42:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.113.160.246] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] section mismatch warnings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2014 18:35:13 -0000 Hi Everyone, When we enable kernel config CONFIG_DEBUG_SECTION_MISMATCH=3Dy and compile = DPDK 1.7 with 3.14.17 kernel + gcc 4.8.2, we got lots of warnings like thes= e. Do we have plan to fix them? If so, please advise on which version. Thanks. =3D=3D Build lib/librte_eal/linuxapp/kni cut: /proc/version_signature: No such file or directory LD /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio= /built-in.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio= /igb_uio.o Building modules, stage 2. MODPOST 1 modules WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio/= igb_uio.o(.data+0x20): Section mismatch in reference from the variable igbu= io_pci_driver to the function .text:igbuio_pci_probe() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio/= igb_uio.o(.data+0x28): Section mismatch in reference from the variable igbu= io_pci_driver to the function .text:igbuio_pci_remove() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio/= igb_uio.o(.data+0x130): Section mismatch in reference from the variable dev= _attr_max_vfs to the function .text:show_max_vfs() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio/= igb_uio.o(.data+0x138): Section mismatch in reference from the variable dev= _attr_max_vfs to the function .text:store_max_vfs() CC /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio= /igb_uio.mod.o LD [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/igb_uio= /igb_uio.ko INSTALL-MODULE igb_uio.ko LD /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/bui= lt-in.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_main.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_api.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_common.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_ethtool.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_82599.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_82598.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_x540.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/ixg= be_phy.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/kco= mpat.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_82575.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_i210.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_api.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_mac.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_manage.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_mbx.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_nvm.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/e10= 00_phy.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _ethtool.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _hwmon.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _main.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _debugfs.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _param.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _procfs.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/igb= _vmdq.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/kni= _misc.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/kni= _net.o CC [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/kni= _ethtool.o LD [M] /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte= _kni.o WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte_= kni.o(.data+0x20): Section mismatch in reference from the variable ixgbe_et= htool_ops to the function .text:ixgbe_get_settings() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte_= kni.o(.data+0x28): Section mismatch in reference from the variable ixgbe_et= htool_ops to the function .text:ixgbe_set_settings() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte_= kni.o(.data+0x30): Section mismatch in reference from the variable ixgbe_et= htool_ops to the function .text:ixgbe_get_drvinfo() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte_= kni.o(.data+0x38): Section mismatch in reference from the variable ixgbe_et= htool_ops to the function .text:ixgbe_get_regs_len() WARNING: /git/Pktgen-DPDK/dpdk/build/build/lib/librte_eal/linuxapp/kni/rte_= kni.o(.data+0x40): Section mismatch in reference from the variable ixgbe_et= htool_ops to the function .text:ixgbe_get_regs() Thanks, Michael