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: Release 2.21 - Pre tests


On Nov 23, 2010, at 10:03 PM, Ian Lance Taylor wrote:

> Tristan Gingold <gingold@adacore.com> writes:
> 
>> 2) I wasn't able to build gold with the compilers I used (gcc 4.1.2 from RH or gcc 4.1.0 from SUSE)
> 
> What failed?

../../binutils-2.20.90/gold/arm.cc: In instantiation of 'const size_t <unnamed>::Target_arm<false>::fake_relnum_for_stubs':
../../binutils-2.20.90/gold/arm.cc:8627:   instantiated from 'bool<unnamed>::Target_arm<big_endian>::Relocate::relocate(const gold::Relocate_info<32, big_endian>*, <unnamed>::Target_arm<big_endian>*, gold::Output_section*, size_t, const elfcpp::Rel<32, big_endian>&, unsigned int, const gold::Sized_symbol<32>*, const gold::Symbol_value<32>*, unsigned char*, <unnamed>::Arm_address, gold::section_size_type) [with bool big_endian = false]'
../../binutils-2.20.90/gold/target-reloc.h:334:   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, const gold::Reloc_symbol_changes*) [with int size = 32, bool big_endian = false, Target_type = <unnamed>::Target_arm<false>, int sh_type = 9, Relocate = <unnamed>::Target_arm<false>::Relocate]'
../../binutils-2.20.90/gold/arm.cc:9263:   instantiated from 'void<unnamed>::Target_arm<big_endian>::relocate_section(const gold::Relocate_info<32, big_endian>*, unsigned int, const unsigned char*, size_t, gold::Output_section*, bool, unsigned char*, <unnamed>::Arm_address, gold::section_size_type, const gold::Reloc_symbol_changes*) [with bool big_endian = false]'
../../binutils-2.20.90/gold/arm.cc:11770:   instantiated from here
../../binutils-2.20.90/gold/arm.cc:2140: internal compiler error: in make_rtl_for_nonlocal_decl, at cp/decl.c:5067
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccEtfk5w.out file, please attach this to your bugreport.


or (on SUSE):

../../binutils-2.20.90/gold/icf.cc: In function â??bool gold::match_sections(unsigned int, gold::Symbol_table*, std::vector<unsigned int, std::allocator<unsigned int> >*, std::vector<unsigned int, std::allocator<unsigned int> >*, const std::vector<std::pair<gold::Object*, unsigned int>, std::allocator<std::pair<gold::Object*, unsigned int> > >&, std::vector<bool, std::allocator<bool> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >*)â??:
../../binutils-2.20.90/gold/icf.cc:616: error: no matching function for call to â??Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator()â??
/usr/include/c++/4.1.0/tr1/hashtable:309: note: candidates are: Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:305: note:                 Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>*, Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:295: note:                 Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator(const Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>&)
/usr/include/c++/4.1.0/bits/stl_pair.h: In constructor â??std::pair<_T1, _T2>::pair() [with _T1 = Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>, _T2 = bool]â??:
../../binutils-2.20.90/gold/icf.cc:173:   instantiated from here
/usr/include/c++/4.1.0/bits/stl_pair.h:81: error: no matching function for call to â??Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator()â??
/usr/include/c++/4.1.0/tr1/hashtable:309: note: candidates are: Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:305: note:                 Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>*, Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:295: note:                 Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator(const Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>&)
/usr/include/c++/4.1.0/bits/stl_pair.h: In constructor â??std::pair<_T1, _T2>::pair() [with _T1 = Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>, _T2 = Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>]â??:
../../binutils-2.20.90/gold/icf.cc:552:   instantiated from here
/usr/include/c++/4.1.0/bits/stl_pair.h:81: error: no matching function for call to â??Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator()â??
/usr/include/c++/4.1.0/tr1/hashtable:309: note: candidates are: Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:305: note:                 Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>*, Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:295: note:                 Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator(const Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>&)
/usr/include/c++/4.1.0/bits/stl_pair.h:81: error: no matching function for call to â??Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator()â??
/usr/include/c++/4.1.0/tr1/hashtable:309: note: candidates are: Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:305: note:                 Internal::hashtable_iterator<Value, constant_iterators, cache>::hashtable_iterator(Internal::hash_node<Value, cache>*, Internal::hash_node<Value, cache>**) [with Value = std::pair<const unsigned int, unsigned int>, bool constant_iterators = false, bool cache = false]
/usr/include/c++/4.1.0/tr1/hashtable:295: note:                 Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>::hashtable_iterator(const Internal::hashtable_iterator<std::pair<const unsigned int, unsigned int>, false, false>&)




Tristan.


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