[Libreoffice] Debug build compilation fail
Stephan Bergmann
sbergman at redhat.com
Mon Oct 31 06:31:30 PDT 2011
On 10/31/2011 02:20 PM, Rafael Dominguez wrote:
> I tried to compile all the project with debug flags enabled (
> --enable-dbgutil --enable-debug ) , and im getting this error
>
> Compiling: connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx
> In file included from
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/debug/debug.h:126,
> from
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_algobase.h:71,
> from
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/bits/stl_tree.h:62,
> from
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/map:60,
> from ./MNSINIParser.hxx:35,
> from
> /home/ralph/Proyectos/libreoffice/core/connectivity/source/drivers/mozab/bootstrap/MNSINIParser.cxx:31:
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/debug/formatter.h:
> In constructor
> '__gnu_debug::_Error_formatter::_Parameter::_Parameter(const
> __gnu_debug::_Safe_iterator<_Iterator, _Sequence>&, const char*,
> __gnu_debug::_Error_formatter::_Is_iterator)':
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4/debug/formatter.h:213:
connectivity/source/drivers/mozab/makefile_mozab.mk contains an explicit
-fno-rtti, in three places, for various platforms. This file looks odd,
smells like these settings are there to ensure some form of ABI
compatibility with linked-against Mozilla code, but enabling GCC's
-frtti should have no negative consequences here, anyway.
Please re-try with those three lines removed.
Stephan
More information about the LibreOffice
mailing list