From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0051.outbound.protection.outlook.com [104.47.0.51]) by dpdk.org (Postfix) with ESMTP id BBF131B015 for ; Thu, 22 Feb 2018 16:20:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pr2lyfYzgPPiudcQeMOpV69fnvr1QAePAIuJBsDw92s=; b=vmPgKKUtBYXIH8NK4R8v0tiFEXUdzYXP0NkBAsdYPQDDVYCsDXh4a15NeuhnpHhP3bDnWReb0B2UmlvHwcNdhosix5bbyTudr7l7Be/0Aqg8oJQPX8ohzx9q7aHgzZUO0Acue2HrGH6quVbPb26aBXSupZpLyyE4AEnZlxEBVDM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [10.214.248.3] (192.88.169.1) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.527.15; Thu, 22 Feb 2018 15:20:34 +0000 To: Yongseok Koh , Shreyansh Jain , Akhil Goyal , Nipun Gupta , Sunil Kumar Kori Cc: "dev@dpdk.org" , Ali Alnubani References: <23E30B2C-F96C-4101-916A-867798830737@mellanox.com> From: Hemant Agrawal Message-ID: Date: Thu, 22 Feb 2018 20:50:20 +0530 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <23E30B2C-F96C-4101-916A-867798830737@mellanox.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: PN1PR0101CA0053.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:d::15) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: b1365827-4e77-480c-f3c6-08d57a07d27b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:B0TBOlnxxan7Fy+fJFhJcFYH4Ho0Zf8gU0lTXzZT+g40cmcU1N2Q5Dd4N1vaN54dP5bo/p71ctMM2ikwqoVx4HQfOlGWl2ng6qa/pHSAq8BegwdXPf24ZL/50IMEb/7yazzFrJLaL8L5rNXXvvVhpDaOUx0QJ9YOgshXTygfDDHJmPNpPVbTxp6Oc6kTj0GJ+t0Os/XpeMlxgV5Kngzz8l7W7gyQGmuHq8c5UAxGWHeEDrp8xShxDWuSsIUefKy5; 25:hb4LJ41HrEMmUQI+OOlGnPdeq6dKZ11rtXKkA27U/gmk/698uElXTl4cY7gNESScvwphiopELrJWCu5A1YDRAE8A46M4cIB7XB3dgMsqsbk+Cc81lbliy7WNikOMfJe3kupIRczYl+vfsZhc7ag8Gvdo6dcgT3M6+vHg/AN8CrGle9yNVG+N+KNfNcGwYlyQEVoDGIJvuttczuKS72wwGigJ78mBplMLkLTpf0YufWaKFdABYu/OBaSUSF3McWU8+lyYsVxesoNTbaAai/ENCrjJ/qUovAJl9PO581NgIzUzYte7GzlNDGP7qmx/hAFDu1rtjlargBsM8yXx/YSfAQ==; 31:qqWAAyvW4Sn0W5vOGw+gK73rsJtcKlMes/Njiip19u6SduQNOKy/3438DdtP6MQZP2BAobcRM0ZtFvl2l/d5Dcqmdf/elvmrxiTe0z4hcdJj99LKB8X98ObqiorUjf1PPbInu5bPXNxUEXjnLtulTut3yhWSR8rMekbg9jdZQrCIeiNKZdCPXukHm8GuaHslDmDkMx4LtV7PX2xTBo5gLEpJpxa/LxEGd5+/VAKnnJA= X-MS-TrafficTypeDiagnostic: AM2PR04MB0753: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 20:qBHpFbyQNUx3qUHFH7Pc7k+sNoU23isnpyjzL9hPsuxIb+9Er6JWJUg3YTVN0tvmC49/VMhY969Fr35YSwsoVH75FzyW3SOIpi6QxUYYYj44h/FQF09ED7Ka8UtyhLwBliWyx2DXp57o8j5qtEVvjmO7gakEdcohyiFCc6yfRrLB3z5H3H+xya/9kiaZzgtdxPw6CFwSLgbCdab/Sl+G7RGZ/a74+jBQX7CgWIVQNB0dV4I2Xp59EikzCOiCCih8pgKgql2IGYEMVl70oEDQhdEnjLj09Ec/9e/uyQh6l4nFnmM6xe8XX2A0R/9gUygWC5VVDf4kYn1XtnSJuLN97f8gMWfaLb84q9SJHiyZGkTIIrlR938zpuG1w+NL7m5NkU9D2e+OQafTR06DrJkdRJ0KfewlIHtGDUrMMtb3uLLgT3fctGQe0y1oSUlMmgC0HNzJuG7sDGPCaIoHfI27nNdxPcpWHNKt414tzUtswi/myT8+wpfmi4LPFTWRaPRv; 4:IW4eKX9Bm/n2os4Iv3PmqwCZQarRXkvrRvhhlHIq11fV6rr+EXbwArxWhcN/xZ6tcKGR62t0m9ZBTN2DS3GyvKP7yKNymAZuLp7SEVsvdgN1A2ZTAayRqfh/Aq7nSKNnxI66gMmj7eZ+xW5xkd5xk+oRSh31qAVcDGywA64DCOv1uKJ+Qhnv801fP+vnuydPlhnjdyy+a7m/p7xHHQxRNZayzQiQqH8emXUGp5a+dmjNmvLSjSXiquRAuTOQnHhejShQ/yerMfFig7Mz9IWsSQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001080)(6040501)(2401047)(5005006)(8121501046)(10201501046)(3231101)(944501161)(3002001)(93006095)(93001095)(6055026)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 059185FE08 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(366004)(39860400002)(39380400002)(376002)(396003)(346002)(189003)(199004)(6246003)(47776003)(65806001)(8936002)(31696002)(65956001)(106356001)(64126003)(229853002)(65826007)(6486002)(2950100002)(6636002)(6666003)(36756003)(50466002)(97736004)(86362001)(53936002)(5660300001)(66066001)(386003)(53546011)(3846002)(186003)(6116002)(77096007)(2906002)(26005)(31686004)(7736002)(105586002)(2870700001)(52116002)(8676002)(316002)(16576012)(16526019)(2486003)(25786009)(58126008)(68736007)(23676004)(52146003)(81166006)(110136005)(81156014)(4326008)(67846002)(478600001)(54906003)(76176011)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:[10.214.248.3]; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTJQUjA0TUIwNzUzOzIzOjBHdHJKQmFYL2pyRysvWUMzeis1Y0xrRlR1?= =?utf-8?B?bTY3czdWUHNnRUs4Z2FGUE9NdSszQTNKUGdQdG9KZ2MwQmV2Z25WVjJCS1hZ?= =?utf-8?B?T1pjcFBzU2RXNHEzYU4vSURzeHVsY2RxV3VndHVzZHVvdVJFTkhiaXRZOVhj?= =?utf-8?B?bWdiVGxJVDNBajQ5bC9nR0RuaTNraFErdUg4ZFNKZEZ2YUpURHozZjZLRVln?= =?utf-8?B?MjZZTXRlVTY0WGpYUTFxZjcxWCtPNWZpbGxhT1ZUSC9EQ1h5NllGWlBPMEpy?= =?utf-8?B?RkFaT25wR3AzcDI4YmZ6SWxOS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mm7+OYIrtauAh0/8JX26y+9D63WK3HEH2uTpIdbJM9qhmdjqDldSOyo0gpEZH06vY1KYCpqsX53W72yK/N1wb2UUKlFWuMKsHD0xGyCAvBXyd4Wjy/cnB3XRreViTuG6NA4YDypF2Esf3n0yzOHpq51cdpShQ=; 5:4P17Wx6nYjCdTrqq9Hg+EHgJ1tC5soqCapYUaQnJvUAUEOFVXCqM2iGMEjacTnbR1RdKfxq8WbiB7d+Cru8t51ypbJYWHgY70YGDwzuOOO4GwX8SzzjqS5bKMrb95fkPdS4mAZqA+kx991o3vI3Feyno4c1gVjX0bGwhi9GZWhc=; 24:j1Hdal0Tdxo++fgUlb02VT6w4KoOxXuenPrkDSuv9Ci7zeRUEYxsvhkpAYXN9ovZDxdaHPGr3+EeUj3EVPkv6g0Hce3VYcR3dcBrgCjKWuc=; 7:f0FCysqaM1qCjRB8vZRArhULKTSaqG7x2zoLXl6qh3xL6RHNThLEBkC+nPrKDGkvAreOLTO8cEs6xbyKVcV2esZ+gl1+ljwJKB07MlOIyQ0V1rUxxVV8a8cXwyy4Y6plAO3MzmquWVt8NiSmBhdMLHuy++x8LAPDip4fPkdr95MjoUGe2s0d4fg8KU2+3PFWcLOSXL3kh/wtx97Uev8uLdKOq4hJlRdSX+E2ow9LiBPpYD7rvUKkDnJEuaY6N9rQ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2018 15:20:34.0772 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b1365827-4e77-480c-f3c6-08d57a07d27b X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: Re: [dpdk-dev] Disabling CONFIG_RTE_EAL_VFIO breaks build on ARM X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 15:20:38 -0000 Hi Yongseok, On 2/22/2018 8:12 PM, Yongseok Koh wrote: > Hi, > > If I disable vfio by setting CONFIG_RTE_EAL_VFIO=n, I'm having the following compilation error. > >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c: In function ‘fslmc_get_container_group’: >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:97:2: error: implicit declaration of function ‘vfio_get_group_no’ [-Werror=implicit-function-declaration] >> ret = vfio_get_group_no(SYSFS_FSL_MC_DEVICES, g_container, groupid); >> ^ >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:97:2: error: nested extern declaration of ‘vfio_get_group_no’ [-Werror=nested-externs] >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c: In function ‘vfio_connect_container’: >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:131:2: error: implicit declaration of function ‘vfio_get_container_fd’ [-Werror=implicit-function-declaration] >> fd = vfio_get_container_fd(); >> ^ >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:131:2: error: nested extern declaration of ‘vfio_get_container_fd’ [-Werror=nested-externs] >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c: In function ‘fslmc_vfio_setup_group’: >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:630:2: error: implicit declaration of function ‘vfio_get_group_fd’ [-Werror=implicit-function-declaration] >> ret = vfio_get_group_fd(groupid); >> ^ >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:630:2: error: nested extern declaration of ‘vfio_get_group_fd’ [-Werror=nested-externs] >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:640:3: error: implicit declaration of function ‘rte_vfio_clear_group’ [-Werror=implicit-function-declaration] >> rte_vfio_clear_group(vfio_group.fd); >> ^ >> /download/dpdk/drivers/bus/fslmc/fslmc_vfio.c:640:3: error: nested extern declaration of ‘rte_vfio_clear_group’ [-Werror=nested-externs] > > > So, I tried to disable CONFIG_RTE_LIBRTE_FSLMC_BUS, then another error on linkage. For the time being please disable following, we are looking into it CONFIG_RTE_LIBRTE_FSLMC_BUS=n CONFIG_RTE_LIBRTE_DPAA2_MEMPOOL=n CONFIG_RTE_LIBRTE_PMD_DPAA2_PMD=n CONFIG_RTE_LIBRTE_PMD_DPAA2_SEC=n CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV=n Regards, Hemant > Looks like there're dependencies and those should've been properly addressed?? > >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [dpdk-procinfo] Error 1 >> make[4]: *** [proc_info] Error 2 >> make[4]: *** Waiting for unfinished jobs.... >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [dpdk-test-crypto-perf] Error 1 >> make[4]: *** [test-crypto-perf] Error 2 >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [dpdk-pdump] Error 1 >> make[4]: *** [pdump] Error 2 >> LD dpdk-test-eventdev >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [dpdk-test-eventdev] Error 1 >> make[4]: *** [test-eventdev] Error 2 >> LD testbbdev >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [testbbdev] Error 1 >> make[4]: *** [test-bbdev] Error 2 >> LD testpmd >> /bin/ld: cannot find -lrte_bus_fslmc >> collect2: error: ld returned 1 exit status >> make[5]: *** [testpmd] Error 1 >> make[4]: *** [test-pmd] Error 2 >> make[3]: *** [app] Error 2 >> make[2]: *** [all] Error 2 >> make[1]: *** [pre_install] Error 2 >> make: *** [install] Error 2 > > > > Thanks, > Yongseok >