Re: Linking problem with lld

2019-03-03 Thread Tijl Coosemans
On Sun, 3 Mar 2019 15:21:56 +0100 Willem Jan Withagen wrote: > First success. > I used this map, but also needed to fix a .symver: > >  #define LIBRADOS_C_API_BASE_DEFAULT(fn)   \ > -  asm(".symver _" #fn ", " #fn "@@") > +  asm(".symver _" #fn ", " #fn "@") > > That last was more

Re: Linking problem with lld

2019-03-03 Thread Willem Jan Withagen
On 2-3-2019 18:35, Tijl Coosemans wrote: On Sat, 2 Mar 2019 17:49:25 +0100 Willem Jan Withagen wrote: On 2-3-2019 16:21, Tijl Coosemans wrote: On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen wrote: Now if I look in librados.so for rados_create that gives: > objdump -t

Re: Linking problem with lld

2019-03-03 Thread Tijl Coosemans
On Sun, 3 Mar 2019 12:50:03 +0100 Willem Jan Withagen wrote: > On 2-3-2019 18:35, Tijl Coosemans wrote: > > On Sat, 2 Mar 2019 17:49:25 +0100 Willem Jan Withagen > > wrote: > >> On 2-3-2019 16:21, Tijl Coosemans wrote: > >>> On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen > >>> wrote:

Re: Linking problem with lld

2019-03-03 Thread Willem Jan Withagen
On 3-3-2019 14:45, Willem Jan Withagen wrote: On 3-3-2019 13:34, Tijl Coosemans wrote: On Sun, 3 Mar 2019 12:50:03 +0100 Willem Jan Withagen wrote: On 2-3-2019 18:35, Tijl Coosemans wrote: On Sat, 2 Mar 2019 17:49:25 +0100 Willem Jan Withagen wrote: On 2-3-2019 16:21, Tijl Coosemans wrote:

Re: Linking problem with lld

2019-03-03 Thread Willem Jan Withagen
On 3-3-2019 13:34, Tijl Coosemans wrote: On Sun, 3 Mar 2019 12:50:03 +0100 Willem Jan Withagen wrote: On 2-3-2019 18:35, Tijl Coosemans wrote: On Sat, 2 Mar 2019 17:49:25 +0100 Willem Jan Withagen wrote: On 2-3-2019 16:21, Tijl Coosemans wrote: On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan

Re: Linking problem with lld

2019-03-02 Thread Tijl Coosemans
On Sat, 2 Mar 2019 17:49:25 +0100 Willem Jan Withagen wrote: > On 2-3-2019 16:21, Tijl Coosemans wrote: >> On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen >> wrote: >>> Now if I look in librados.so for rados_create that gives: >>> >>> > objdump -t librados.so.2.0.0 | grep

Re: Linking problem with lld

2019-03-02 Thread Willem Jan Withagen
On 2-3-2019 16:21, Tijl Coosemans wrote: On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen wrote: Now if I look in librados.so for rados_create that gives: > objdump -t librados.so.2.0.0 | grep rados_create You want to look at dynamic symbols so "objdump -T". Could it be that the

Re: Linking problem with lld

2019-03-02 Thread Willem Jan Withagen
On 22-2-2019 23:47, Willem Jan Withagen wrote: On 22-2-2019 22:34, Tijl Coosemans wrote: On Fri, 22 Feb 2019 16:09:09 +0100 Willem Jan Withagen wrote: Hi Ed ea, In het ceph project, they started to use library versioning, so it seems. But compiling/linking that now with Clang and lld I run

Re: Linking problem with lld

2019-03-02 Thread Tijl Coosemans
On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen wrote: > Now if I look in librados.so for rados_create that gives: > > > objdump -t librados.so.2.0.0 | grep rados_create You want to look at dynamic symbols so "objdump -T". ___

Re: Linking problem with lld

2019-02-22 Thread Willem Jan Withagen
On 22-2-2019 22:34, Tijl Coosemans wrote: On Fri, 22 Feb 2019 16:09:09 +0100 Willem Jan Withagen wrote: Hi Ed ea, In het ceph project, they started to use library versioning, so it seems. But compiling/linking that now with Clang and lld I run into trouble building the ceph-tools. This is

Re: Linking problem with lld

2019-02-22 Thread Tijl Coosemans
On Fri, 22 Feb 2019 16:09:09 +0100 Willem Jan Withagen wrote: > Hi Ed ea, > > In het ceph project, they started to use library versioning, so it seems. > > But compiling/linking that now with Clang and lld I run into trouble > building the ceph-tools. > > This is what I get back of one of the

Re: Linking problem with lld

2019-02-22 Thread Willem Jan Withagen
On 22-2-2019 21:09, Ed Maste wrote: On Fri, 22 Feb 2019 at 10:09, Willem Jan Withagen wrote: My guess is that your linker doesn't support the new symbol versioning exports and since the symbols are hidden by default they aren't visible in the shared library. Previously there was a bug (since

Re: Linking problem with lld

2019-02-22 Thread Ed Maste
On Fri, 22 Feb 2019 at 10:09, Willem Jan Withagen wrote: > > My guess is that your linker doesn't support the new symbol versioning > exports and since the symbols are hidden by default they aren't visible > in the shared library. Previously there was a bug (since Luminous and > the switch the

Linking problem with lld

2019-02-22 Thread Willem Jan Withagen
Hi Ed ea, In het ceph project, they started to use library versioning, so it seems. But compiling/linking that now with Clang and lld I run into trouble building the ceph-tools. This is what I get back of one of the Devs: -- My guess is that your linker doesn't support the new