From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) by dpdk.org (Postfix) with ESMTP id 6EF451E20 for ; Wed, 5 Apr 2017 17:29:50 +0200 (CEST) Received: by mail-lf0-f54.google.com with SMTP id x137so11533656lff.3 for ; Wed, 05 Apr 2017 08:29:50 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=q6XfVt1s8hBCRr6t9Uw/pNr3DT01L876WNmUab4h4po=; b=hNGXJ98SjMG9wUyrsSFEyDeKczjZh+5zkWPogv2JGfqoKVx2f5TCwvVffJCgfc4n2Y a6H3S6getHBThVqWNQ5VrT0nC6cOgXKKomv5FLTfeJ9MQj/t5KBLpwHyfIpQ/k5Hn07c 1uV+3W8cW/BUuFsawMNO/2jJiDM8fIvM8WHtnVxYV5jPPy9JNxek+knFUDvjJP4i1M2O +lE8xlC0u7bHNwyARuaaBVHonsQDCfO/csKi7XuWH0/9riWMonwAj/zuNnookmYpBg4N l/+2EgvSbU6Ax+6I0nGbgjjK7I35F6N00CrbNAXgVPfMTFXm0kDY3VweljNuhuud+hbM ZWxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=q6XfVt1s8hBCRr6t9Uw/pNr3DT01L876WNmUab4h4po=; b=RdYsazQbtLbrjJioVfASx8R5vY/Xg2xIKnW8mlewlFgHOxief1B3P4kr5cZPSsa3Qs kd0mQPNgZGGdQdpILvln1R7Hev0rPqyyF4U+1srb3RoU/VbsMk0bQlNjR3YiQTp4rlUC R3V3xghkY02L9WBpS+GT2WHud1pk9rILpSG6hGpaix0E9TevUXFGuws68UFEM6VeW0uS 0CE87LcQAdXo4E8l5GMx373+whPEVNslkvr5DYqHyJcXnvWy0lgP/uPf1krGKHiKtY7v Qy0WWFD4FcEHEvbr8Nzb3af8+InFVDvp/D3Fhsc5ovaGjHGf14UQnPU0G1o/+X89tSX9 8+QA== X-Gm-Message-State: AFeK/H3S+Avw+IDqb+FiFIZWhuVytj8oia7tQ9G16n+ZOiDhOH8k/7pU FP0zc+Cojw2b43ar X-Received: by 10.28.50.195 with SMTP id y186mr18876929wmy.5.1491406189682; Wed, 05 Apr 2017 08:29:49 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id t79sm22802450wmd.29.2017.04.05.08.29.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Apr 2017 08:29:49 -0700 (PDT) From: Thomas Monjalon To: Ferruh Yigit Cc: Bruce Richardson , dev@dpdk.org Date: Wed, 05 Apr 2017 17:29:48 +0200 Message-ID: <2101638.L2PhFsoQeI@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20170405150312.20960-1-ferruh.yigit@intel.com> References: <20170405150312.20960-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] ring: fix build with icc 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: Wed, 05 Apr 2017 15:29:50 -0000 2017-04-05 16:03, Ferruh Yigit: > build error: > In file included from .../lib/librte_ring/rte_ring.c(90): > .../lib/librte_ring/rte_ring.h(162): > error #1366: a reduction in alignment without the "packed" attribute > is ignored > } __rte_cache_aligned; > ^ > > Alignment attribute moved to first element of the struct The fix is surprising. Is it really doing the same thing as } __rte_cache_aligned; at the end of the struct?