From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f174.google.com (mail-pf0-f174.google.com [209.85.192.174]) by dpdk.org (Postfix) with ESMTP id 119B8E5D for ; Thu, 29 Mar 2018 18:39:27 +0200 (CEST) Received: by mail-pf0-f174.google.com with SMTP id y66so3571868pfi.7 for ; Thu, 29 Mar 2018 09:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=1Y5tSKNV54LNAuffnsGPqb7oacA0ET4eLIDLQirMc2Y=; b=Hk6EAWfv2HLh9yXSQTgQ2d3Nn2k6H1TqeLcfiup6hkRiCvVqjUTTZwWjC1fPoMYm0r 93eN1tnKW3W7TZWeVT0Mhd0OWQ+UuGFuEQv/6OkcGGbZHltXYlNUyT1Pc4N92H09zpHw 8yWznGa4uhJV9WMWM6oHeoA8ZKHwxBRUr2TInkvjUSxgUqlwDS+UanXUhLPL7josd5/N es3LGfHkyd3v8ZFU6J+maBjk3ihntn00ndtipkzrvlMiC+6sIdwevQjgj6h/Wrcron24 3/TCaRWiTc++sIF8Ym8PfAnekO3eCYQCmPzuIdE0oFpHNj455beQN+U33PyCrjr3eMW1 WOJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=1Y5tSKNV54LNAuffnsGPqb7oacA0ET4eLIDLQirMc2Y=; b=sUgHZexWHwIxFT/FObDGpkD5GvXO0JAQIpGSn6xBsTq5LXMjlanJxVeHphbv7+vClk I4qcdTxB3Wcfrxx39s46lIOts6i2I9LFHs7cAh2aN7Dg14qH9VVT8R8Qljqi7EJo0JNT acmX5962P2pqX4y7DQy4ZT7yIr4d6kzyoDzI7olDUqISaGJaWx0ptUYYDsjNqq5tT1CR 28tJPDwqn90dyGq3BYe/KPyDZe7tbHz0HixBGsXdh/WDTHsehAKzf9QDYhyUyLBIdRaU S78uJyh8c1RbeXTuKUDZ/vCuYKOJVLg+T2X5xY51V1CilaRSTiI/kXxdDQ5UdBzpgAcV FhMA== X-Gm-Message-State: AElRT7HOvVDTLosXqtJnLY42T4hOUMdA1yYezYw85Of6Aha5PilTW5+j i1vIh0tKvopgt5ew2QrBC1hP9bi6MxE= X-Google-Smtp-Source: AIpwx49bcr3W/1I8L+/R6m19zNS8sHbTvB+5xoejo8L4IZSZDtLebfGyqGG8lRsEe3E0pXr4t9chfQ== X-Received: by 2002:a17:902:8e83:: with SMTP id bg3-v6mr9327187plb.144.1522341565906; Thu, 29 Mar 2018 09:39:25 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id 81sm14323943pfl.92.2018.03.29.09.39.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 29 Mar 2018 09:39:25 -0700 (PDT) Date: Thu, 29 Mar 2018 09:39:24 -0700 From: Stephen Hemminger To: dev@dpdk.org Message-ID: <20180329093924.1984d7f4@xeon-e3> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [dpdk-dev] [BUG] cuckoo_hash build failure with gcc-8 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, 29 Mar 2018 16:39:27 -0000 Cuckoo hash has build failure with gcc-8. The casting here is suspect anyway. It should be fixed more directly. CC rte_table_hash_cuckoo.o lib/librte_table/rte_table_hash_cuckoo.c: In function =E2=80=98rte_table_ha= sh_cuckoo_create=E2=80=99: lib/librte_table/rte_table_hash_cuckoo.c:110:16: error: cast between incomp= atible function types from =E2=80=98rte_table_hash_op_hash=E2=80=99 {aka = =E2=80=98long unsigned int (*)(void *, void *, unsigned int, long unsigned= int)=E2=80=99} to =E2=80=98uint32_t (*)(const void *, uint32_t, uint32_t)= =E2=80=99 {aka =E2=80=98unsigned int (*)(const void *, unsigned int, unsig= ned int)=E2=80=99} [-Werror=3Dcast-function-type] .hash_func =3D (rte_hash_function)(p->f_hash), ^ cc1: all warnings being treated as errors