Zlib patch and gold arm-elf target bug report

Rus harbour@sfinx.od.ua
Mon Aug 16 19:04:00 GMT 2010


 	Hello,

The following patch needed for compiling binutils with Werror :

--- binutils-2.20.51.0.11/bfd/compress.c        2010-08-12 00:52:42.000000000 +0300
+++ binutils-2.20.51.0.11-1/bfd/compress.c      2010-08-16 18:20:45.004000011 +0300
@@ -94,7 +94,7 @@
    bfd_set_error (bfd_error_invalid_operation);
    return FALSE;
  #else
-  bfd_size_type compressed_size;
+  uLongf compressed_size;
    bfd_byte *compressed_buffer;

    compressed_size = compressBound (uncompressed_size) + 12;


I use 3 arches (x86, avr and arm-ef). 2 first are good, but 'make check' 
for arm-elf target is failed with :

make[5]: `arm_abs_global.stdout' is up to date.
../ld-new -T ./arm_branch_range.t -o arm_bl_in_range arm_bl_in_range.o
../ld-new: internal error in relocate, at arm.cc:8944
make[5]: *** [arm_bl_in_range] Error 1
make[5]: Leaving directory 
`/Arhiv/Soft/src/binutils/1/binutils-2.20.51.0.11/gold/testsuite'


 		Rus



More information about the Binutils mailing list