From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id 45D045A83 for ; Fri, 27 Mar 2015 11:01:19 +0100 (CET) Received: by wibgn9 with SMTP id gn9so24010270wib.1 for ; Fri, 27 Mar 2015 03:01:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=2RGGp/V/wB1CIaz2XBNQ5ffEABDFAVXrmkeTRpRXnwA=; b=DLGLLjEbNytqMD9jd2jTv6vOQhibEEp1324U3+a2I3+mbQhwGqtZcy62ps/LrO9x5s 3LxWlgYGOhyp6jYCq6I0hrg3OCkhhg6Q2OEEi1zBdiqoU/i5xD+2/cKgS+8wodYXjRuW fdcpy0ojgIV/NMtKzGfRa8T/MB3lK02gKBN2pMFkvGyKv8gQf9uzvsHiHZpTRHZ3hvz5 spXI45EU4GNADEuqinJsCrkdb9gzMJIAKvb5KYfKYOhWz9F6loEgxSPNkXDs7Dzcfj+i Le+EmM4hQtwJCSf5RoNvqBpe3zNNG807OPeC1bZ2EFQ8Vg3KNlnaurWhB/qiCH1zPEAF Jesw== X-Gm-Message-State: ALoCoQm2lod0I2TrqJyAPswDV1svKewex1NAYrGwI9mQcDnvgLSB79ctWm+kbj2PEq0lErFxzfbM X-Received: by 10.180.100.170 with SMTP id ez10mr56418979wib.81.1427450479073; Fri, 27 Mar 2015 03:01:19 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id g8sm2069721wiy.19.2015.03.27.03.01.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 03:01:18 -0700 (PDT) From: Thomas Monjalon To: "De Lara Guarch, Pablo" Date: Fri, 27 Mar 2015 11:00:38 +0100 Message-ID: <1726796.6cYerYJHfA@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: References: <1427397455-30368-1-git-send-email-pablo.de.lara.guarch@intel.com> <9913571.Sq7Gc1tDuT@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] test: Disable strict-aliasing warnings X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 10:01:19 -0000 2015-03-27 09:29, De Lara Guarch, Pablo: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > 2015-03-26 19:17, Pablo de Lara: > > > DPDK does not build on gcc 4.4, as it complains due to > > > strict-aliasing rules in virtual_pmd and link_bonding_mode4 tests, > > > with no errors in next gcc versions: > > > > Do you mean it's not possible to fix it in the code? > > You are disabling some checks which may be relevant. > > I mean it is possible to fix, but probably not worth it, considering that > newer gcc versions have no issues (and gcc 4.4 is from 2011). > I have seen that there are other libraries that disable these warnings as well, > so I assumed we could do the same here. It is preferred to avoid doing it.