error building trunk with gcc trunk

Joel Sherrill joel.sherrill@oarcorp.com
Mon Mar 30 17:47:00 GMT 2009


Hi,

As part of the RTEMS tool testing, I build a native gcc and
then use it to build the cross tools. binutils started giving
these errors on 32 and 64 bit Fedora hosts. Any ideas?

cc1: warnings being treated as errors
/home/joel/test-gcc/binutils-cvs/src/bfd/elf.c: In function 
‘_bfd_elf_print_private_bfd_data’:
/home/joel/test-gcc/binutils-cvs/src/bfd/elf.c:1198: error: offset ‘2’ 
outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elf.c:1198: error: offset ‘3’ 
outside bounds of constant string
cc1: warnings being treated as errors
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c: In function 
‘eval_symbol’:
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7658: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7659: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7660: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7661: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7662: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7663: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7664: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7665: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7666: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7667: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7668: error: offset 
‘3’ outside bounds of constant string
/home/joel/test-gcc/binutils-cvs/src/bfd/elflink.c:7669: error: offset 
‘3’ outside bounds of constant string
make[4]: *** [elf.lo] Error 1



-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985




More information about the Binutils mailing list