[MacPorts] #69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing _getentropy and _clock_gettime

MacPorts noreply at macports.org
Mon Jan 22 20:39:48 UTC 2024


#69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing  _getentropy and
_clock_gettime
------------------------+---------------------------------
  Reporter:  snowflake  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.8.99
Resolution:             |   Keywords:
      Port:  rust       |
------------------------+---------------------------------

Comment (by rmottola):

 I have the same issue on 10.7
 Several linker items, but also the same symbols missing.
 I bet it affects more systems, but currently 10.5 and 10.6 bail out on
 rust due to compile errors, so they don't get to linking.

 Do we have an entropy fallback in LegacySupport?

 {{{
 :info:build           ld: warning: cannot export hidden symbol ___udivti3
 from
 /opt/local/libexec/llvm-16/lib/clang/16/lib/darwin/libclang_rt.osx.a(udivti3.c.o)
 :info:build           ld: warning: cannot export hidden symbol ___umoddi3
 from
 /opt/local/libexec/llvm-16/lib/clang/16/lib/darwin/libclang_rt.osx.a(umoddi3.c.o)
 :info:build           ld: warning: cannot export hidden symbol ___umodsi3
 from
 /opt/local/libexec/llvm-16/lib/clang/16/lib/darwin/libclang_rt.osx.a(umodsi3.c.o)
 :info:build           ld: warning: cannot export hidden symbol ___umodti3
 from
 /opt/local/libexec/llvm-16/lib/clang/16/lib/darwin/libclang_rt.osx.a(umodti3.c.o)
 :info:build           Undefined symbols for architecture x86_64:
 :info:build             "_getentropy", referenced from:
 :info:build
 std::sys::unix::rand::imp::fill_bytes::h1e6f730ecd7d963f in std-
 35a9205a1c5a5e53.std.d632d37dc9be385b-cgu.13.rcgu.o
 :info:build             "_clock_gettime", referenced from:
 :info:build
 __ZN3std3sys4unix4time8Timespec3now17h767a5632f4dda4a4E.llvm.6669113470407685218
 in std-35a9205a1c5a5e53.std.d632d37dc9be385b-cgu.11.rcgu.o

 }}}

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


More information about the macports-tickets mailing list