From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?N=E9lio?= Laranjeiro Subject: Red Hat 6.5 compilation failure Date: Mon, 31 Oct 2016 11:43:18 +0100 Message-ID: <20161031104318.GC4823@autoinstall.dev.6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit To: dev@dpdk.org, Thomas Monjalon , Bruce Richardson Return-path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 4274A29C7 for ; Mon, 31 Oct 2016 11:43:26 +0100 (CET) Received: by mail-wm0-f49.google.com with SMTP id n67so220316456wme.1 for ; Mon, 31 Oct 2016 03:43:26 -0700 (PDT) Content-Disposition: inline List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi all, Am facing an issue with compilation on redhat 6.5 of DPDK v16.11-rc2, compilation fails with: cc1: warnings being treated as errors /root/dpdk/drivers/net/i40e/i40e_ethdev_vf.c: In function ‘i40evf_dev_interrupt_handler’: /root/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:1391: error: dereferencing pointer ‘v_msg’ does break strict-aliasing rules /root/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:1397: error: dereferencing pointer ‘v_msg’ does break strict-aliasing rules /root/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:1398: error: dereferencing pointer ‘v_msg’ does break strict-aliasing rules /root/dpdk/drivers/net/i40e/i40e_ethdev_vf.c:1376: note: initialized from here cc1: warnings being treated as errors /root/dpdk/drivers/net/bnxt/bnxt_hwrm.c: In function ‘bnxt_hwrm_func_driver_unregister’: /root/dpdk/drivers/net/bnxt/bnxt_hwrm.c:105: error: dereferencing pointer ‘req’ does break strict-aliasing rules /root/dpdk/drivers/net/bnxt/bnxt_hwrm.c:66: note: initialized from here cc1: warnings being treated as errors /root/dpdk/drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_nvm_rd_cmd’: /root/dpdk/build/include/rte_memcpy.h:740: error: array subscript is above array bounds /root/dpdk/drivers/net/qede/base/ecore_mcp.c: In function ‘ecore_mcp_nvm_wr_cmd’: /root/dpdk/build/include/rte_memcpy.h:740: error: array subscript is above array bounds At top level: cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" cc1: error: unrecognized command line option "-Wno-maybe-uninitialized" In doc/guides/rel_notes/supported_os.rst we still support "Red Hat Enterprise Linux 6.5". Do we still want to support it, or should we update the documentation to remove it? Regards, -- Nélio Laranjeiro 6WIND