[MacPorts] #68598: rustc fails on 10.6 : undefined ___mpls_readdir

MacPorts noreply at macports.org
Tue Oct 31 11:17:39 UTC 2023


#68598: rustc fails on 10.6 : undefined ___mpls_readdir
-------------------------+--------------------
 Reporter:  rmottola     |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:  snowleopard  |       Port:  rustc
-------------------------+--------------------
 rust c fails to compile on 64bit Snow Leopard


 {{{
   = note: Undefined symbols for architecture x86_64:
             "___mpls_readdir", referenced from:
 llvm::sys::fs::detail::directory_iterator_increment(llvm::sys::fs::detail::DirIterState&)
 in librustc_llvm-446857b0e90519b0.rlib(Path.cpp.o)
             "___mpls_closedir", referenced from:
 llvm::sys::fs::detail::directory_iterator_increment(llvm::sys::fs::detail::DirIterState&)
 in librustc_llvm-446857b0e90519b0.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::~__shared_ptr_emplace() in librustc_llvm-
 446857b0e90519b0.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::~__shared_ptr_emplace() in librustc_llvm-
 446857b0e90519b0.rlib(Path.cpp.o)
 std::__1::__shared_ptr_emplace<llvm::sys::fs::detail::DirIterState,
 std::__1::allocator<llvm::sys::fs::detail::DirIterState>
 >::__on_zero_shared() in librustc_llvm-446857b0e90519b0.rlib(Path.cpp.o)
             "___mpls_opendir", referenced from:
 llvm::sys::fs::detail::directory_iterator_construct(llvm::sys::fs::detail::DirIterState&,
 llvm::StringRef, bool) in librustc_llvm-446857b0e90519b0.rlib(Path.cpp.o)
           ld: symbol(s) not found for architecture x86_64
           clang: error: linker command failed with exit code 1 (use -v to
 see invocation)



 Did not run successfully: exit status: 1

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68598>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list