From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Xoxds-0008QR-F2 for ptxdist@pengutronix.de; Thu, 13 Nov 2014 17:53:08 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Xoxds-0000Kb-Dj for ptxdist@pengutronix.de; Thu, 13 Nov 2014 17:53:08 +0100 Date: Thu, 13 Nov 2014 17:53:08 +0100 From: Michael Olbrich Message-ID: <20141113165308.GW30196@pengutronix.de> References: <20141014091450.GA20015@pengutronix.de> <1414582999-25917-1-git-send-email-post@lespocky.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1414582999-25917-1-git-send-email-post@lespocky.de> Subject: Re: [ptxdist] [PATCH] gdbserver: add --disable-werror Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de On Wed, Oct 29, 2014 at 12:43:18PM +0100, Alexander Dahl wrote: > If you activate -Wcast-align globally (which is useful if you build > for older ARM architectures) gdbserver can not compile, because it > throws almost 50 of those warnings and has -Werror set. Would be > better to fix gdb, but as a quick and dirty workaround we can disable > it like this. > > Signed-off-by: Alexander Dahl Thanks, applied. Michael > --- > rules/gdbserver.make | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/rules/gdbserver.make b/rules/gdbserver.make > index 2eadd7d..2cdaf42 100644 > --- a/rules/gdbserver.make > +++ b/rules/gdbserver.make > @@ -43,6 +43,8 @@ GDBSERVER_ENV += LDFLAGS=-static > endif > > GDBSERVER_CONF_TOOL := autoconf > +GDBSERVER_CONF_OPT := $(CROSS_AUTOCONF_USR) \ > + --disable-werror > > GDBSERVER_BUILD_OOT := YES > GDBSERVER_SUBDIR := gdb/gdbserver > -- > 1.7.10.4 > > > -- > ptxdist mailing list > ptxdist@pengutronix.de > -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de