pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/56212: evolution (mail/evolution) abort coredump SOLVED
Em dom, 2021-05-30 às 18:15 +0000, Sergio de Almeida Lenzi escreveu:
> The following reply was made to PR pkg/56212; it has been noted by GNATS.
>
a patch to devel/glib2 solve ths PR
===================================================
$NetBSD$
--- gmodule/gmodule-dl.c.orig 2021-04-08 14:00:16.873501000 +0000
+++ gmodule/gmodule-dl.c
@@ -106,28 +106,7 @@ _g_module_open (const gchar *file_name,
static gpointer
_g_module_self (void)
{
- gpointer handle;
-
- /* to query symbols from the program itself, special link options
- * are required on some systems.
- */
-
- /* On Android 32 bit (i.e. not __LP64__), dlopen(NULL)
- * does not work reliable and generally no symbols are found
- * at all. RTLD_DEFAULT works though.
- * On Android 64 bit, dlopen(NULL) seems to work but dlsym(handle)
- * always returns 'undefined symbol'. Only if RTLD_DEFAULT or
- * NULL is given, dlsym returns an appropriate pointer.
- */
-#if defined(__BIONIC__)
- handle = RTLD_DEFAULT;
-#else
- handle = dlopen (NULL, RTLD_GLOBAL | RTLD_LAZY);
-#endif
- if (!handle)
- g_module_set_error (fetch_dlerror (TRUE));
-
- return handle;
+ return RTLD_DEFAULT;
}
static void
===================================================================
Home |
Main Index |
Thread Index |
Old Index