This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
GDB Head Build Failure on CentOS 7
- From: Joel Sherrill <joel at rtems dot org>
- To: gdb at sourceware dot org
- Date: Thu, 20 Jun 2019 07:41:00 -0500
- Subject: GDB Head Build Failure on CentOS 7
- Reply-to: joel at rtems dot org
Hi
Some recent change has resulted in all 20 *-rtems targets failing to build
on CentOS 7. Is this intentional?
CXX dwarf-index-cache.o
In file included from /usr/include/c++/4.8.2/bits/hashtable.h:35:0,
from /usr/include/c++/4.8.2/unordered_map:47,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf2read.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-write.h:24,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:28:
/usr/include/c++/4.8.2/bits/hashtable_policy.h: In instantiation of ‘struct
std::__detail::_Hash_code_base<sect_offset, std::pair<const sect_offset,
std::vector<sect_offset> >, std::__detail::_Select1st,
std::hash<sect_offset>, std::__detail::_Mod_range_hashing,
std::__detail::_Default_ranged_hash, true>’:
/usr/include/c++/4.8.2/bits/hashtable_policy.h:1402:10: required from
‘struct std::__detail::_Hashtable_base<sect_offset, std::pair<const
sect_offset, std::vector<sect_offset> >, std::__detail::_Select1st,
std::equal_to<sect_offset>, std::hash<sect_offset>,
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash,
std::__detail::_Hashtable_traits<true, false, true> >’
/usr/include/c++/4.8.2/bits/hashtable.h:174:11: required from ‘class
std::_Hashtable<sect_offset, std::pair<const sect_offset,
std::vector<sect_offset> >, std::allocator<std::pair<const sect_offset,
std::vector<sect_offset> > >, std::__detail::_Select1st,
std::equal_to<sect_offset>, std::hash<sect_offset>,
std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash,
std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true,
false, true> >’
/usr/include/c++/4.8.2/bits/unordered_map.h:100:18: required from ‘class
std::unordered_map<sect_offset, std::vector<sect_offset> >’
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf2read.h:260:5:
required from here
/usr/include/c++/4.8.2/bits/hashtable_policy.h:1070:12: error: invalid use
of incomplete type ‘struct std::hash<sect_offset>’
struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
^
In file included from /usr/include/c++/4.8.2/bits/basic_string.h:3033:0,
from /usr/include/c++/4.8.2/string:52,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-utils.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-defs.h:122,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/defs.h:28,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:20:
/usr/include/c++/4.8.2/bits/functional_hash.h:58:12: error: declaration of
‘struct std::hash<sect_offset>’
struct hash;
^
In file included from /usr/include/c++/4.8.2/bits/hashtable.h:35:0,
from /usr/include/c++/4.8.2/unordered_map:47,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf2read.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-write.h:24,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:28:
/usr/include/c++/4.8.2/bits/hashtable_policy.h:1070:12: error: invalid use
of incomplete type ‘struct std::hash<sect_offset>’
struct _Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2,
^
In file included from /usr/include/c++/4.8.2/bits/basic_string.h:3033:0,
from /usr/include/c++/4.8.2/string:52,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-utils.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-defs.h:122,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/defs.h:28,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:20:
/usr/include/c++/4.8.2/bits/functional_hash.h:58:12: error: declaration of
‘struct std::hash<sect_offset>’
struct hash;
^
In file included from /usr/include/c++/4.8.2/bits/hashtable.h:35:0,
from /usr/include/c++/4.8.2/unordered_map:47,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf2read.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-write.h:24,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:28:
/usr/include/c++/4.8.2/bits/hashtable_policy.h:1082:53: error: invalid use
of incomplete type ‘struct std::hash<sect_offset>’
using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
^
In file included from /usr/include/c++/4.8.2/bits/basic_string.h:3033:0,
from /usr/include/c++/4.8.2/string:52,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-utils.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-defs.h:122,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/defs.h:28,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:20:
/usr/include/c++/4.8.2/bits/functional_hash.h:58:12: error: declaration of
‘struct std::hash<sect_offset>’
struct hash;
^
In file included from /usr/include/c++/4.8.2/bits/hashtable.h:35:0,
from /usr/include/c++/4.8.2/unordered_map:47,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf2read.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-write.h:24,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:28:
/usr/include/c++/4.8.2/bits/hashtable_policy.h:1082:53: error: invalid use
of incomplete type ‘struct std::hash<sect_offset>’
using __ebo_h1 = _Hashtable_ebo_helper<1, _H1>;
^
In file included from /usr/include/c++/4.8.2/bits/basic_string.h:3033:0,
from /usr/include/c++/4.8.2/string:52,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-utils.h:23,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/common/common-defs.h:122,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/defs.h:28,
from
../../sourceware-mirror-binutils-gdb-6f5601c4d0/gdb/dwarf-index-cache.c:20:
/usr/include/c++/4.8.2/bits/functional_hash.h:58:12: error: declaration of
‘struct std::hash<sect_offset>’
struct hash;
^
make[2]: *** [dwarf-index-cache.o] Error 1