From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B62B4A0524; Fri, 27 Nov 2020 10:53:34 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BD2C8C92A; Fri, 27 Nov 2020 10:53:32 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by dpdk.org (Postfix) with ESMTP id 00D4CC90E for ; Fri, 27 Nov 2020 10:53:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606470808; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=wTItuZjM+Si98+eCHkTRIyLp9dR+zXBev+bumMzrHIU=; b=O3GQcc+QCgKDcOS3HKIy7QzevROGlkA/op4dv+xqrDPyXBC5/7YEuQOeJBNOGYg35UkuCy iEAK6FH5DpV8wufuFNWPjCgigaRCMZKFNiWhe7N2gIInqpfUwx2QX1bswf8dScxDswjwx/ T8v45Wu6RiIFgSptrdrOPkhOB9+D0KA= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-575-Xuk_w0X_NLGj9b0qI8NsBQ-1; Fri, 27 Nov 2020 04:53:26 -0500 X-MC-Unique: Xuk_w0X_NLGj9b0qI8NsBQ-1 Received: by mail-vk1-f199.google.com with SMTP id x65so1541635vke.5 for ; Fri, 27 Nov 2020 01:53:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=wTItuZjM+Si98+eCHkTRIyLp9dR+zXBev+bumMzrHIU=; b=Feldlo/EZLyU5UsWvSpH7XFxHdc/+wwjM/wVeAdvgd3tdCnEeUk9WSoRx/kVUrjyDu NESxZwl4sIltqKlVFA1XsicBdYIoQFs9rQdsjKT4rEN1KFcLFkGA9hlN03pab50mJCeW Bqm8lSyraGjHT4jCHuHihf9N7OT9d1AAShWo/PCN9iFZkDgAjWV/bKS1UpDpGNxm/tpB pOU+VFHcK3NiPsio8Vhpp3zD7aQGHex+1ZLxUXaHmdR2OqBmqKSBdUkfqLCEhqtr/exE EgZW2Fd2zh+ttUnLojEqrY9nPOrIEM38dmwwx3PyOiDjeOK91TO2GItVg6EcAnikfmJa tyAA== X-Gm-Message-State: AOAM531kM9pMhaEv8Amkci4ywWxcv2M3wxdMVbwdtpvzLQTSkvGSyqbu YzfTAQNLNsv81c9Ih44461QebU9FBfQdlOQBzoc/kgHjnWNOyffTYKKMGJ0jStKSFjCQ8c4k+AU eUYQOCZ4FZ7GoSwnsAL8= X-Received: by 2002:a05:6102:4b6:: with SMTP id r22mr4731299vsa.10.1606470806342; Fri, 27 Nov 2020 01:53:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdtafFzvbH4aBnyxXkRLiW1QDPi+lM0EE9i07QQLHO/u6OfLUskuPB7VRQH9i7/ewHcjVURaHF9G88+8rUkI0= X-Received: by 2002:a05:6102:4b6:: with SMTP id r22mr4731290vsa.10.1606470806110; Fri, 27 Nov 2020 01:53:26 -0800 (PST) MIME-Version: 1.0 From: David Marchand Date: Fri, 27 Nov 2020 10:53:15 +0100 Message-ID: To: Pallavi Kadam , Bruce Richardson Cc: dev , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , "Dmitry Malloy (MESHCHANINOV)" , Nick Connolly Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: [dpdk-dev] Build error with mingw in debug mode 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This is introduced by e8428a9d89f1 ("eal/windows: add some basic functions and macros"). So sending to you guys: Caught while compiling all my envs with --buildtype=debug rather than debugoptimized: ninja: Entering directory `/home/dmarchan/builds/build-x86-mingw' ... Build targets in project: 70 Option buildtype is: debug [default: release] Found ninja-1.9.0 at /usr/bin/ninja [1/149] Compiling C object 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj'. FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj x86_64-w64-mingw32-gcc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../../dpdk/lib -I. -I../../dpdk/ -Iconfig -I../../dpdk/config -Ilib/librte_eal/include -I../../dpdk/lib/librte_eal/include -Ilib/librte_eal/windows/include -I../../dpdk/lib/librte_eal/windows/include -Ilib/librte_eal/x86/include -I../../dpdk/lib/librte_eal/x86/include -Ilib/librte_eal/common -I../../dpdk/lib/librte_eal/common -Ilib/librte_eal -I../../dpdk/lib/librte_eal -Ilib/librte_kvargs -I../../dpdk/lib/librte_kvargs -fdiagnostics-color=always -pipe -Wall -Winvalid-pch -Werror -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -D_WIN32_WINNT=0x0A00 -D__USE_MINGW_ANSI_STDIO -march=native -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.0"' -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_hexdump.c.obj' -c ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c In file included from ../../dpdk/lib/librte_eal/include/rte_common.h:28, from ../../dpdk/lib/librte_eal/include/rte_string_fns.h:21, from ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c:9: ../../dpdk/lib/librte_eal/windows/include/rte_os.h:40: error: "strncasecmp" redefined [-Werror] 40 | #define strncasecmp(s1, s2, count) _strnicmp(s1, s2, count) | In file included from ../../dpdk/lib/librte_eal/include/rte_string_fns.h:19, from ../../dpdk/lib/librte_eal/common/eal_common_hexdump.c:9: /usr/x86_64-w64-mingw32/sys-root/mingw/include/string.h:119: note: this is the location of the previous definition 119 | #define strncasecmp _strnicmp | cc1: all warnings being treated as errors -- David Marchand