[MacPorts] #67671: gdb @13.1: opportunistic use of zstd

MacPorts noreply at macports.org
Wed Sep 27 02:22:44 UTC 2023


#67671: gdb @13.1: opportunistic use of zstd
---------------------+--------------------
  Reporter:  tcwan   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.8.1
Resolution:          |   Keywords:
      Port:  gdb     |
---------------------+--------------------

Comment (by tcwan):

 Now I'm getting the following error when building gdb 13.1 on macOS
 Ventura 13.6, gdb +multiarch +python311


 {{{
 :info:build   CXXLD  gdb
 :info:build ld: warning: ignoring file /opt/local/lib/libxxhash.dylib,
 building for macOS-x86_64 but attempting to link with file built for
 macOS-arm64
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_XXH64", referenced from:
 :info:build       gdb::bcache::hash(void const*, int) in bcache.o
 :info:build
 minimal_symbol_reader::install()::$_0::operator()(minimal_symbol*,
 minimal_symbol*) const in minsyms.o
 :info:build       psymbol_bcache::hash(void const*, int) in psymtab.o
 :info:build       hashname(char const*) in stabsread.o
 :info:build       common_block_end(objfile*) in stabsread.o
 :info:build       scan_file_globals(objfile*) in stabsread.o
 :info:build
 general_symbol_info::compute_and_set_names(gdb::basic_string_view<char,
 std::__1::char_traits<char>>, bool, objfile_per_bfd_storage*,
 gdb::optional<unsigned int>) in symtab.o
 :info:build       ...
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)

 }}}

 {{{
 % port echo installed|fgrep xxhashlib
 xxhashlib                      @0.8.2_3
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67671#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list