From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16972 invoked by alias); 17 Jan 2015 21:20:28 -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 16950 invoked by uid 89); 17 Jan 2015 21:20:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 17 Jan 2015 21:20:26 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0HLKIFM029365 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 17 Jan 2015 16:20:18 -0500 Received: from host2.jankratochvil.net (ovpn-116-51.ams2.redhat.com [10.36.116.51]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0HLKE96023551 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 17 Jan 2015 16:20:16 -0500 Date: Sat, 17 Jan 2015 21:20:00 -0000 From: Jan Kratochvil To: Wei-cheng Wang Cc: Ulrich Weigand , gdb-patches@sourceware.org, Joel Brobecker Subject: Broken build: rs6000-tdep.c: 32-bit host --enable-targets=all --enable-64-bit-bfd [Re: [PATCH 2/3 v4] Process record support for PowerPC] Message-ID: <20150117212014.GA32152@host2.jankratochvil.net> References: <201501171146.t0HBktpk008932@d03av02.boulder.ibm.com> <20150117185342.GA10419@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: <20150117185342.GA10419@adacore.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-01/txt/msg00501.txt.bz2 On Sat, 17 Jan 2015 19:53:42 +0100, Joel Brobecker wrote: > > Excellent! Please go ahead and commit those patches to mainline. [...] > Sure, OK, especially since you are saying impact should be minimal. commit b4cdae6fe51e532e0b1069c6960b14a610182d14 Author: Wei-cheng Wang Date: Sat Jan 17 14:30:33 2015 +0800 Reverse debugging for PowerPC. Fedora 22 i386 (32-bit host): ./configure --enable-targets=all --enable-64-bit-bfd --disable-binutils;make gcc -g -O2 -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 -pthread -I/usr/include/guile/2.0 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type -Wold-style-declaration -Wold-style-definition -Wformat-nonliteral -Werror -c -o rs6000-tdep.o -MT rs6000-tdep.o -MMD -MP -MF .deps/rs6000-tdep.Tpo rs6000-tdep.c rs6000-tdep.c: In function ‘ppc_process_record_op4’: rs6000-tdep.c:3961:9: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘CORE_ADDR’ [-Werror=format=] "%08x at %08lx, 4-%d.\n", insn, addr, ext); ^ [...] cc1: all warnings being treated as errors Makefile:1112: recipe for target 'rs6000-tdep.o' failed The patches are not (yet?) on gdb-7.9-branch so 7.9 is not affected. It also probably would not break the build as 7.9 will have --disable-werror. Jan