From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com [209.85.218.49]) by dpdk.org (Postfix) with ESMTP id 1DED78D9E for ; Wed, 28 Oct 2015 13:16:25 +0100 (CET) Received: by oifu63 with SMTP id u63so2975708oif.2 for ; Wed, 28 Oct 2015 05:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1M3S990932z0a/BzwPPOgtQQ6MWuN02EXpZP7mQLnsU=; b=Q9XxA4gkqgzxrPw71t1OGepPpuTYUY/GUiFcJrdYZ/dkgKDlLcy2jG6EadsrhSmq5z Qh459rPyNCfh2vw0YpdA580w9f5L4u9BaqrxI8Ip8TCqtdMjVPkHaYCbxawQM0TQw7S4 r7+f2gBQYIei2fKV1L7QqsRZS18yuOZF5dcUKjuXWSTxtDi04gdc/e/sEKk8MaA27klU cwzxiJ7LsjbXv0WDyh+j7ZEXDTjdJhEpwPHvD875AaMg6/hLR1cOUTq6l2TQTOy0jFyD /lw7OxHIAgEZYqrOgT3Dnfb+OgJQYsIb/YXwAye1/EHYMYMCytwtARKi3xdVeorz3SiJ oBDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=1M3S990932z0a/BzwPPOgtQQ6MWuN02EXpZP7mQLnsU=; b=kgFKhJ35WtEF8Mbhb3qjSuWWIYX2NNfevabOTEIolQOI0+07vvS7hWMG4s5gXNYP6o 2vbBXyf25cr1FqBueFi+KchAGFtQejOftwwlwX4CzG9YvRxJZ43t2x9uysrobuqnQvJR KpKxABZRsEsVqh3RtyByzmueYv5LFIxqe+C4+oEXGEnaHS6kfF/32OL4ep6juQ49XpKj WSVCJtpo9epoNQB0ILns4qFnNu/GdlKS5I5kElvjGlggHE0WKjb8OTmpCuHqR9Vb4k+v xst4mXdQ1ZuZ4qHFGXPdUIF0Prm1BISYP/5Zm71P6QVCQbQcgZtY+tMTHXZDxWmxHCB4 617g== X-Gm-Message-State: ALoCoQk6XQesKrcfCPnst/0Ah3BkrmQQBgmNEZ2TCRE70KzkEsg4PRkot7ITSWRHxRPvzVJhz97p MIME-Version: 1.0 X-Received: by 10.202.69.85 with SMTP id s82mr30401051oia.46.1446034584469; Wed, 28 Oct 2015 05:16:24 -0700 (PDT) Received: by 10.76.131.166 with HTTP; Wed, 28 Oct 2015 05:16:24 -0700 (PDT) In-Reply-To: <1445973229-22058-14-git-send-email-viktorin@rehivetech.com> References: <1445877458-31052-1-git-send-email-viktorin@rehivetech.com> <1445973229-22058-1-git-send-email-viktorin@rehivetech.com> <1445973229-22058-14-git-send-email-viktorin@rehivetech.com> Date: Wed, 28 Oct 2015 13:16:24 +0100 Message-ID: From: David Marchand To: Jan Viktorin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" , Vlastimil Kosar Subject: Re: [dpdk-dev] [PATCH v3 13/17] gcc/arm: avoid alignment errors to break build 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, 28 Oct 2015 12:16:25 -0000 On Tue, Oct 27, 2015 at 8:13 PM, Jan Viktorin wrote: > There several issues with alignment when compiling for ARMv7. > They are not considered to be fatal (ARMv7 supports unaligned > access of 32b words), so we just leave them as warnings. They > should be solved later, however. > > Signed-off-by: Jan Viktorin > Signed-off-by: Vlastimil Kosar > --- > mk/toolchain/gcc/rte.vars.mk | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/mk/toolchain/gcc/rte.vars.mk b/mk/toolchain/gcc/rte.vars.mk > index 0f51c66..8f9c396 100644 > --- a/mk/toolchain/gcc/rte.vars.mk > +++ b/mk/toolchain/gcc/rte.vars.mk > @@ -77,6 +77,12 @@ WERROR_FLAGS += -Wcast-align -Wnested-externs > -Wcast-qual > WERROR_FLAGS += -Wformat-nonliteral -Wformat-security > WERROR_FLAGS += -Wundef -Wwrite-strings > > +# There are many issues reported for ARMv7 architecture > +# which are not necessarily fatal. Report as warnings. > +ifeq ($(CONFIG_RTE_ARCH_ARMv7),y) > +WERROR_FLAGS += -Wno-error > +endif > + > Can we disable only "known" problems ? Something like : WERROR_FLAGS += -Wno-error=cast-align -- David Marchand