[MacPorts] #69138: rust @1.75.0 : Does not build on macOS 10.11.6 - missing _getentropy and _clock_gettime
MacPorts
noreply at macports.org
Sat Mar 2 21:57:47 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):
Replying to [comment:4 mqudsi]:
> FYI this was caused by upstream deprecating support for anything before
macOS (née OS X) 10.12.
>
> This commit is responsible for this particular issue: https://github.com
/rust-lang/rust/commit/090e9de5708388a21d66adbec91c871a48ac355e
>
> A compatibility shim for `getentropy(3)`/`_getentropy()` would be the
ideal way to go, but a patch reverting that commit would also work.
oh, that is nasty... it hampers so many good systems... I tried applying
the patch you mentioned reverse and compilation fails futher:
{{{
Undefined symbols for architecture i386:
"_clock_gettime", referenced from:
std::sys::unix::time::Timespec::now::h30810a3321b633c8
(.llvm.16531347933994784664) in std-
0d102736d5b7d56a.std.5eedb8253ab94e49-cgu.12.rcgu.o
ld: symbol(s) not found for architecture i386
}}}
Do we have that in legacy support?
--
Ticket URL: <https://trac.macports.org/ticket/69138#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list