[Toybox] [PATCH] macOS: target 10.15.

enh enh at google.com
Fri Jun 3 09:20:04 PDT 2022


On Thu, Jun 2, 2022 at 5:48 PM David Seikel <onefang_toybox at dave.isageek.net>
wrote:

> On 2022-06-02 17:41:09, enh via Toybox wrote:
> >    Oh, yeah, I think *especially* for macOS where pretty much everyone is
> >    always on the latest version anyway, unless your Mac equivalent of the
> >    seven year rule is "support the oldest macOS release that still gets
> >    security backports", there's no reason to do this. It's pretty rare
> they
> >    add anything significant anyway.
>
> Um do you mean there's no one running old unsupported versions of macOS?
>
> My ancient Mac Mini is running an old unsupported macOS.  I don't think
> they have a supported version for it.  One of these days I'll try to
> upgrade it, but I know the latetst version wont install, though there might
> still be a supproted version.
>

and if you do, then it's my other statement about "there hasn't been much
interesting changed recently". libc changes on macOS are pretty rare.
clock_gettime() in 10.12 is the last interesting change i can remember, and
that was 2016.

to be clear, just like Android, a binary built with "min" being set to
version n doesn't guarantee it _doesn't_ work on (n-1) --- it often does,
which is why so many people have confusion on this point when they finally
hit something that _doesn't_ work. it just means that the compiler won't
warn you if you try to use something that didn't exist in (n-1). but the
runtime linker will, and it's easy to diagnose and fix.

if we get bug reports, we can always change the min target for CI in
response.

(afaik, AOSP is the only mac toybox user, with some security researcher
being the only iOS toybox user [but iOS is a whole different kettle of
compatibility fish anyway!].)


> I rarely use it these days, and got more important things keeping me busy.
>

exactly :-) i wasn't arguing that there aren't old devices in cupboards;
just that "of the devices we see _actually using stuff_ [that collects
usage metrics], their owners keep them up to date better than other OSes".
in stark contrast to Windows in particular, where i pretty much can't turn
on the TV without seeing someone still using Windows XP in 2022...


> >    On Thu, Jun 2, 2022, 17:34 Rob Landley <rob at landley.net> wrote:
> >
> >      On 6/2/22 12:43, enh via Toybox wrote:
> >      > 10.15 is currently the oldest macOS release that's still getting
> >      > security updates (probably until the end of 2022, if history is
> any
> >      > guide). Without this, toybox built on newer versions will by
> default
> >      > target that version.
> >      >
> >      > Tested by adding -v and seeing that the "sdk" in use changed from
> >      > 12.0.0 by default to 11.0.0 with this flag (Apple has multiple
> >      > version numbering schemes; my kernel says it's 21.5.0 already!).
> >
> >      Hmmm... Switching which version github is building is one thing, but
> >      switching
> >      the default in scripts/portability.sh seems a bit micromanagey? (I
> >      wouldn't
> >      think an -mtune for Linux would belong there...)
> >
> >      Rob
>
> --
> A big old stinking pile of genius that no one wants
> coz there are too many silver coated monkeys in the world.
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20220603/007b316b/attachment-0001.htm>


More information about the Toybox mailing list