From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18708 invoked by alias); 19 Mar 2009 07:36:20 -0000 Received: (qmail 18688 invoked by uid 22791); 19 Mar 2009 07:36:19 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.155) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Mar 2009 07:36:14 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.2/jtpda-5.5pre1) with ESMTP id n2J7aALU072318 ; Thu, 19 Mar 2009 08:36:10 +0100 (CET) Received: from mailserver.u-strasbg.fr (ms3.u-strasbg.fr [IPv6:2001:660:2402:d::12]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id n2J7aAZo038153 ; Thu, 19 Mar 2009 08:36:10 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) Received: from d620muller (lec67-4-82-230-53-140.fbx.proxad.net [82.230.53.140]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id n2J7a9Fc032324 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Thu, 19 Mar 2009 08:36:10 +0100 (CET) (envelope-from muller@ics.u-strasbg.fr) From: "Pierre Muller" To: , Subject: [Build-failure] elf32-score.c compilation warning Date: Thu, 19 Mar 2009 07:49:00 -0000 Message-ID: <000201c9a865$63951e10$2abf5a30$@u-strasbg.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2009-03/txt/msg00392.txt.bz2 Building gdb with --enable-targets=all but without --enable-64-bit-bfd on cygwin (windows 32 bits). I get a bfd compilation error, that does not appear with --enable-64-bit-bfd. I think that there is a configuration problem for elf32-score: libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../purecvs/bfd -I. -I. -I../../p urecvs/bfd -I../../purecvs/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing -prototypes -Werror -g -O2 -c ../../purecvs/bfd/elf32-score.c -o elf32-score.o ../../purecvs/bfd/elf32-score.c: In function `score3_bfd_putl48': ../../purecvs/bfd/elf32-score.c:290: warning: right shift count >= width of type There other errors are at the end of the email. The corresponding lines do shifts of 32 or 48 bits, which is indeed too large for 32 bit addresses, so these addresses are probably 64 bit, no? Pierre Muller Pascal language support maintainer for GDB ../../purecvs/bfd/elf32-score.c:291: warning: right shift count >= width of type ../../purecvs/bfd/elf32-score.c: At top level: ../../purecvs/bfd/elf32-score.c:957: warning: large integer implicitly truncated to unsigned type ../../purecvs/bfd/elf32-score.c:957: warning: large integer implicitly truncated to unsigned type ../../purecvs/bfd/elf32-score.c:972: warning: large integer implicitly truncated to unsigned type ../../purecvs/bfd/elf32-score.c:972: warning: large integer implicitly truncated to unsigned type ../../purecvs/bfd/elf32-score.c: In function `score_elf_final_link_relocate': ../../purecvs/bfd/elf32-score.c:2199: warning: right shift count >= width of typ e ../../purecvs/bfd/elf32-score.c:2212: warning: left shift count >= width of type ../../purecvs/bfd/elf32-score.c:2226: warning: right shift count >= width of typ e ../../purecvs/bfd/elf32-score.c:2232: warning: left shift count >= width of type ../../purecvs/bfd/elf32-score.c: In function `s3_bfd_score_elf_relocate_section' : ../../purecvs/bfd/elf32-score.c:2521: warning: right shift count >= width of typ e ../../purecvs/bfd/elf32-score.c:2530: warning: left shift count >= width of type ../../purecvs/bfd/elf32-score.c:2541: warning: right shift count >= width of typ e ../../purecvs/bfd/elf32-score.c:2557: warning: left shift count >= width of type make[3]: *** [elf32-score.lo] Error 1 make[3]: Leaving directory `/usr/local/src/gdbcvs/multibuild32/bfd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/gdbcvs/multibuild32/bfd' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/local/src/gdbcvs/multibuild32/bfd' make: *** [all-bfd] Error 2