[ooo-build] CMake progress

Jussi Pakkanen jpakkane at gmail.com
Tue Jun 23 11:06:23 PDT 2009


On Tue, Jun 9, 2009 at 6:11 PM, Jussi Pakkanen <jpakkane at gmail.com> wrote:


> >        How interesting; in these cases I would tend to compare the
> "strace -e
> > file" output of the command-line, with the same thing run inside the
> > environment that OO.o sets up - no doubt there is some random variable
> > that is set wrong, and this path has never been hit before :-)
>
> Or some magic compiler flag is not set. Or some output files must be
> in certain locations or everything fails (this has already happened,
> btw).


I looked a bit more into it and found out the cause of the crash.

In store/source/store.cxx:319 the code creates a new OStoreDirectory with
this line:

Reference<OStoreDirectory> xDirectory (new OStoreDirectory());

The dmake built binary this calls the constructor function in
store/source/storlckb.cxx:170. It looks like this:

OStoreDirectory::OStoreDirectory (void)
     : m_xManager (NULL),
       m_pNode    (NULL),
       m_aDescr   (0, 0, 0),
       m_nPath    (0),
       m_hTextCvt (NULL)
{
}

But for some reason the CMake built one calls the constructor in
store/inc/store/store.inl:170. It looks like this:

inline OStoreDirectory::OStoreDirectory (void) SAL_THROW(())
    : m_hImpl (0)
{
}

I can't figure out why (probably missing #defines). If someone has knowledge
about this some pointers would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/ooo-build/attachments/20090623/af558f35/attachment.htm 


More information about the ooo-build mailing list