From: Filippo ARCIDIACONO
Current implementation of I/O locking macros using futexes are not
cancel safe, as if a thread is cancelled while doing IO operations,
it does not release the lock on the IO stream. So following
attempts to acquire the IO stream's lock would dead-lock.
In order to make i
the app dlopen the libmya.so,
the libmya.so is depend on libmyb.so
now,the mode of dlopen is RTLD_LOCAL,for example,
void *handle = dlopen("libmya.so", RTLD_LAZY|RTLD_LOCAL);
if there is a globle variable int the libmya.so, can the function in the
libmyb.so find it ?
just as below
app dlopen t
On 21/08/2012 2.11, Joaquim Pedro França Simão wrote:
> Hello, I am trying to create a system using BuildRoot, but the system
> generated can not run binaries compiled on himself, gives a segfault.
> It generates a core dump, I managed to capture some of the code that
> theoretically would be the s