This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
build failure
- From: Tom Tromey <tromey at redhat dot com>
- To: Binutils Development <binutils at sourceware dot org>
- Date: Thu, 12 Mar 2009 13:41:08 -0600
- Subject: build failure
- Reply-to: Tom Tromey <tromey at redhat dot com>
On x86 Fedora 9, with --enable-targets=all, the CVS head build fails
as appended.
On this machine, bfd_vma is a 32 bit type.
Tom
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -DTRAD_CORE -I. -I../../src/bfd -I../../src/bfd/../include -g3 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g3 -c -o elf32-score.lo ../../src/bfd/elf32-score.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -DTRAD_CORE -I. -I../../src/bfd -I../../src/bfd/../include -g3 -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g3 -c ../../src/bfd/elf32-score.c -o elf32-score.o
cc1: warnings being treated as errors
../../src/bfd/elf32-score.c: In function âscore3_bfd_putl48â:
../../src/bfd/elf32-score.c:290: error: right shift count >= width of type
../../src/bfd/elf32-score.c:291: error: right shift count >= width of type
../../src/bfd/elf32-score.c: At top level:
../../src/bfd/elf32-score.c:957: error: large integer implicitly truncated to unsigned type
../../src/bfd/elf32-score.c:957: error: large integer implicitly truncated to unsigned type
../../src/bfd/elf32-score.c:972: error: large integer implicitly truncated to unsigned type
../../src/bfd/elf32-score.c:972: error: large integer implicitly truncated to unsigned type
../../src/bfd/elf32-score.c: In function âscore_elf_final_link_relocateâ:
../../src/bfd/elf32-score.c:2199: error: right shift count >= width of type
../../src/bfd/elf32-score.c:2212: error: left shift count >= width of type
../../src/bfd/elf32-score.c:2226: error: right shift count >= width of type
../../src/bfd/elf32-score.c:2232: error: left shift count >= width of type
../../src/bfd/elf32-score.c: In function âs3_bfd_score_elf_relocate_sectionâ:
../../src/bfd/elf32-score.c:2521: error: right shift count >= width of type
../../src/bfd/elf32-score.c:2530: error: left shift count >= width of type
../../src/bfd/elf32-score.c:2541: error: right shift count >= width of type
../../src/bfd/elf32-score.c:2557: error: left shift count >= width of type
make[2]: *** [elf32-score.lo] Error 1