From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40086.outbound.protection.outlook.com [40.107.4.86]) by dpdk.org (Postfix) with ESMTP id 7A5631B01D for ; Thu, 22 Feb 2018 19:04:43 +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=mGcC2mj/UrnLMClGUlq+/BX47VGA4LBNQRvwzlsa0Z8=; b=gTFjdNy/oWXSfAvOlmxbHkkgmyYkq0Ndf+UfXhBIT95J0653U4bmOFC7tjtW/xjqSBixvC7qsSA3tAAbqxB5T1wH+jHqLpxSsORVn5xCi90GoDCci5SAzQmHre6JBle1xFVVDzIe1ZqEsJwY8P3PpcMvfiWkiFujO6rULCxqra0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from [10.214.248.3] (192.88.169.1) by DB3PR04MB0761.eurprd04.prod.outlook.com (2a01:111:e400:9440::24) 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 18:04:39 +0000 To: Bruce Richardson , dev@dpdk.org References: <20180222173817.31872-1-bruce.richardson@intel.com> From: Hemant Agrawal Message-ID: Date: Thu, 22 Feb 2018 23:34:29 +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: <20180222173817.31872-1-bruce.richardson@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [192.88.169.1] X-ClientProxiedBy: BM1PR0101CA0066.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:19::28) To DB3PR04MB0761.eurprd04.prod.outlook.com (2a01:111:e400:9440::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e832456c-5051-4c13-65c4-08d57a1ebe71 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:DB3PR04MB0761; X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0761; 3:HbWL5SIaOCAd+cRljDKgma8+WttdK2mW59ibBvDp93kQXJMFm1WHeENxukIkbDB9UcTBAqF7sqrD2dFYi/PDxx/2Gac+EBWogm8vn0Gqj6NZqBK/UQLjRMtJKz5PMvVtQmDm+6+0o9bvHE9Gu+sRpriR9AkfPd8/pRbYhSqe7mu35BOXAmHsRgC8EqTtXQ5e8fLVRhwHJtytQvpDjsxNXtnNolmBOgqDSgM7+tUJCO3gabiVIgKjkf/OilszlroH; 25:q7a1EbimvKXxe8q1Qs1hO6yeimygq4UnRVRQM8urpiEiK3cjNA6DrUVQYFL37F+Uci5znAsYC43lAn0w7eT6NdOtcbmBbvRcXDOL9+EwGZp9+F+0qVjl92BgyoM0RCftJKxoEO/rWXL9XrB9wqavvgCV7SHIocLT2WQfxiZXLVKYPOcwU+0XpclgPUrJRPwcW8OtgJFdvDco1BXPgTtM1INpk39FGAQxmkFRaSUTz38WSvPU5NOM2WbGere6CUriTkgF0otyIC2Lev3tSYM7qZuOn1H6NljMLBXGr8jTQojlgn+zeQI46H5p6Ks3l6jy0QXNrlnuJlTCnapsG/LuJQ==; 31:G/eiYdB5+3lWrySb+t8dzw4W3gvcR+5iSQNuxElpcOYMtG7U7Zl2ZEydMjsL95gmALNlm523tni+YCGqYfGKBaPb8QcpgIZ095LaumGFwuaH9pz5wFLDP1z1JzMHHpkcy9Qx+w2wS/kIfZAJV6qHP5HOkBleGBfjJv5WfoAH/oBlkVtU8/c6BJnpaXh+afNdul29XEZJhJMBv8HH4yXi0FDbE5nE4Tip41LDJTZvZOM= X-MS-TrafficTypeDiagnostic: DB3PR04MB0761: X-Microsoft-Exchange-Diagnostics: 1; DB3PR04MB0761; 20:a0ZGJ06w+P+B6hzz3G41TqhMYZ4C5P1nmEp1QTsTgkV6mRyffutCDGGxNiNa1niKBG9F13hNpm/We7tOuYqVJS036kTWRzje6fnd409nd8IhnfraNN+V5QVFijbX1VXvbAXIVXWTmdUojVs5ATmcz3hsLEplXa/zAAeEG4H9VryUiCixu4+BW1deW+cS3Y3ioy6DF+dh8UXg9IYf1HCUszT8AyY/pZKVB36RnQ1lamhgo88F49yuQeKfYZV9urYXzRxPXuhW+Tvc/YdnDuIsjcdLexvG5SHRs2ELLR+eG1BzxFVXWgW5L4vhHHyFS/YP4MbjUGJgHvyvOaH8nDuUkzcK6k9caQ5oBP9wbNvtGgpFVffqmF48NQUmMHi/yM2D2jhg5UHudsLN5G4DCKUTizqsMwVcznbrRhVqwFv6YA8TtY3QvaUg/nCQjYbLpJJm53BEAg7bmba3zhVBKjq5fMygUwj0AGmAoLdQ+oHo1vLhDj6dO9HkPr8N/MnW4+GY; 4:Nz/x2vhhtWaYV8X+mZvYhf3qhIZz9K4uHe2twll1jlg3UmOFzaGyKkvwfQIS8zaAA5fJ0oMNZDJk1S45XZVSFi3s+MtDfGntMrsimXxFeyaMyuGBtsgRH/Hf2hlK75ksFL+8y6AeDFLqzs6ZEb3EEXttr0kCRoRvcd7XxWHiQDnOTecxEfbHbOEBmFNXFCbh0gGoI5irGrTD7a1vl9prkXTa2o5vdrqujeftYDv3lXxN3SXYzUuy+T+fcHOTbt40rFsFDVz5TiMVtyPGX43pL7y617/Rz5HmplTvTPTO2LK5PAADwTlevE6bfGKtU6R89uPez1OyJLwVCFNtiawNYnT0nNcU1QGgmTus0VX8KOZ7B1WUr+v7898bqW76jPxH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(228905959029699)(17755550239193); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001081)(6040501)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231101)(944501161)(6055026)(6041288)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DB3PR04MB0761; BCL:0; PCL:0; RULEID:; SRVR:DB3PR04MB0761; X-Forefront-PRVS: 059185FE08 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(396003)(366004)(39860400002)(39380400002)(346002)(376002)(189003)(199004)(67846002)(81156014)(81166006)(65806001)(66066001)(97736004)(8936002)(77096007)(76176011)(186003)(16526019)(47776003)(31686004)(64126003)(58126008)(316002)(5660300001)(26005)(2950100002)(86362001)(6666003)(230700001)(7736002)(25786009)(16576012)(6486002)(305945005)(2906002)(53936002)(50466002)(105586002)(2486003)(65956001)(31696002)(478600001)(6246003)(52146003)(23676004)(8676002)(65826007)(52116002)(106356001)(3846002)(53546011)(229853002)(386003)(6116002)(68736007)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR04MB0761; 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?MTtEQjNQUjA0TUIwNzYxOzIzOlVEQ2hJaVgxR0MrT1lrMWM1cjZ6dGZnT0NZ?= =?utf-8?B?Y282Q1k3Y2VHR2RRRmVrNWtrQVhkRTVNRHljRXJGMllXUEZQWS9uVHVlRXZD?= =?utf-8?B?eWFmWG1uNnJkVEhNMW5ONWhlblhTdHhWMWFVSzE4dlZaLzFOZ3RBR01qK0Uz?= =?utf-8?B?WkVDd2o3WVQ2ZjJBcGZkTnRiVktsNFpDYytrR2JiajBFTVdmVkhqY3Z0ZS9m?= =?utf-8?B?QU0vSGNzMlA3ZFdaR3dQTmZjY2x4a2FndGw0eEdzRldwajhTa1g2bHZCNGV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2tYywXMzCmzfKAP0GUzFMZvxTCMUk/wc=; 5:HyHPMY4aCI86/sUuH1Gjbf2B35ayTYp8tZ3wQHMRvBN2crxgbFEMA3GkjmPzHchcEf2VofGsdlgqqwr8/Hn46WDsEC06Qi0pNnsO2815hAkBD5Exe6OAPk4X/LKfe77d1wUPWoUd+jbNYFb683RFcQ9KyT34Ymr6v5ETklFfowg=; 24:qYrI8gJ1w9LSg/m5D8/LAZ5PZtOk2m8j+DXY5/f98bsYlrfrsy6DvCljx9bAKyWvz4u3Ira7TgVzGUe4kZVFpUWHcC9FoPLrBK6LvO6Jlsw=; 7:YcteYQrPo+hRhNi0Bpa7Zs8z28VJoYXlx2Dxmgw4CAmbELbuO9w8yTKkOyORfhoj9EKmgS/tWwfekfK7m9LlwPPGOUBwPO+TyOxgF05tyfnqTyoitdOjM5AmwAYhq9PVgHWv+psncENsbbdKqhI7VqtKWJb2b7/QHASZAX2zWnLz1GLnKb/d6nm0i/ET2Hx0zO4MWgM9wiI6jEqrbKddXoOqnlhHDNFQuwGQl1HUkNGg6rhmNzmAaTAsPtZrM4Ye SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Feb 2018 18:04:39.7221 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e832456c-5051-4c13-65c4-08d57a1ebe71 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR04MB0761 Subject: Re: [dpdk-dev] [PATCH] build: clean up building kernel modules using meson 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 18:04:43 -0000 On 2/22/2018 11:08 PM, Bruce Richardson wrote: > The meson.build files for building the kernel modules directory could > be improved now that it is extracted from the EAL. For example, no > global processing is necessary inside the kernel folder, just need to > subdir to the appropriate bsd or linux folder to do the actual work. > > Signed-off-by: Bruce Richardson > --- > NOTE: this patch depends upon patch #35336, to move kernel modules to > a top-level "kernel" folder. Tested-by: Hemant Agrawal Build was fine, but observed one error print. b10814@freebsd:~/dpdk/build % ninja [333/654] Generating contigmem with a custom command. @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h cc -O2 -pipe -include rte_config.h -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/home/b10814/dpdk/build -I/usr/home/b10814/dpdk/config -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c /usr/home/b10814/dpdk/kernel/freebsd/contigmem/contigmem.c -o contigmem.o ld -d -warn-common -r -d -o contigmem.ko contigmem.o :> export_syms awk -f /sys/conf/kmod_syms.awk contigmem.ko export_syms | xargs -J% objcopy % contigmem.ko objcopy --strip-debug contigmem.ko [334/654] Generating nic_uio with a custom command. awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mv: rename bus_if.h.tmp to bus_if.h: No such file or directory makeobjops.awk: mv -f bus_if.h.tmp bus_if.h failed (1) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cc -O2 -pipe -include rte_config.h -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/usr/home/b10814/dpdk/build -I/usr/home/b10814/dpdk/config -I. -I@ -I@/contrib/altq -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -c /usr/home/b10814/dpdk/kernel/freebsd/nic_uio/nic_uio.c -o nic_uio.o ld -d -warn-common -r -d -o nic_uio.ko nic_uio.o :> export_syms awk -f /sys/conf/kmod_syms.awk nic_uio.ko export_syms | xargs -J% objcopy % nic_uio.ko objcopy --strip-debug nic_uio.ko [654/654] Linking target app/test-eventdev/dpdk-test-eventdev. ...