cv_search_dlopen" = x"-ldl"; then
> >>> pluginlibs="$pluginlibs -ldl"
> >>>fi
> >>> LIBS="$saved_LIBS"
> >>>
> >>> which I guess would also work for pthread_create? This would simplify
>
h's content in
configure.ac per your suggestion. Tested similarly on x86_64 and in a
container with libc 2.27
LGTM.
Thanks,
Richard.
From 00669b600a75743523c358ee41ab999b6e9fa0f6 Mon Sep 17 00:00:00 2001
From: Arthur Cohen
Date: Fri, 12 Apr 2024 13:52:18 +0200
Subject: [PATCH] rust: Do n
pluginlibs="$pluginlibs -ldl"
> > fi
> > LIBS="$saved_LIBS"
> >
> > which I guess would also work for pthread_create? This would simplify
> > the code a bit.
>
> Thanks a lot for the review. I've udpated the patch's co
17 00:00:00 2001
From: Arthur Cohen
Date: Fri, 12 Apr 2024 13:52:18 +0200
Subject: [PATCH] rust: Do not link with libdl and libpthread unconditionally
ChangeLog:
* Makefile.tpl: Add CRAB1_LIBS variable.
* Makefile.in: Regenerate.
* configure: Regenerate.
* configur
On Fri, Apr 19, 2024 at 11:49 AM Arthur Cohen wrote:
>
> Hi everyone,
>
> This patch checks for the presence of dlopen and pthread_create in libc. If
> that is not the
> case, we check for the existence of -ldl and -lpthread, as these libraries
> are required to
> link the Rust runtime to our Ru
Hi everyone,
This patch checks for the presence of dlopen and pthread_create in libc. If
that is not the
case, we check for the existence of -ldl and -lpthread, as these libraries are
required to
link the Rust runtime to our Rust frontend.
If these libs are not present on the system, then we di