From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0077.outbound.protection.outlook.com [104.47.32.77]) by dpdk.org (Postfix) with ESMTP id 107F7592C; Thu, 12 Jan 2017 08:47:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=EKRLxT0yBmf8WiqMrPqr7zdI3q/37BEnc8mwSXPrhHc=; b=lmXUxJeq1+ahofvqw+boKRrDvrHsSiGDLo+7EftOE0khzrfHTEopGGXy4RlWF75L+3Bv/shPMoRYKBd7Kvi4Z9/zs6q9d1ycq+NTp/x/2D0vlVWDckmnVsKF5OApBmigGRa6UvPVAsYCwli7Xy6BlqmcRDsyzMqqfHqayx6GPbI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.caveonetworks.com (111.93.218.67) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Thu, 12 Jan 2017 07:47:20 +0000 From: Jerin Jacob To: CC: , , Jerin Jacob , Date: Thu, 12 Jan 2017 13:16:54 +0530 Message-ID: <1484207214-13638-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.5.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0069.INDPRD01.PROD.OUTLOOK.COM (10.163.199.41) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-Office365-Filtering-Correlation-Id: ee215f9e-b4ec-4808-af3c-08d43abf3e92 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1727; X-Microsoft-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40TvMrZDGmeH5WbR1gy4jtLA559iSSdVKw==; 20:secp3FMvUdaM0iKVrIeHr+W29O5lYhm8H8gwn5+J7Djnth8JIVIyrOFyRcRPxd3EHYXwaMjA9WLLMzeqXpU50ms9QFWJZVOwB7rnLRmdVb+UjO9hgct4s+5v58dI1JHmoRp5WtrVtBAPbuNPQG1PzwZuUccKI5QaEGUn1BtndDVVCxESt7h1PFgSO+rM4pWkt7bGRz1wydojetZ/ePQmS41cHklTaMSeVdYRAL++BfdrlDW1bfg1OXqSr7Plw0UsfVldCQqlYiMbVhKI5FbBD+OUX6KAl/F4SumNSoMBmbrCuErM7ZkyzijNJ+eeklkLtV7QNXCn5aO45v/DyJICcESplxmuP3CFbNKS2XQl4Qu2iTqr/o29X9pf82Qs7USFRoPXSBkSq/dUXPaM5qQdTTJ2fxPBWrb6QEuK7qsGW8jcfeaSmQ8cD9rdTTeDAsmA4bjha2Z5Vs0YqsnHnKT3P46gLxYuA0ljotDyejSCHlPdv+yG3INGQGe40OM3YoaO5lnBRWv6WS4aqPggbYm9K7Zgt/MSiM7U2whRRllonhsewCihMuHkdVErvQUlszxjLadkCRr71rF9HznVWC/2r5JHuPyePfoCdXI7XUGlQio= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6041248)(20161123562025)(20161123558021)(20161123560025)(20161123555025)(20161123564025)(6072148); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:DGnsuYz40guAEf3cTmDHwxF0+ImFcz0TRRoQQdUe6Jnjqs7vo/1+xasUNr/14/O0pGXdE8ncCAJP2Wax+ZM23CRBHkCIDd5ecSRTEWtAwbgll8gTSCydIpgYwCCvirCUx5VNK12Fn9xTvAPHSvYCOgwZO2AxMEdPz4+FH+kWYoNfNWySUjtSMRxBqXyO/QSY/7YdTqed8VU97EVaO6dInG4GylFFUQh7ZRcjEmKnnbyJlajupLCb/Ca6EJtozh9jrMqtkAowQYbIU19wUA8Iv5e1e7931/s8APkwPvlozUWDrSwqw0R6Kvm6MbznldOKRdq/6Spapqe4qc1ri9FPds5NN0BIOS5xY24jWrz3LS26mW2q9/gbiY1aA+dkdAmrFZyZH067sSrW0JGpAEdhuBc6RkbTiYNMKekFn83lrAAb9s2cbr4j1AkggTauDN1P/MCiCl5FcGrt7DTvJfEFqhyD7xpVeHQ5u/OIC7DdvvrA3aZIqXxXEeNHF5lHr2mRcwj4f5cJ2ZkkUEZf/5c5laCVePPBSYv/EIZ/kury95HpwHCSa9jFePKHWrAyd0xtszntNPavLUJzUde9JXdEdL7PPw2yUp79wyo0vgZv8os= X-Forefront-PRVS: 018577E36E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(199003)(189002)(66066001)(50986999)(47776003)(54906002)(92566002)(53416004)(76506005)(106356001)(42186005)(305945005)(105586002)(48376002)(50466002)(2351001)(25786008)(6666003)(42882006)(6916009)(5660300001)(110136003)(33646002)(101416001)(189998001)(5009440100003)(97736004)(5003940100001)(6116002)(3846002)(6512007)(7736002)(69596002)(38730400001)(50226002)(68736007)(6486002)(4326007)(6506006)(81156014)(81166006)(8676002)(36756003)(2906002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:localhost.caveonetworks.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:2PE327hRq+09djaa0VeOCawOOlHLSBf/OqEtmZ3?= =?us-ascii?Q?NNi09+37V0OndH5Q4eC66opmvAiJ4JsBfQ3nIhWYSA4yG5hhCMm4LnA7eq8x?= =?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3XPnyPP/b+WeW5FYI5M0AWIJzQxgdjlRwqolix?= =?us-ascii?Q?7b0wvL00o77rxG5mpZGCxno4Bh+fWMahyW/RFDKReaQ68gCnXWBX/Ua3Lm9n?= =?us-ascii?Q?FIn0vWVc7v571ghT4SgteaK2zN0JXpZlJFlrCm2W1EFnNbTCCNhvbKRbofEM?= =?us-ascii?Q?ANn+Qp98kyaLu2DDn8wYgGa45MUSIuVuw58s2yWXYn6C7uQ5LXVvNhe+Pc4H?= =?us-ascii?Q?emofonLC5his4FXdkDBBQ/lrMAzLYPZWMSQTx?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 6:tOyP6opxJidvOEP3MjcsvMxgqYS/G0nSY1rfQfngbx9IGD3GpVL2P7HZ8Gi2mVi57TbUbO2b45JVJ9LLLi2cJMgCapXMqSV/MHzIDkuUThHXUp+2Xb+mXECewuHXDYBeVH7gxh+USkAxH/b7ILhfxpOjMM7Y53GL2Fv8+uhZjGk+tY6ePjOIqcGlPUL978m7ciooQLH7zzmMgSeRMYvUSaGZXZvRCaRL9uuojYcPvkoVDeJnpncmpc9IFMUXvKnNAL1wYR+yfXr6+J24FPtehd23wSC24neNdOlR0Yy9FU02LS6LGGVZKBBnUy0FZxYrtxvcCXGiF5su7ZNJiTLJj6Wik1Mdnc6EF0rAuw7EGadMVlsrhlhV8lzSQVjz9jevznsLlGrA5WDVBeajfojh1V1D55wKELZu60y1PtGxmWg=; 5:HmFUlNLrzUG7alR0ZJVMluW34kzOwi9rRlnmA1Oo7nrpVWvYAhzkun4RZdbLW925lmyWImdXj0k8U95vcfFxNKjXCabJABvbsvJs424OKQrmebf+wTi/EJB9OwsJ6nIWXOr6Ghau3oDoTIHvMVYy8A==; 24:93Ock9y5v4LprHM5gicJxWainVWw3d+MjjCLmHPABoXqzxV5P4stnYexJQcIcEO7uFZhdUWF6EcZcfvtHlK8ga/Uj/3+6bWslRJCMLH3Ju0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 7:r/S1cWQTLH3FRwtGsW5T4pGGFOW8LBNfENb7dRaH/gJmoIlbBuOReOcAoG8zeDGNYg2kObuZmcnxcfysVFgZyayT6KqzcYGoJ2IPOYSjyPInl7J3/l3hVKb2fH/EzxJtWHAyWFVbeRQha11eBItKiGzni4XzPA8unFxiiXMxwLFRHHeakMgP4NR932CHyZ8GdYUdhulimiapLAIdjGOe1YtBAaIoZ9E0IEUgvvqEufj4r9PDJLSeX8B3FRkWQ3AOCFAL07T/kRK9SmIDlZnsXJeZm3xodSe9Hte4yDSYjLV18eTBXopDBtXGbeWaFcF2vLLVQ9IphtqrGLDBRXuz3MpC7uBCj0hCzAh/U7T4lU6DVnDxQz/MaEZ0y49qrNutEEDlcqTBOXd9VXAA2BPcAi4bbrhIJGud+wRdDmAhEL70+dByisgsJ6UM21Gay/AvBz1WxNPhX6xOUC26T3cLjw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2017 07:47:20.8669 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: [dpdk-stable] [dpdk-dev] [PATCH] app/testpmd: fix static build link ordering X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2017 07:47:25 -0000 By introducing explicit -lrte_pmd_ixgbe link request in testpmd Makefile,"-Wl,-lrte_pmd_ixgbe" provided twice, and linker removes the duplication by keeping only first occurrence. This moves "-Wl,-lrte_pmd_ixgbe" out of "-Wl,--whole-archive" flag and makes symbol generation totally different than previous version in case of static build. This patch fixes the static build linking order by introducing -lrte_pmd_ixgbe under the shared library config (CONFIG_RTE_BUILD_SHARED_LIB). Fixes: 425781ff5afe ("app/testpmd: add ixgbe VF management") CC: stable@dpdk.org Signed-off-by: Jerin Jacob --- app/test-pmd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-pmd/Makefile b/app/test-pmd/Makefile index 5988c3e..050663a 100644 --- a/app/test-pmd/Makefile +++ b/app/test-pmd/Makefile @@ -59,7 +59,9 @@ SRCS-y += csumonly.c SRCS-y += icmpecho.c SRCS-$(CONFIG_RTE_LIBRTE_IEEE1588) += ieee1588fwd.c +ifeq ($(CONFIG_RTE_BUILD_SHARED_LIB),y) _LDLIBS-$(CONFIG_RTE_LIBRTE_IXGBE_PMD) += -lrte_pmd_ixgbe +endif CFLAGS_cmdline.o := -D_GNU_SOURCE -- 2.5.5