From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=A0+xDC8mPUxEZL8/A4AL+8siKFQWIy+OZcpiM8GFXdA=; b=u1pNHy9hJ3EcIAaTqpPjs4AJZLByf1zTfCw0886ukFKd/0HBLgsfTajK+7cfJT21XQ ctbxll7jO3F3XqsFbpyQ1HwnMimsCFOsPt3yPiSsvvqASQCRilORAOekKvtxsdv730NF 7t/O6HXIh8T8QG1wES1lRPb4cE069ukvlwFkDHFyLsKMsCnk7cI4fRm4OktM0On1k6GT abseHlh7NILC8RwIPcaY1wMAbWh4wG6Vu1SOrDMMbfnp3J5/3ka+ug96QtC7vnwbpZL9 g8VhFoqP6mTMeGPEpt+B/k6Njq2yPfO8YM8iuOgJPV6xOlv51PWdDGODJdHJY8v7u+Ov QmIw== 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=A0+xDC8mPUxEZL8/A4AL+8siKFQWIy+OZcpiM8GFXdA=; b=Rr8OXqNujAT/U2EZEBmbqaaIZFALwJDmUnaHs0c4C+P28F7TyIDwWMP+PQM72pKmYP dxf/OsIzYvjf0G8DnaSjZXlDPmGCOb5vS2LIBqJ9vK3dxO8JclQizBAsjnwzj37SvBwL vhlzYUbrf9aMklw+6ssjyZBjjTbzEOkCmCWoh06z50kme5/gnFw2Ke49GDYzDxFX71+q IiiN+CSrneOypE6CXDITmvwNdrltKstnrYefqadO9koa4p4/n47opoBL2ReMfVZpvK2s +9v792IAshaLtMp3up7Dqsl0OFpYaV9S/GYdQYl42p3DIutW/NeM8pEVBY0BBj/0NJLa Bf0A== X-Gm-Message-State: ALoCoQnBZ/a7cSeut36NVa9Lt3noHoHLZg2kPakjEeiKlDnMgyP8uraUILbfmXCgmRP9WWNu1Z/0OEnM73RerNsPbu+SeEXDpw== X-Received: by 10.28.175.144 with SMTP id y138mr36011768wme.47.1449693579027; Wed, 09 Dec 2015 12:39:39 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id vu4sm9325502wjc.2.2015.12.09.12.39.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Dec 2015 12:39:38 -0800 (PST) From: Thomas Monjalon To: "Qiu, Michael" Date: Wed, 09 Dec 2015 21:38:22 +0100 Message-ID: <4810660.9qnD8sC8sF@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <54CBAA185211B4429112C315DA58FF6DD8FBE4@IRSMSX103.ger.corp.intel.com> References: <1449650666-26067-1-git-send-email-michael.qiu@intel.com> <54CBAA185211B4429112C315DA58FF6DD8FBE4@IRSMSX103.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] examples/ip_pipeline: Fix compile issue with strict-aliasing 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: Wed, 09 Dec 2015 20:39:39 -0000 > > 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