From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] examples/ip_pipeline: Fix compile issue with strict-aliasing Date: Wed, 09 Dec 2015 21:38:22 +0100 Message-ID: <4810660.9qnD8sC8sF@xps13> References: <1449650666-26067-1-git-send-email-michael.qiu@intel.com> <54CBAA185211B4429112C315DA58FF6DD8FBE4@IRSMSX103.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: "Qiu, Michael" Return-path: Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by dpdk.org (Postfix) with ESMTP id 241485A4D for ; Wed, 9 Dec 2015 21:39:39 +0100 (CET) Received: by wmww144 with SMTP id w144so90043134wmw.0 for ; Wed, 09 Dec 2015 12:39:39 -0800 (PST) In-Reply-To: <54CBAA185211B4429112C315DA58FF6DD8FBE4@IRSMSX103.ger.corp.intel.com> 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" > > Compile ip_pipeline in CentOS 6.5 with kernel 2.6.32-431 GCC 4.4.7,= will lead > > below error: > >=20 > > pipeline_routing_be.c: In function > > =E2=80=98pipeline_routing_msg_req_arp_add_handler=E2=80=99: > > pipeline_routing_be.c:1817: error: dereferencing pointer =E2=80= =98({anonymous})=E2=80=99 > > =09=09=09=09does break strict-aliasing rules > >=20 > > This because the code break strict-aliasing rule. > > The patch solve this issue. > >=20 > > Fixes: 0ae7275810f1 (examples/ip_pipeline: add more functions to ro= uting > > pipeline) > >=20 > > Signed-off-by: Michael Qiu >=20 > Acked-by: Jasvinder Singh Applied, thanks