I do that:
/usr/local/bin/bash
cd /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice
source ./FreeBSDX86Env.Set.sh
export LANG=C
export DEBUGCPPUNIT=TRUE
cd sfx2
build
That is result:
Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/util
Entering /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/qa/cppunit
----------------------------------------------------------
- start unit test #1 on library ../../unxfbsdi.pro/lib/test_metadatable.so
----------------------------------------------------------
: &&
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
gdb -nx
--command=/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solenv/bin/gdbtrycatchtrace
--args
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
../../unxfbsdi.pro/lib/test_metadatable.so
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols
found)...
/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solenv/bin/gdbtrycatchtrace:2:
Error in sourced command file:
Function "__cxa_throw" not defined.
(gdb)
I need something to type in gdb command shell?
10.05.11, 13:12, "Michael Meeks" <[email protected]>:
solver/330/unxfbsdi.pro/bin/cppunittester
../../unxfbsdi.pro/lib/test_metadatable.so
> > terminate called after throwing an instance of
> 'com::sun::star::lang::IllegalArgumentException'
> > /usr/local/bin/bash: line 1: 46233 Abort trap: 6
> LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/sfx2/unxfbsdi.pro/lib:/var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/lib
>
> /var/XXX/libreoffice-build-3.3.2.2/build/libreoffice/solver/330/unxfbsdi.pro/bin/cppunittester
> ../../unxfbsdi.pro/lib/test_metadatable.so
> > dmake: Error code 134, while making 'test1'
>
> Possibly this is locale related can you: export LANG=C after sourcing
> that environment, and re-try ?
>
> Failing that we need to run that test under gdb; to do that:
>
> export DEBUGCPPUNIT=TRUE
>
> and re-run 'build' - hopefully that will generate an interesting gdb
> trace that we can analyse to get to the root cause.
>
> Thanks !
>
> Michael.
>
>
--
--------------------------------------------
С уважением, Гуляев Гоша.
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice