binutils checked from CVS right now fails to build on 32-bit as well as 64-bit systems
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) gcc-4.2.3 (GCC) 4.2.3 ./configure --enable-gold powerpc.cc:631: error: overflow in implicit constant conversion powerpc.cc: In static member function ‘static void<unnamed>::Powerpc_relocate_functions<size, big_endian>::addr16_ha(unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, typename elfcpp::Elf_types<size>::Elf_Addr) [with int size = 32, bool big_endian = true]’: powerpc.cc:1709: instantiated from ‘bool<unnamed>::Target_powerpc<size, big_endian>::Relocate::relocate(const gold::Relocate_info<size, big_endian>*, <unnamed>::Target_powerpc<size, big_endian>*, size_t, const elfcpp::Rela<size, big_endian>&, unsigned int, const gold::Sized_symbol<size>*, const gold::Symbol_value<size>*, unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, gold::section_size_type) [with int size = 32, bool big_endian = true]’ target-reloc.h:271: instantiated from ‘void gold::relocate_section(const gold::Relocate_info<size, big_endian>*, Target_type*, const unsigned char*, size_t, gold::Output_section*, bool, unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, gold::section_size_type) [with int size = 32, bool big_endian = true, Target_type = <unnamed>::Target_powerpc<32, true>, int sh_type = 4, Relocate = <unnamed>::Target_powerpc<32, true>::Relocate]’ powerpc.cc:1819: instantiated from ‘void<unnamed>::Target_powerpc<size, big_endian>::relocate_section(const gold::Relocate_info<size, big_endian>*, unsigned int, const unsigned char*, size_t, gold::Output_section*, bool, unsigned char*, typename elfcpp::Elf_types<size>::Elf_Addr, gold::section_size_type) [with int size = 32, bool big_endian = true]’ powerpc.cc:1982: instantiated from here powerpc.cc:608: error: overflow in implicit constant conversion make[4]: *** [powerpc.o] Error 1 -- Summary: gold compilation failure on both i686 and x86+64 Product: binutils Version: 2.19 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold AssignedTo: ian at airs dot com ReportedBy: peter dot kovar at gmail dot com CC: bug-binutils at gnu dot org GCC build triplet: x86_64-unknown-linux-gnu GCC host triplet: x86_64-unknown-linux-gnu GCC target triplet: x86_64-unknown-linux-gnu http://sourceware.org/bugzilla/show_bug.cgi?id=6682 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils