(2010/07/22 17:09), Trond Norbye wrote: > On 07/22/10 02:38 AM, KaiGai Kohei wrote: >> BTW, I have noticed a few symbols are not available unexpectedly when >> I've been under development. >> >> 1. create_instance() of the default_engine.c is not available, even if >> --enable-default-engine was provided. >> 2. safe_strtoull() of the util.c is not available from the engine module. >> >> It seems to me lack of the -rdynamic option drops these unreferenced >> symbols (at the build time) from the binary. >> >> The gcc man page says as follows: >> | -rdynamic >> | Pass the flag -export-dynamic to the ELF linker, on targets that >> | support it. This instructs the linker to add all symbols, not only >> | used ones, to the dynamic symbol table. This option is needed >> | for some uses of "dlopen" or to allow obtaining backtraces from >> | within a program. >> and >> | -dynamic >> | These options are passed to the Darwin linker. The Darwin linker >> | man page describes them in detail. >> >> How about the attached patch? >> >> > > The patch failed to build on my Solaris machine (not using gcc), but I > just took a quick look in the libtool manual and pushed another fix for > the problem in rev 456a9afd5ae007b9b3f8679b89a16f16ffe01689 > It works for me, on the Fedora rawhide.
>> And, I have a question. Do we have an explicit release schedule of >> the memcached with engine interfaces? > > I'm currently working on cleaning up the builds on all of the platforms > we got builders for... > Thanks for your efforts. -- KaiGai Kohei <[email protected]>
