This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: build failure


On Thu, Mar 12, 2009 at 12:41 PM, Tom Tromey <tromey@redhat.com> wrote:
> 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
>

Sounds like Score needs set want64=true in config.bfd.


-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]