pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox-112
> 4. It turns out our xsrc Mesa had an old TLS patch from tnn@ in pkgsrc
> Mesa, dating to 2019, which introduced the definition of
> _glapi_tls_Context into libGL.so:
>
> commit e81a0f50af920255e5c0c0df06ae2d08d5cdc554
> Author: maya <maya%NetBSD.org@localhost>
> Date: Tue Apr 9 14:14:59 2019 +0000
>
> Add workaround for non-zero initialized initial-exec TLS variables.
> NetBSD doesn't support these with dlopen.
>
> Ref:
> https://bugs.freedesktop.org/show_bug.cgi?id=35268
> https://mail-index.netbsd.org/pkgsrc-users/2015/09/11/msg022180.html
> http://gnats.netbsd.org/50277
>
> Fixes dlopen of libGL reported by prlw1 on current users.
> From tnn, via pkgsrc/graphics/MesaLib*.
>
> That patch was since updated by tnn@ in 2020:
>
> commit 0e33e24256c28aed530eb25e07d1c2f23bdf1e12
> Author: tnn <tnn%pkgsrc.org@localhost>
> Date: Wed Feb 19 21:03:41 2020 +0000
>
> MesaLib: fix issues in TLS dispatch code on NetBSD/amd64. Bump.
>
> - workaround for toolchain/50277 had bitrotted after meson switch
> - make tls dispatch stub template behave correct (with input from joerg@)
> - double alignment of stubs to accommodate slightly larger code size
>
> Fixes among other things Xorg crash in glamor_egl_init().
>
> But we have not applied the updated patch to xsrc.
BTW,
- netbsd-9 has patched one in xsrc/external/mit/MesaLib
but not in xsrc/external/mit/MesaLib.old
- in netbsd-9 xsrc/external/mit/MesaLib is for HAVE_MESA_VER=18,
xsrc/external/mit/MesaLib.old is for HAVE_MESA_VER=10, and
HAVE_MESA_VER=18 (i.e. MesaLib) is the default
- netbsd-10 also has patched one in xsrc/external/mit/MesaLib
but not in xsrc/external/mit/MesaLib.old
- in netbsd-10 xsrc/external/mit/MesaLib is for HAVE_MESA_VER=21,
xsrc/external/mit/MesaLib.old is for HAVE_MESA_VER=19, and
HAVE_MESA_VER=19 (i.e. MesaLib.old) is the default
I'm not sure if these transitions are intentional.
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index