git: libc: Add temporary (get|set)affinity DF404.0 symbols

Sepherosa Ziehau sepherosa at gmail.com
Sun Feb 5 17:54:24 PST 2017


On Mon, Feb 6, 2017 at 7:09 AM, John Marino
<marino at crater.dragonflybsd.org> wrote:
>
> commit 3c2537818c14aaba122a276020143cd4b92d2cbc
> Author: John Marino <draco at marino.st>
> Date:   Sun Feb 5 16:44:34 2017 -0600
>
>     libc: Add temporary (get|set)affinity DF404.0 symbols
>
>     The sched_getaffinity, sched_setaffinity and related work had the new
>     symbols erroneously given DF404.0 versioning.  This was corrected by
>     commit 6262c9d, but that in turn broke any userland programs built
>     with the original symbol versions.
>
>     This patch redefines the old symbols while maintaining the correct
>     DF408.0 versions, but it is intended to be temporary.  After the
>     branch (e.g. Release 4.8), this commit should be reverted so that
>     the next development trunk won't have the DF404.0 versions.  It's
>     expected that all ports and third-party software is rebuilt when
>     upgrading to a new release.  This serves as a reasonable bridge
>     to allow affected users to do that rebuild.
>
>     This patch is particularly intrusive regarding the syscall assembly
>     file creation, so it's not something we want to leave in place
>     permanently in my opinion.
>
> Summary of changes:
>  lib/libc/sys/Makefile.inc        | 10 +++++++++-
>  lib/libc/sys/sched_getaffinity.c |  4 ++++
>  lib/libc/sys/sched_getcpu.c      |  4 ++++
>  lib/libc/sys/sched_setaffinity.c |  4 ++++
>  4 files changed, 21 insertions(+), 1 deletion(-)

Oh, sorry for the troubles -_-

Thanks,
sephe

-- 
Tomorrow Will Never Die



More information about the Commits mailing list