pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Workaround for NetBSD initial-exec and dlopen is not supported?



On Mon, Aug 24, 2015 at 08:54:45PM -0700, David Shao wrote:
> (II) [KMS] Kernel modesetting enabled.
> LoaderOpen(/usr/pkg/lib/xorg/modules/libglamoregl.so)
> gbm: failed to open any driver (search paths /usr/pkg/lib/dri)
> gbm: Last dlopen error: /usr/pkg/lib/libglapi.so.0: Use of initialized
> Thread Local Storage with model initial-exec and dlopen is not
> supported
> failed to load driver: r600
> gbm: failed to open any driver (search paths /usr/pkg/lib/dri)
> gbm: Last dlopen error: /usr/pkg/lib/libglapi.so.0: Use of initialized
> Thread Local Storage with model initial-exec and dlopen is not
> supported
> 
> This potential problem on NetBSD was already noted in the comments for
> the MesaLib port.  Has a workaround been found for this problem yet?

But it is supported? You shouldn't do repeated dlopen/dlclose cycles,
but dlopen with initial-exec of not too large size certainly works.

Joerg


Home | Main Index | Thread Index | Old Index