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 39D19A0561; Thu, 4 Mar 2021 13:56:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B6FC840684; Thu, 4 Mar 2021 13:56:21 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id 4B46240147 for ; Thu, 4 Mar 2021 13:56:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614862579; 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: in-reply-to:in-reply-to:references:references; bh=L+0WIF++0VLYwPVsZKeICIq8Rfd7400boZhu/KyOvJQ=; b=anmG8rV0oLMk0QOmUeNrC+xv1KAmF4mOwM93qw1/0s8RoCgIj/Cr8f0FHh+0f+n/9SfGx1 cXtqBx+khZ8Z9s3KqxQsy41XF8WtnpJDWoMQpY0TnttI3TC8s2on9YHU7pOCNF7yG5D5pR GWvInhwTbudcwH3BpdyIZuiPf8sjVBY= Received: from mail-vs1-f72.google.com (mail-vs1-f72.google.com [209.85.217.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-318-wNzGxrPFPY-I96HcCVKd2A-1; Thu, 04 Mar 2021 07:56:17 -0500 X-MC-Unique: wNzGxrPFPY-I96HcCVKd2A-1 Received: by mail-vs1-f72.google.com with SMTP id w5so2797502vsf.14 for ; Thu, 04 Mar 2021 04:56:17 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L+0WIF++0VLYwPVsZKeICIq8Rfd7400boZhu/KyOvJQ=; b=naUXAgDV8ewyRoLTa/voPCl8YkIcmkYCiaspoIfUKCTfhSmXl5Efxpz8aNzhMccg7j Y8qyVlckfR9jXWTm0nCVRtk7Bj2VnKi8SdAMLX//LTqAfErl0hRh35kpAXiSWnXGq3I/ 96SHgko1oe+uluX+9a/z4HXdqO89ilzpyskH3ktSKIG7/id1sGb0IWSg4O8WgAEMZ7KD uR0xO66kYBD8WXem3Elw+1dK4+KlrvlxJ5x7Ez171o/a0HD/xETXXrISL/KE0TiBg3yk quEcH9sxy9NAn4ac6Pvrd2tiy0mDUvctOktMQvUTpfT20hCxbZ8Dm1rN3XGaPuqtN5xI P0iQ== X-Gm-Message-State: AOAM533xTrGbQ64CclIAaoJIB/Py3uML9UK6Rqz/u+coa/clSWfuHD8u MYUxIz2pyXqDPOuvHc62SL3todwgCSieePlMVj13ox6r57KU4Db4OczFaaIYYREWI/dWUtwiV1c ofSsZWmtWBMxgDWqk/QY= X-Received: by 2002:a67:ecd5:: with SMTP id i21mr2165992vsp.18.1614862576652; Thu, 04 Mar 2021 04:56:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3GOoFYtap5Mzn4Jat/NX6FBGEiidRMoIYqPHjopsGjim3wFp1DqF1ljIHszdAMjnHjag4fPaLdA6JMGf83E8= X-Received: by 2002:a67:ecd5:: with SMTP id i21mr2165982vsp.18.1614862576425; Thu, 04 Mar 2021 04:56:16 -0800 (PST) MIME-Version: 1.0 References: <20210303215929.5616-1-pallavi.kadam@intel.com> <20210303215929.5616-3-pallavi.kadam@intel.com> In-Reply-To: <20210303215929.5616-3-pallavi.kadam@intel.com> From: David Marchand Date: Thu, 4 Mar 2021 13:56:05 +0100 Message-ID: To: Pallavi Kadam Cc: dev , Thomas Monjalon , Ranjit Menon , Qiming Yang , Qi Zhang , "Yigit, Ferruh" 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: Re: [dpdk-dev] [PATCH 2/4] net/ice: build on Windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On Wed, Mar 3, 2021 at 10:27 PM Pallavi Kadam wrote: > > Add Intel ice PMD support on Windows. > Remove #include sys/ioctl header file as it is not needed. > Replace x86intrin.h with rte_vect.h to avoid __m_prefetchw conflicting > types. > Replace POSIX usleep() API with rte API. > Add a new macro for the access() API as the original function > has been deprecated on Windows. > Add extra cflags '-fno-asynchronous-unwind-tables' > to avoid MinGW build error: > Error: invalid register for .seh_savexmm Fyi, caught at the UNH lab: http://mails.dpdk.org/archives/test-report/2021-March/180813.html [205/277] Compiling C object drivers/net/ice/base/a42f040@@ice_base at sta/ice_acl_ctrl.c.obj. [206/277] Compiling C object drivers/net/ice/base/a42f040@@ice_base at sta/ice_flow.c.obj. FAILED: drivers/net/ice/base/a42f040@@ice_base at sta/ice_flow.c.obj gcc @drivers/net/ice/base/a42f040@@ice_base at sta/ice_flow.c.obj.rsp {standard input}: Assembler messages: {standard input}:1677: Error: invalid register for .seh_savexmm {standard input}:3985: Error: invalid register for .seh_savexmm [207/277] Linking static target drivers/libtmp_rte_net_i40e.a. [208/277] Compiling C object drivers/net/ice/base/a42f040@@ice_base at sta/ice_sched.c.obj. [209/277] Compiling C object drivers/net/ice/base/a42f040@@ice_base at sta/ice_dcb.c.obj. [210/277] Compiling C object drivers/net/ice/base/a42f040@@ice_base at sta/ice_flex_pipe.c.obj. [211/277] Compiling C object drivers/a715181@@tmp_rte_net_ice at sta/net_ice_ice_ethdev.c.obj. ninja: build stopped: subcommand failed. I suppose this is because "-fno-asynchronous-unwind-tables" is not passed to the base driver cflags. Bonus question: should we make this workaround global for mingw compilation? -- David Marchand