From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 99266 invoked by alias); 5 Sep 2015 10:30:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 99240 invoked by uid 89); 5 Sep 2015 10:30:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: COL004-OMC2S7.hotmail.com Received: from col004-omc2s7.hotmail.com (HELO COL004-OMC2S7.hotmail.com) (65.55.34.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Sat, 05 Sep 2015 10:30:34 +0000 Received: from COL130-W59 ([65.55.34.73]) by COL004-OMC2S7.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 5 Sep 2015 03:30:32 -0700 X-TMN: [qXNadwWdNyfXouHXX1ZHRhHfeIXLidwn] Message-ID: From: Chen Gang To: "binutils@sourceware.org" , "gdb-patches@sourceware.org" Subject: [PATCH] config/tc-avr.c (md_section_align): Append UL for -1 to avoid the latest gcc's warning Date: Sat, 05 Sep 2015 10:30:00 -0000 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00072.txt.bz2 The related warning is: =A0 gcc -DHAVE_CONFIG_H -I. -I../../binutils-gdb/gas =A0-I. -I../../binutil= s-gdb/gas -I../bfd -I../../binutils-gdb/gas/config -I../../binutils-gdb/gas= /../include -I../../binutils-gdb/gas/.. -I../../binutils-gdb/gas/../bfd -DL= OCALEDIR=3D"\"/upstream/release-avr32/share/locale\"" =A0-W -Wall -Wstrict-= prototypes -Wmissing-prototypes -Wshadow -Werror -I../../binutils-gdb/gas/.= ./zlib -g -O2 -MT tc-avr.o -MD -MP -MF .deps/tc-avr.Tpo -c -o tc-avr.o `tes= t -f 'config/tc-avr.c' || echo '../../binutils-gdb/gas/'`config/tc-avr.c ../../binutils-gdb/gas/config/tc-avr.c: In function =91md_section_align=92: ../../binutils-gdb/gas/config/tc-avr.c:1233:43: error: left shift of negati= ve value [-Werror=3Dshift-negative-value] =A0 =A0 =A0return ((addr + (1 << align) - 1) & (-1 << align)); =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0^ 2015-09-05 =A0Chen Gang =A0 * config/tc-avr.c (md_section_align): Append UL for -1 to avoid the latest gcc's warning. --- =A0gas/ChangeLog =A0 =A0 =A0 | 5 +++++ =A0gas/config/tc-avr.c | 2 +- =A02 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2dc9742..c0fb096 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2015-09-05 =A0Chen Gang =A0 + + * config/tc-avr.c (md_section_align): Append UL for -1 to avoid + the latest gcc's warning. + =A02015-08-27 =A0Alan Modra =A0 =A0 =A0 PR gas/18581 diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c index c69a91c..09eea48 100644 --- a/gas/config/tc-avr.c +++ b/gas/config/tc-avr.c @@ -1230,7 +1230,7 @@ valueT =A0md_section_align (asection *seg, valueT addr) =A0{ =A0 =A0int align =3D bfd_get_section_alignment (stdoutput, seg); - =A0return ((addr + (1 << align) - 1) & (-1 << align)); + =A0return ((addr + (1 << align) - 1) & (-1UL << align)); =A0} =A0 =A0/* If you define this macro, it should return the offset between the --=A0 1.9.3 =20=09=09=20=09=20=20=20=09=09=20=20 >From gdb-patches-return-125833-listarch-gdb-patches=sources.redhat.com@sourceware.org Sun Sep 06 09:38:11 2015 Return-Path: Delivered-To: listarch-gdb-patches@sources.redhat.com Received: (qmail 65785 invoked by alias); 6 Sep 2015 09:38:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 65772 invoked by uid 89); 6 Sep 2015 09:38:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,URIBL_BLACK autolearn=no version=3.3.2 X-HELO: smtp1-g21.free.fr Received: from smtp1-g21.free.fr (HELO smtp1-g21.free.fr) (212.27.42.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 06 Sep 2015 09:38:07 +0000 Received: from adeos.localdomain (unknown [81.57.22.125]) by smtp1-g21.free.fr (Postfix) with ESMTP id 0E8879400DE; Sun, 6 Sep 2015 11:38:02 +0200 (CEST) From: Romain Naour To: gdb-patches@sourceware.org Cc: Romain Naour , Yao Qi , Thomas Petazzoni Subject: [PATCH] [RFC] gdb: add disable-docs option Date: Sun, 06 Sep 2015 09:38:00 -0000 Message-Id: <1441532245-23124-1-git-send-email-romain.naour@openwide.fr> X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00073.txt.bz2 Content-length: 2449 If makeinfo is not found in the system then the missing script is used to warn the user. Before commit e30465112ed4c6320dd19107302057a5f7712cf2 the missing script returned 0 after printing the message. Now, missing return 127 (command not found) to the Makefile and the build fail. As suggested [1], add a new option to disable the documentation. [1] http://lists.busybox.net/pipermail/buildroot/2015-September/138824.html Fixes: http://autobuild.buildroot.net/results/dee/dee1326baf26ad1eb6e12a7d033428eca50d00bc/build-end.log Signed-off-by: Romain Naour Cc: Yao Qi Cc: Thomas Petazzoni --- This patch is untested since I can't regenerate the configure script due to autoconf version mismatch. configure.ac:34: error: Please use exactly Autoconf 2.64 instead of 2.69. --- gdb/ChangeLog | 4 ++++ gdb/Makefile.in | 7 ++++++- gdb/configure.ac | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 370980d..900e53f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2015-09-06 Romain Naour (tiny change) + + * configure.ac: add disable-docs option + 2015-09-04 Andrew Burgess * tui/tui-data.c (win_with_focus): Remove cast of NULL pointer. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 0d7cf97..bfbb6be 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -1089,7 +1089,12 @@ COMMON_OBS = $(DEPFILES) $(CONFIG_OBS) $(YYOBJ) \ TSOBS = inflow.o -SUBDIRS = doc @subdirs@ data-directory $(GNULIB_BUILDDIR) +SUBDIRS = @subdirs@ data-directory $(GNULIB_BUILDDIR) + +if INSTALL_DOC +SUBDIRS += doc +endif + CLEANDIRS = $(SUBDIRS) # List of subdirectories in the build tree that must exist. diff --git a/gdb/configure.ac b/gdb/configure.ac index 29d0b63..79c370b 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -107,6 +107,13 @@ PACKAGE=gdb AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ]) AC_SUBST(PACKAGE) +# Enable/Disable documentation +AC_ARG_ENABLE([docs], + [AS_HELP_STRING([--disable-docs], + [disable building of documentation])], + wantdocs=$enableval, wantdocs=yes) +AM_CONDITIONAL([INSTALL_DOC], [test "$wantdocs" = "yes"]) + # We never need to detect it in this sub-configure. # But preserve it for config.status --recheck. AC_ARG_VAR(MAKEINFO, -- 2.4.3