bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/6682] New: gold compilation failure on both i686 and x86+64


From: peter dot kovar at gmail dot com
Subject: [Bug gold/6682] New: gold compilation failure on both i686 and x86+64
Date: 20 Jun 2008 22:07:43 -0000

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]&#8217;:
powerpc.cc:1709:   instantiated from &#8216;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]&#8217;
target-reloc.h:271:   instantiated from &#8216;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]&#8217;
powerpc.cc:1819:   instantiated from &#8216;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]&#8217;
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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]