|
Message-ID: <CAHnO0JtOYVxaQVcqFeTNwxg1C18RNWTt8pT5Z88_SVtoMmRFDw@mail.gmail.com>
Date: Wed, 7 Nov 2018 20:02:01 -0500
From: Barry Flartus <barry.flartus@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Problems with pthreads from a shared object?
On Wed, Nov 7, 2018 at 7:43 PM Rich Felker <dalias@...c.org> wrote:
> On Wed, Nov 07, 2018 at 06:53:33PM -0500, Barry Flartus wrote:
> > >
> > > OK. Can you run strace -f ./launch (or whatever the launch program
> > > executable is called) and post the output?
> > >
> > > Rich
> > >
>
>
The "launching" program was compiled with gcc:
gcc launch.c -ldl -o launch
When I attempt to compile the "launching" program with musl-gcc I get the
following output:
vagrant@...ntu-x64:~$ /usr/local/musl/x86_64/bin/musl-gcc launch.c -ldl -o
launch
vagrant@...ntu-x64:~$ ./launch
Launching test...
Dynamic loading not supported
The shared object was compiled with musl-gcc:
/usr/local/musl/x86_64/bin/musl-gcc -Wall -lpthread -shared -fPIC test.c -o
test.so
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.