udk module fails to compile

julien2412 serval2412 at yahoo.fr
Tue Jun 5 13:04:58 PDT 2012


Thought it was ok, I was wrong :-(

So I compiled udkapi in verbose mode and got :
julien at julienPC:~/compile-libreoffice/libo$ make verbose=t udkapi
make -r -f /home/julien/compile-libreoffice/libo/Makefile.top udkapi
make[1]: Entering directory `/home/julien/compile-libreoffice/libo'
cd udkapi && make -j 4 -r gb_PARTIALBUILD=T
[ build HPP ] udkapi
make[2]: Entering directory `/home/julien/compile-libreoffice/libo/udkapi'
RESPONSEFILE=/tmp/gbuild.hymXHy &&
LD_LIBRARY_PATH="/home/julien/compile-libreoffice/libo/solver/unxlngx6/lib"
SOLARBINDIR=/home/julien/compile-libreoffice/libo/solver/unxlngx6/bin
/home/julien/compile-libreoffice/libo/solver/unxlngx6/bin/cppumaker
@${RESPONSEFILE} && rm -f ${RESPONSEFILE} && touch
/home/julien/compile-libreoffice/libo/workdir/unxlngx6/UnoApiHeadersTarget/udkapi/normal.done
Segmentation fault
make[2]: ***
[/home/julien/compile-libreoffice/libo/workdir/unxlngx6/UnoApiHeadersTarget/udkapi/normal.done]
Error 139
make[2]: Leaving directory `/home/julien/compile-libreoffice/libo/udkapi'
make[1]: *** [udkapi] Error 2
make[1]: Leaving directory `/home/julien/compile-libreoffice/libo'
make: *** [udkapi] Error 2

After having exported LD_LIBRARY_PATH + SOLARBINDIR, I launched gdb :
gdb /home/julien/compile-libreoffice/libo/solver/unxlngx6/bin/cppumaker
then :
(gdb) run -Gc -L -BUCR
-O/home/julien/compile-libreoffice/libo/workdir/unxlngx6/UnoApiHeadersTarget/udkapi/normal
/home/julien/compile-libreoffice/libo/workdir/unxlngx6/UnoApiTarget/udkapi.rdb


Hopefully I get the bt :
Program received signal SIGSEGV, Segmentation fault.
0x00000000004347ce in
boost::unordered_detail::hash_table<boost::unordered_detail::set&lt;rtl::OStringHash,
std::equal_to&lt;rtl::OString>, std::allocator<rtl::OString> >
>::find_iterator (this=0x7fffffffdf20, bucket_=0x40, k="com") at
/home/julien/compile-libreoffice/libo/solver/unxlngx6/inc/boost/unordered/detail/table.hpp:55
55	        node_ptr it = bucket_->next_;
(gdb) bt
#0  0x00000000004347ce in
boost::unordered_detail::hash_table<boost::unordered_detail::set&lt;rtl::OStringHash,
std::equal_to&lt;rtl::OString>, std::allocator<rtl::OString> >
>::find_iterator (this=0x7fffffffdf20, bucket_=0x40, k="com") at
/home/julien/compile-libreoffice/libo/solver/unxlngx6/inc/boost/unordered/detail/table.hpp:55
#1  0x000000000043222e in
boost::unordered_detail::hash_table<boost::unordered_detail::set&lt;rtl::OStringHash,
std::equal_to&lt;rtl::OString>, std::allocator<rtl::OString> > >::find
(this=0x7fffffffdf20, k="com") at
/home/julien/compile-libreoffice/libo/solver/unxlngx6/inc/boost/unordered/detail/table.hpp:583
#2  0x00000000004303ef in boost::unordered_set<rtl::OString,
rtl::OStringHash, std::equal_to&lt;rtl::OString>,
std::allocator<rtl::OString> >::find (this=0x7fffffffdf20, k="com")
    at
/home/julien/compile-libreoffice/libo/solver/unxlngx6/inc/boost/unordered/unordered_set.hpp:411
#3  0x000000000042fd95 in codemaker::GeneratedTypeSet::contains
(this=0x7fffffffdf20, type="com")
    at
/home/julien/compile-libreoffice/libo/codemaker/inc/codemaker/generatedtypeset.hxx:69
#4  0x000000000042e0b7 in produceType (rTypeKey=..., bIsExtraType=false,
typeMgr=..., generated=..., pOptions=0x7fffffffde70)
    at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cpputype.cxx:4446
#5  0x00000000004054ab in (anonymous namespace)::produce (rTypeKey=...,
bIsExtraType=false, typeMgr=..., generated=..., options=0x7fffffffde70)
    at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cppumaker.cxx:55
#6  0x00000000004055fe in (anonymous namespace)::produceAllTypes
(rTypeKey=..., bIsExtraType=false, typeMgr=..., generated=...,
pOptions=0x7fffffffde70, bFullScope=1 '\001')
    at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cppumaker.cxx:79
#7  0x0000000000405c20 in (anonymous namespace)::produceAllTypes
(typeName="/", typeMgr=..., generated=..., pOptions=0x7fffffffde70,
bFullScope=1 '\001')
    at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cppumaker.cxx:136
#8  0x000000000040642d in sal_main_with_args (argc=6, argv=0x7fffffffe208)
at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cppumaker.cxx:224
#9  0x0000000000405e51 in main (argc=6, argv=0x7fffffffe208) at
/home/julien/compile-libreoffice/libo/codemaker/source/cppumaker/cppumaker.cxx:151

Any idea ?

Julien.

--
View this message in context: http://nabble.documentfoundation.org/udk-module-fails-to-compile-tp3987690p3988371.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list