problem compiling ArchC-2.4.1

7 views
Skip to first unread message

dtb

unread,
Dec 27, 2020, 10:31:23 AM12/27/20
to ArchC Development
hi
I am trying to compile ArchC v2.4.1, and I am stopped by this error

/usr/lib/gcc/9.3.0/include/g++-v9/backward/hashtable.h:609:31: error: no match for call to ‘(const hasher {aka const __gnu_cxx::hash<long long unsigned int>}) (const key_type&)’
  609 |       { return _M_hash(__key) % __n; }
ac_hltrace.cpp:409:13: warning: ‘bool print_dwarf_function(Dwfl_Module*, Dwarf_Addr, LineInfo*)’ defined but not used [-Wunused-function]
  409 | static bool print_dwarf_function (Dwfl_Module *mod, Dwarf_Addr addr, LineInfo* lineInfo)
      |             ^~~~~~~~~~~~~~~~~~~~


/usr/lib/gcc/9.3.0/include/g++-v9/backward/hashtable.h:609

607:     size_type
608:      _M_bkt_num_key(const key_type& __key, size_t __n) const
609:      { return _M_hash(__key) % __n; }  

Any idea?
DTB
Reply all
Reply to author
Forward
0 new messages