From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0072.outbound.protection.outlook.com [104.47.37.72]) by dpdk.org (Postfix) with ESMTP id 2959BDE0 for ; Mon, 3 Apr 2017 10:35:38 +0200 (CEST) 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=WoiylSq7pqskwKAnocZtpVrWsnMDHG8B2e9Dc/3OAno=; b=VJ318yqDHVLqp2aj2XHACqrYhGcLP3hQ0jC41dlFbENPMBUW3alOltlXv0NOdZBR1rnTF7kaB9wt2FuTgMSG8kXfk+8xcZ5/VWBeNVMEDgw98JPHq+9etAW1SPVX+Xi0YOAzp+teyq3Zt7LA58Uk6K1t/vTdnLc5rOvD9e08wqU= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (171.76.107.206) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1005.10; Mon, 3 Apr 2017 08:35:34 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas.monjalon@6wind.com, ferruh.yigit@intel.com, Jerin Jacob Date: Mon, 3 Apr 2017 14:05:14 +0530 Message-Id: <20170403083514.5401-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.12.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [171.76.107.206] X-ClientProxiedBy: PN1PR01CA0084.INDPRD01.PROD.OUTLOOK.COM (10.174.144.152) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: 704ea99c-b8c8-4760-c13d-08d47a6c669f X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:o3tPgx3hcb6YhIEJY3LHFsk9eZRFpzKwUDTlAKqVVjAlA+xWPW2p/xqn9Ipbac4oYVtf9qEasX8di/twYqbSD+VCru9GqWSpVmmZO1sJJWwM918pU0Glin2iFXEXfyUM/zxf/QPMdwD930AXA68Akdtm/BGe3FMijeP+r5IKZIHxOKF6uvGBpjqIQ2iPm3UNxtPRm/8o1fyCW3kG9wMCHV2LWYOKOz+VQNuZ52z8CuYcXGRZT7Uul8sMiLCFiEDAw+6hQkWbg4EARwnKPSy847hiV11ol+5PUqAfW+wb0SaMhC+jiRX7aJtUi+e/FZxe7SXtgLPpGkf9yyq2FyrXWA==; 25:s1QzHRTckIgPWHS2KBL9pTpfQ8Q/fvvE9/UhH5bfL8ser/KB+NE0S05m17/suPvOFpAWQVvfOaxBWMyBbMpE2y1MLQGOOkGEAQG5Ym5OQ8vwzCWgZvF5ORMrBKVVbfUn7Ej4VfXfaD6UQEgK9jV3yuQsa+m8Qii6Y+HRvsY78A3vXK+hyvOuH3ZHN0ojlIy6VVuPjpZtp/Q+P5/Tp2RKrgi6qo2ESxoz6sdz7w2+ZCY1F5Ih/PL6EjV073RZeZixqUk966z8E1ahLnmEaTtIqfVmXC1vkOoxUn4wlMoFN/7NCO0mkxJjx/J9Y8XjiRabETWDP5ZH6/3vFDaiw4aU4DHArQYOv/fJ56tmG/r/P2B60ohHEVeqDD4QqiYaothGWXfZfD3Y+5Q8d6VYOSrbzkqtXSVl5VwDP1AI1POVEq6gldDSbnGRvw0E0SL/DzSyJwKZ3EtiJC1mNqKhpenSNQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 31:7UfMZ2zOzozT5zUeTFZ9/h1CdasXVm4V+OnqPvKKxiuPa/dBem+JF7vt8cC78sG6N/YAHmwd0JXLjuixOanmWXF6eloTo8rGCIMaZY69XckVQOIpirIeEBGmrem0ko5242TdTQCifeXnBgdzS0l30LLx5MoVzIJ0mwsl1V2vC0XF54+Er4M/XZDrN7eSQ8g8Iw3Q4hp0+vAuivUgh8l60y+5eDLAMuRIdufXQcjxDMnbE/Q7D8fg5TlX1WOibXGJ; 20:LzdTlWB6PdI38q3zzqzA5BPtZH7r1k6YanfFfx/MAhtrIspugMusp9WhE48coTBug64Q8NQbcoN41diRH44KrUYbi3aV5fvEZ0NBduCOsfb+W8RzF48bgxG3bmayyqvxdSMHO9WdBb0PK/bprSup/XoxgVQcq19lzY29129hT5F0lkkrwJ52aUb3Oa//b8HMnHmqvlUv5pS+VizYjB2+satid3wvOiMtmoRVfJhG/ralNuCaoQTcb8hHo7TXZGS1i7wobFPWgPW6fReb8hQGN91qBB6OZ2aeZkFcQM+NBytc+MJYQzBujXkikfYiLuU3i5MMwln+RwDpQH4+h6flGgrOpUzWqn6QTal3eGJGqtpbgztbFVtepbsRhwAVuHKkE4Lupa7be51ANdBWgY9wiRZNGj/gR91I7rudt8AXCu/fe/3FkWFY98wlPjqjCHYJV6LmInjRBEegBoDYmNxzkCaASVrNsf3u5HLGoGUwEg5qm4cEqjdmwoAxXSt97mDoldPnDSesYPfCa+bJp1E4UHM6807DyEEyNPN9mmHIueM/B6LT3Akv6TuSsWwhzbXnG74RFBItoSnXSi4OAPi78VPUGHh9X61pdYaE/ceSgto= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(278428928389397); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(10201501046)(6041248)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:idQtgbZMlA15Kw5TOmRnHmuoZrCJDBybhUTlDqoHP5TCsex5+k9lyeTUSS7OqGkCovpRoTxiUKpapM/gYiTABc+Bx4LpnFV1Dqqu9IvW6CHJwvJBTeyR8vjxYdC1aFK/jalcjPcXEyunH5zebGz1Xhy4YpnvgSwKDIQRSi5CvgfOpkV3jwUdWm42+iLOtS8kIt6XAY9YeFrTqYf0fPIKoEwFuQpn8f5TDXDThv5WuBCzV+Ww7tjnF8An3i8OIzIvr3uJPxDtkFXpfDZrQxTeVUwRNPmEcrbhQHLX0TBgl8GsBhKVuH94LXcnkYl880SLyLLYdK+RzvUUecMqDEOWIPDY2uA8cbnDhwaPzrbskx4ZPOVWcCn0kXm/+9nRGyyJdCVDRBdlJkbLS2YJbIlFL61fCKEvHwSWeOTId71nksDuj5rTQHanRfLBNLv34bHkl4ir20PWxI0aDmQ4P/OwDOboIOQyHyLbvUISlWMhIJsL7cdMEfcIloBikg5/UDVFpy3BL+7/oxztreO6d6gGn7gtRnYVDotn0cKdA7vhpKRtLeU5yo1uwJvuTSKsllG5ki/3c00XsjCScsuWkxfbn48UqdrWKfX7GDB9ZK1n6vMqv43cjgx71h1KxNXnBN8/KRfglkmxCilpTYtb0Ygr17NFIKV3yPeS3X0YN1y0MlTBKjLWKHJ/L2IPfvFxxw9NXftNZuVcPhTPqIFfcRwB67Cywtx+0Kp9jKAruur9l/FRTLQMWGE19mBLTfuhO2gw X-Forefront-PRVS: 0266491E90 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39450400003)(39840400002)(39850400002)(39400400002)(50226002)(81166006)(2906002)(189998001)(23676002)(6916009)(8676002)(42882006)(42186005)(7736002)(53416004)(305945005)(50986999)(33646002)(6486002)(6666003)(66066001)(36756003)(6116002)(2361001)(6512007)(53936002)(2351001)(5660300001)(3846002)(25786009)(4326008)(1076002)(2870700001)(38730400002)(110136004)(107886003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701M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QH/KMS0RTFgHXHSuJgOFXLQ==; 5:V060FquAb0LwGElerGzc8grc7aCOZjXELMYvYN+Ko7H1jbrBBNNgJFZyEkR/ujOGUS9BQuj8gQYndrozDpfiSYm0raVwWgwYGQ/o7sdBD01hLOh5FgP+XpORD2C4yNO7Ryw0VYzwPY5U7l8sYRbUPQ==; 24:EUCUe1Tt0CflFRwZs3FwTG4k9dFNnNDXfZ7vb1fqhYz/BLatYHWY2ll4CDBrShaGhbgvJ8KIWeO73HJwypuspUV5MgglZZt7xggVX3ociZo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 7:NclryBE4caq8XZuWOAmyQ7z0H0c2bSGF2q+/S3h8nH18zvWVykHveUabpzpqbBGSCWYwWWzPeNMy0n0gL+kGYq4mc6Zf4/LZVAhFG3cKd96TBL/layo9nwmShPax25zihQV6QYnkBMgS25IGt4AlN2HGHLAVJfL68+lsGUyLWbZoEnWViVcxVQi7ctc8v9ckaHWepmCRCTyf/yZY543GiiynAbICw83mngcBULIe0KR/drPccPSnhuuIFswRBxetTLya44wazqtUCiW541RQwrOF3KsvZGE2dq+brHI1+i6TorBPO0WETY2R7MI1mO6l/lfnS+B7bjzEbgX8QiR0uQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Apr 2017 08:35:34.5228 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: [dpdk-dev] [PATCH] eal/linux: fix build with glibc 2.25 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: Mon, 03 Apr 2017 08:35:38 -0000 glibc 2.25 is warning about if applications depend on sys/types.h for makedev macro, it expects to be included from Found this error while testing with GCC 6.3.1 on archlinux. lib/librte_eal/linuxapp/eal/eal_pci_uio.c: In function ‘pci_mknod_uio_dev’: lib/librte_eal/linuxapp/eal/eal_pci_uio.c:134:13: error: In the GNU C Library, "makedev" is defined by . For historical compatibility, it is currently defined by as well, but we plan to remove this soon. To use "makedev", include directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including . [-Werror] dev = makedev(major, minor); ^~~~~~~~~~~~~~~~~ Signed-off-by: Jerin Jacob --- Not added the Fixes: tag because this issue is due to glibc change. --- lib/librte_eal/linuxapp/eal/eal_pci_uio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c index 20a4a665e..fa10329fd 100644 --- a/lib/librte_eal/linuxapp/eal/eal_pci_uio.c +++ b/lib/librte_eal/linuxapp/eal/eal_pci_uio.c @@ -38,6 +38,7 @@ #include #include #include +#include #include #if defined(RTE_ARCH_X86) -- 2.12.1