From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 987EDA00C4 for ; Thu, 3 Nov 2022 17:22:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89BBB42D14; Thu, 3 Nov 2022 17:22:50 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id C10C7410EF; Thu, 3 Nov 2022 17:22:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z7nCrTWUx46qivlDl8TGFC4RgraA+NmD1XOZ/E7hSobu7L+YbfDFbStb29DFwciNvRm5LwDQXHxeWYLL8m+5B17Bv74jyXDVObd6BXlY7hDVIeHLAulKo90YDcJcKeV+m6GhoGKhXYWydqVn0PZasiU6x85LZxejLh96zvp0/+jMQnjhLYzQs87AoeabTlAaOAwP3u0Zks4eiRmDw49pf/x+qsUcLRZu64fmmwHHjoojWFbyYzgStralp/K4nBkKSK5OXZ07kFHzBrnJwi72JBX0eE2LReqRZCpMboS20kaUdQbUISSQfiV+uiTyFDv55c2VujWkpQqWnDwx9NzOLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=P27/knj9JpFhrPGR+x9VBkCAiG/B99hfE+azz6421qs=; b=XZ9VAbbqqjnnQd4W98s6KDfMLGGSbgYMkfYMrIaNEcT8USDb04V6Ou6HBW8V8wdNslht0rfc+GJ5IpTsgIBpbtuVJh4+ghhM+3befRPOMRw8we4XA4LTduCDcMZW/xqMolbfQXbZSeD229bcS/3w3OBpMAmXaUmZk7ccqjVk5molkRUtIr7bRn8AuwvevMHHscGzY/igb223u75Wsa+11IvfGWipU+5UGM50hEXn7SwnF8mTK1FRqATOPl6LOKbZlMyYOIq66QQw5DW3EykhgprwAnpqWglFOo4p1pGhu9vS6wQHbMWF/DmbtgJNh5vE67qb/9zTjlfC9o8TBBB0EA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=P27/knj9JpFhrPGR+x9VBkCAiG/B99hfE+azz6421qs=; b=RBLH1BUn7Kupod8wvteBhY2cW7urxCgC6EvslywJIhwclhwL5IwbXDOUUoZexRFtQ8FYl3C41rlobXQ8k7AC6tEZ4m+PhOXbpO4gYPoYfB4D2lNYpHF87L6cx6qjUpC7FJ7AnM//lsijzfTlWMNbaiwNT941AfmjqcsDcrqwlxs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) by MN0PR12MB6002.namprd12.prod.outlook.com (2603:10b6:208:37e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.20; Thu, 3 Nov 2022 16:22:46 +0000 Received: from MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::7900:1b25:bc:104c]) by MN2PR12MB4301.namprd12.prod.outlook.com ([fe80::7900:1b25:bc:104c%7]) with mapi id 15.20.5769.016; Thu, 3 Nov 2022 16:22:46 +0000 Message-ID: <42f937a0-d308-ed59-ba35-fe2124a72d09@amd.com> Date: Thu, 3 Nov 2022 16:22:41 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH] event/dlb2: fix meson build Content-Language: en-US To: Thomas Monjalon Cc: Timothy McDaniel , Kent Wires , dev@dpdk.org, David Marchand , stable@dpdk.org, Luca Boccassi , Bruce Richardson , "Mcnamara, John" References: <20221103152204.2706555-1-ferruh.yigit@amd.com> <3277434.9LS3J3VOpE@thomas> From: Ferruh Yigit In-Reply-To: <3277434.9LS3J3VOpE@thomas> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P302CA0034.GBRP302.PROD.OUTLOOK.COM (2603:10a6:600:317::17) To MN2PR12MB4301.namprd12.prod.outlook.com (2603:10b6:208:1d4::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR12MB4301:EE_|MN0PR12MB6002:EE_ X-MS-Office365-Filtering-Correlation-Id: 7ed2e73d-8f14-45e8-6151-08dabdb7a49d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: H8RtqgK3/MNmlPfEFx8xxUzLWukOVwMgjBSqxCd6xhfMJ9suamnWvuneICzvACAxwk04JApZythOoclkLoTUhVEZr1E4nLwLm8DiO/xJot1f//G2EnF1EMPaNP/V4DZoZSZ5woc/WvXDuAuM8iibBKEhjg1x6uEL0ipmwVNO4XDP5o07cBQ1tII82g0TCoqrlnA3DHTTT0sDTJ5VYSEJ599KEfv2/APMg1P9kRgawrxho7fMjRiAE2n4SdOkAmloeJSp9fskSwgRhjv2gKmJV4v6mQcjJRM4OnnWiZfwnODpWUIeTM7d7c+N0fkyNiuY91j4OBxdfP/YsjexvAg/TjrSp1Uw0jxGtctrKjoHMupdms7lPBGmHqdiQ5162eBYmrzLT0k1OdK9OagUljRdE/dwJCbYBlN7vuCRmgKReIgJ9EKK2LFMb0SDNoSbyspzROcSHaHnGlNwt3gYphEnguKcQIk+tBUYZzrXb2Aaf4spBSAhkH8zYurvleGx75yhXfHSkz3cpW91vdMgL3nxWqVKvqd5mknX222/TGaECp/ZialrL9Tf4a82X4L3IHBLIaaD8Jm4n5c2LUVaDpzUWAqr37t2MPzIQIw6IEZ7sVev/LbSEHICaXRfGgT/EdZXLtgaR0rquwzlVQcjNDdeMxiJs3Pm4VnD8HOB5NVicMWKnICTwxU9Z11c9Y1IRlGp+elXC/t0bbPCNBLs3Gmr//MAdIOIJ5ArfDPd+BiKvCXDlXigNxhwft/vAtTeDt0gL8G0JadlcioVcBQ9wZpmpc1IwFpTtlVg7LQnVZ0DWVQ= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR12MB4301.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(366004)(396003)(39860400002)(346002)(136003)(451199015)(6486002)(31686004)(36756003)(31696002)(38100700002)(5660300002)(8936002)(83380400001)(86362001)(6506007)(2616005)(6666004)(66946007)(186003)(478600001)(316002)(6512007)(6916009)(26005)(2906002)(54906003)(41300700001)(44832011)(66556008)(8676002)(4326008)(53546011)(66476007)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VmxzSi9yYzZpL3JxNVRGQWVGQzhCQ0dEaUtncXdmajRkUGpuSlpRZkJFNUM5?= =?utf-8?B?UXZxMFVtTzcySG1PcHFUWStnWlBQRWZJdlRDTkUwZEVvZzdETFBwMU5nVDVz?= =?utf-8?B?UXdTRUswWHAzUzJqZUJ3ZkhIM05MRjZoWEFpck9xckZOU0tsdkxxb2dtSHla?= =?utf-8?B?Z25Tb1g1eWp3bWpscjZIcXp5V0xwNmlhREJHR0o4eGlTZ0VETWY1OUtlSU1q?= =?utf-8?B?cTl2TllBa3dqVlhndE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yMDEzK2JLU3JDYnN4UHZ2?= =?utf-8?B?TDM4TUJpdVg2V1Q3UjJ3ckJjTnhPSThUY1pVeGl2UjFHU1R2NjVQV1hXN2Q2?= =?utf-8?Q?TV7UMvIuzU69nyeq/nQPWBxGq?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7ed2e73d-8f14-45e8-6151-08dabdb7a49d X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB4301.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2022 16:22:46.6676 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xTN56V2U4EkWWOkLm7DgtPTc5oLa4g4yG2GZq6+saJhXCX9tm1j6l/AFLTogo+3H X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6002 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On 11/3/2022 3:35 PM, Thomas Monjalon wrote: > 03/11/2022 16:22, Ferruh Yigit: >> "meson setup" fails when '-Werror' compiler flag is enabled [1]. >> This is not a build error in the driver but a build error in meson >> during "meson setup" stage. >> >> This issue exists for a while but meson takes it as a warning and >> ignores it unless '-Werror' compiler flag is provided. > [...] >> Reproduced via `meson -Dc_args='-Werror' build` > > Is it different of 'meson --werror" as in devtools/test-meson-builds.sh > or 'meson -Dwerror=true' as in .ci/linux-build.sh? > As I checked now, it seems there is a difference. Via "meson --werror" & "meson -Dwerror=true", '-Werror' flag is used to compile dpdk source code, but meson doesn't use the flag for its internal logic, so this seems more proper usage. Via "meson -Dc_args='-Werror'" & "CFLAGS='-Werror' meson" usage, '-Werror' flag is used both to compile dpdk code and meson internal logic, so that is why this usage cause build error. And independent from the above usage difference, event/dlb2 meson file is wrong and this fix is required. I assume 'dlb2_avx512.c' compiled because of the '-mavx512vl' fallback and that is why mentioned error is not detected.