Re: lifetime-9 test FAIL

Stefan Seefeld <[email protected]> Tue, 11 Jul 2006 21:13:56 -0400
Newsgroups gmane.comp.documentation.synopsis
Message-ID <[email protected]>
Hi Gilles,

sorry for the late reply. I'm on vacation right now and not reading my mail
very regularly...

Gilles J. Seguin wrote:
> I am lost on that one.

Me too. :-) What code base are you using ? For my the trunk version of the
SymbolLookup test applet doesn't even compile. The Synopsis_0_8 version does
compile, but generates an assertion error. I shall investigate...

[...]

> leaving SymbolFactory::declare(Declaration *)
> ./Cxx/bin/SymbolLookup: symbol lookup error: ./Cxx/bin/SymbolLookup:
> undefined symbol: _ZN8Synopsis12SymbolLookup6WalkerC2 EPNS0_5ScopeE
> 
> $ c++filt _ZN8Synopsis12SymbolLookup6WalkerC2EPNS0_5ScopeE
> Synopsis::SymbolLookup::Walker::Walker(Synopsis::SymbolLookup::Scope*)
> 
> why does it not found the thing ?

No idea. Do you have set your LD_LIBRARY_PATH appropriately ? What does
'ldd ./Cxx/bin/SymbolLookup' say ? Can it see libSynopsis.so ?


Quite frankly, I haven't spent any time on these unit tests in the devel branch
('trunk'), as I'm not sure what the right way forward is. Is the output these
test applets generate really what we should look at to measure correctness ?

That may be another tasks (since you asked !): Look at test suites other
C++ compilers use (g++, elkhound, keystone, etc.) and try to enhance our testing
methods to really measure correctness of the different aspects (symbol lookup,
overload resolution, template parameter deduction, etc.)
What do you think ?


Regards,
		Stefan