This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Compiling GOLD with GCC 7 fails with compiler errors
- From: Tobias Burnus <tobias dot burnus at physik dot fu-berlin dot de>
- To: binutils at sourceware dot org
- Date: Wed, 8 Jun 2016 10:32:00 +0200
- Subject: Compiling GOLD with GCC 7 fails with compiler errors
- Authentication-results: sourceware.org; auth=none
Dear all,
since a couple of days, compiling binutils-gdb with GCC 7 fails for gold/mips.cc with the error message.
That's with the current GIT version of binutils-gdb and GCC on a CentOS 6.8 x86-64-gnu-linux system.
---------------------------------------------------------------
../../gold/mips.cc:6146:8: error: conversion from
âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â
to non-scalar type
âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â
requested
---------------------------------------------------------------
I have not yet investigated since which binutils or GCC change it fails
and whose fault it is.
Cheers,
Tobias
PS: Full compiler output for this failing case:
../../gold/mips.cc: In instantiation of âvoid {anonymous}::Mips_output_data_got<size, big_endian>::do_write(gold::Output_file*) [with int size = 64; bool big_endian = false]â:
../../gold/target-select.h:39:7: required from here
../../gold/mips.cc:6146:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6147:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc:6163:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6164:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc: In instantiation of âvoid {anonymous}::Mips_output_data_got<size, big_endian>::do_write(gold::Output_file*) [with int size = 64; bool big_endian = true]â:
../../gold/target-select.h:39:7: required from here
../../gold/mips.cc:6146:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6147:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc:6163:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6164:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<64>*, {anonymous}::Mips_symbol_hash<64>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<64>*, std::hash<{anonymous}::Mips_symbol<64>*>, std::equal_to<{anonymous}::Mips_symbol<64>*>, std::allocator<{anonymous}::Mips_symbol<64>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<64>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc: In instantiation of âvoid {anonymous}::Mips_output_data_got<size, big_endian>::do_write(gold::Output_file*) [with int size = 32; bool big_endian = false]â:
../../gold/target-select.h:39:7: required from here
../../gold/mips.cc:6146:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6147:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc:6163:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6164:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc: In instantiation of âvoid {anonymous}::Mips_output_data_got<size, big_endian>::do_write(gold::Output_file*) [with int size = 32; bool big_endian = true]â:
../../gold/target-select.h:39:7: required from here
../../gold/mips.cc:6146:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6147:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6147:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
../../gold/mips.cc:6163:8: error: conversion from âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â to non-scalar type âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â requested
p = this->master_got_info_->global_got_symbols().begin();
^
../../gold/mips.cc:6164:10: error: no match for âoperator!=â (operand types are âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â and âstd::unordered_set<{anonymous}::Mips_symbol<32>*, {anonymous}::Mips_symbol_hash<32>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, true>}â)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: candidate: template<class _Key, class _Value, class _ExtractKey, class _H1, class _H2, class _Hash, bool __cache> bool std::__detail::operator!=(const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&, const std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>&)
operator!=(const _Local_iterator_base<_Key, _Value, _ExtractKey,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:1620:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: âstd::unordered_set<{anonymous}::Mips_symbol<32>*, std::hash<{anonymous}::Mips_symbol<32>*>, std::equal_to<{anonymous}::Mips_symbol<32>*>, std::allocator<{anonymous}::Mips_symbol<32>*> >::iterator {aka std::__detail::_Node_iterator<{anonymous}::Mips_symbol<32>*, true, false>}â is not derived from âconst std::__detail::_Local_iterator_base<_Key, _Value, _ExtractKey, _H1, _H2, _Hash, __cache>â
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: candidate: template<class _Value, bool _Cache_hash_code> bool std::__detail::operator!=(const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&, const std::__detail::_Node_iterator_base<_Value, _Cache_hash_code>&)
operator!=(const _Node_iterator_base<_Value, _Cache_hash_code>& __x,
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:326:5: note: template argument deduction/substitution failed:
../../gold/mips.cc:6164:10: note: deduced conflicting values for non-type parameter â_Cache_hash_codeâ (âfalseâ and âtrueâ)
p != this->master_got_info_->global_got_symbols().end();
In file included from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable.h:35:0,
from /data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/unordered_set:47,
from ../../gold/system.h:62,
from ../../gold/gold.h:35,
from ../../gold/mips.cc:25:
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:367:7: warning: âstd::__detail::_Node_iterator<_Value, __constant_iterators, __cache>& std::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::operator++() noexcept [with _Value = {anonymous}::Mips_symbol<32>*; bool __constant_iterators = true; bool __cache = false]â used but never defined
operator++() noexcept
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:359:7: warning: âstd::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::reference std::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::operator*() const noexcept [with _Value = {anonymous}::Mips_symbol<32>*; bool __constant_iterators = true; bool __cache = false]â used but never defined
operator*() const noexcept
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:367:7: warning: âstd::__detail::_Node_iterator<_Value, __constant_iterators, __cache>& std::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::operator++() noexcept [with _Value = {anonymous}::Mips_symbol<64>*; bool __constant_iterators = true; bool __cache = false]â used but never defined
operator++() noexcept
^~~~~~~~
/data/local_users/tobiasb/gcc/gcc-trunk/include/c++/7.0.0/bits/hashtable_policy.h:359:7: warning: âstd::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::reference std::__detail::_Node_iterator<_Value, __constant_iterators, __cache>::operator*() const noexcept [with _Value = {anonymous}::Mips_symbol<64>*; bool __constant_iterators = true; bool __cache = false]â used but never defined
operator*() const noexcept
^~~~~~~~
make[4]: *** [mips.o] Error 1