Re: [tools-dev] Building 2.0.3 on Linux: stlport fails

2006-10-20 Thread Martin Hollmichel
Hi,

I'm playing a similar game with a preconfigured environment
(http://wiki.services.openoffice.org/wiki/O3-build) and have the same
problem with g++-3.4.1 and binutils-2.17 and no problem with g++-4.1.1
and binutils-2.17.

Is there a recommended binutils version if I would like to have the
option to choose between both compiler versions. Or might it be a better
idea to configure the compiler with a specific binutils version ?

Martin

Simon Brouwer wrote:
 Hi all,
 
 Update:
 
 I think I encountered this problem because I was playing safe, at
 configuration specifying gcc and g++ version 3.3 because the build guide
 reported success with those. However, these may not be compatible with
 the (newer?) binutils 2.16.1 on my Ubuntu installation. I am building
 with the default gcc/g++ 4.0 now and so far it looks good.
 
 [EMAIL PROTECTED] schreef:
 Hi all,

 I am trying to build OOo 2.0.3 on the latest Ubuntu. Configure went OK,
 but the build stops in stlport.

 The last output is:
 cd ./unxlngi4.pro/misc/build/STLport-4.5/src  make -f gcc-3.0.mak
 -j1 
 touch so_built_so_stlport
 /usr/bin/g++-3.3 -Wl,-rpath,'$ORIGIN' --fexceptions -shared -o
 ../lib/libstlport_gcc.so.4.5  ../lib/obj/GCC/ReleaseD/dll_main.o
 ../lib/obj/GCC/ReleaseD/fstream.o ../lib/obj/GCC/ReleaseD/strstream.o
 ../lib/obj/GCC/ReleaseD/sstream.o ../lib/obj/GCC/ReleaseD/ios.o
 ../lib/obj/GCC/ReleaseD/streambuf.o
 ../lib/obj/GCC/ReleaseD/stdio_streambuf.o
 ../lib/obj/GCC/ReleaseD/istream.o ../lib/obj/GCC/ReleaseD/ostream.o
 ../lib/obj/GCC/ReleaseD/iostream.o ../lib/obj/GCC/ReleaseD/codecvt.o
 ../lib/obj/GCC/ReleaseD/collate.o ../lib/obj/GCC/ReleaseD/ctype.o
 ../lib/obj/GCC/ReleaseD/monetary.o ../lib/obj/GCC/ReleaseD/num_get.o
 ../lib/obj/GCC/ReleaseD/num_put.o ../lib/obj/GCC/ReleaseD/num_get_float.o
 ../lib/obj/GCC/ReleaseD/num_put_float.o
 ../lib/obj/GCC/ReleaseD/numpunct.o
 ../lib/obj/GCC/ReleaseD/time_facets.o ../lib/obj/GCC/ReleaseD/messages.o
 ../lib/obj/GCC/ReleaseD/locale_impl.o ../lib/obj/GCC/ReleaseD/locale.o
 ../lib/obj/GCC/ReleaseD/locale_catalog.o
 ../lib/obj/GCC/ReleaseD/facets_byname.o
 ../lib/obj/GCC/ReleaseD/c_locale.o
 ../lib/obj/GCC/ReleaseD/c_locale_stub.o ../lib/obj/GCC/ReleaseD/complex.o
 ../lib/obj/GCC/ReleaseD/complex_exp.o
 ../lib/obj/GCC/ReleaseD/complex_io.o
 ../lib/obj/GCC/ReleaseD/complex_trig.o
 ../lib/obj/GCC/ReleaseD/complex_io_w.o ../lib/obj/GCC/ReleaseD/string_w.o
 `.L5217' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIw'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L5275' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIw'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L5338' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIw'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L5402' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIw'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L5492' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIwNS_19istreambuf_iteratorIwNS_11char_traitsIwE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIwS3_NS_9allocatorIw'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L7586' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIc'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L7654' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIc'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L7729' referenced in section `.rodata' of
 ../lib/obj/GCC/ReleaseD/locale_impl.o: defined in discarded section
 `.gnu.linkonce.t._ZNK4_STL9money_getIcNS_19istreambuf_iteratorIcNS_11char_traitsIcE6do_getES4_S4_bRNS_8ios_baseERiRNS_12basic_stringIcS3_NS_9allocatorIc'

 of ../lib/obj/GCC/ReleaseD/locale_impl.o
 `.L7741' referenced in section 

Re: [tools-dev] Building 2.0.3 on Linux: stlport fails

2006-10-20 Thread Martin Hollmichel

 Is there a recommended binutils version if I would like to have the
 option to choose between both compiler versions. Or might it be a better
 idea to configure the compiler with a specific binutils version ?
 
 It's always a good idea to configure gcc to the specific binutils you
 plan to choose. Gcc is known to adapt itself to the features of the used
 linker and assembler, as I found out the hard way some time ago.
 Actually any more or less recent binutils are fine, as long as they
 support the hide symbols feature.
with that explanation I would expect the combination gcc-3.4.1 and
binutils-2.17 working,

Martin

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]