Opened 3 years ago
Last modified 3 years ago
#68598 assigned defect
rustc fails on 10.6 : undefined ___mpls_readdir
| Reported by: | rmottola (Riccardo) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | |
| Keywords: | snowleopard | Cc: | evanmiller (Evan Miller) |
| Port: | rust |
Description
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
Attachments (1)
Change History (4)
Changed 3 years ago by rmottola (Riccardo)
| Attachment: | main.log.gz added |
|---|
comment:1 Changed 3 years ago by rmottola (Riccardo)
| Owner: | set to MarcusCalhoun-Lopez |
|---|---|
| Port: | rust added; rustc removed |
| Status: | new → assigned |
comment:2 Changed 3 years ago by evanmiller (Evan Miller)
| Cc: | evanmiller added |
|---|
comment:3 Changed 3 years ago by rmottola (Riccardo)
Note: See
TracTickets for help on using
tickets.

Any ideas on this? Just got struck by it today again, rust-1.71.1_1