Date: Sat, 2 Mar 2019 17:51:45 +0100 From: Willem Jan Withagen <wjw@digiware.nl> To: =?UTF-8?Q?T=c4=b3l_Coosemans?= <tijl@FreeBSD.org> Cc: FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, Ed Maste <emaste@freebsd.org> Subject: Re: Linking problem with lld Message-ID: <bb0ef7ce-ae9c-22d6-4025-a929fe96ea44@digiware.nl> In-Reply-To: <20190302162142.2bf23551@kalimero.tijl.coosemans.org> References: <71079fbc-c3c0-9b93-0ae4-8ceda5d1f751@digiware.nl> <20190222223456.5d7840b7@kalimero.tijl.coosemans.org> <29a75c78-f2df-e80b-d013-631584e0fc71@digiware.nl> <cf912b3e-2699-0997-a0f6-4bb75fee4aab@digiware.nl> <20190302162142.2bf23551@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2-3-2019 16:21, Tijl Coosemans wrote: > On Sat, 2 Mar 2019 14:21:57 +0100 Willem Jan Withagen <wjw@digiware.nl> > 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 objectfile already has something "wrong"to start with? [~/master] wjw@cephdev.digiware.nl> objdump -t ./build/src/librados/CMakeFiles/librados.dir/librados_c.cc.o | grep rados_create 00000000000003b0 l F .text 00000000000000a6 _ZL16rados_create_cctPKcP18CephInitParameters 00000000000001d0 g F .text 00000000000001df _rados_create 0000000000000460 g F .text 000000000000028d _rados_create2 0000000000015410 g F .text 00000000000000a4 _rados_create_read_op 00000000000006f0 g F .text 0000000000000085 _rados_create_with_context 0000000000013a30 g F .text 00000000000000a4 _rados_create_write_op 0000000000000460 g F .text 000000000000028d rados_create2@@ 00000000000001d0 g F .text 00000000000001df rados_create@@ 0000000000015410 g F .text 00000000000000a4 rados_create_read_op@@ 00000000000006f0 g F .text 0000000000000085 rados_create_with_context@@ 0000000000013a30 g F .text 00000000000000a4 rados_create_write_op@@ [~/master] wjw@cephdev.digiware.nl> objdump -T ./build/src/librados/CMakeFiles/librados.dir/librados_c.cc.o | grep rados_create objdump: ./build/src/librados/CMakeFiles/librados.dir/librados_c.cc.o: not a dynamic object Exit 1 --WjW
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb0ef7ce-ae9c-22d6-4025-a929fe96ea44>