Re: 11RC5: any EGL app (X11) crashes on exit with SIGSEGV - dlopen/atexit strikes again

RVP <[email protected]> Sun, 5 Jul 2026 11:06:46 +0000 (UTC)
Newsgroups gmane.os.netbsd.general
Message-ID <[email protected]>
On Sun, 5 Jul 2026, Henryk Paluch wrote:

> I was able to fix SIGSEGV in libEGL with this patch:
>
> --- usr/src/external/mit/xorg/lib/libEGL/Makefile.orig	2026-07-05 
> 06:29:08.032120003 +0000
> +++ usr/src/external/mit/xorg/lib/libEGL/Makefile	2026-07-05 
> 06:31:34.364661709 +0000
> @@ -92,7 +92,8 @@
> 		 -DHAVE_TIMESPEC_GET \
> 		 -DHAVE_PTHREAD \
> 		 -DHAVE_LIBDRM \
> -		-DHAVE_MINCORE
> +		-DHAVE_MINCORE \
> +		-DHAVE_NOATEXIT
>
> .include "../libloader.mk"
>

Already fixed my mrg@:

https://mail-index.netbsd.org/source-changes/2026/07/05/msg162858.html

-RVP