You are here

compilation error for Chunk.os when using gcc-3.4.6

3 posts / 0 new
Last post
compilation error for Chunk.os when using gcc-3.4.6

Dear developers,
I am trying to build rosetta 3.3 using gcc-3.4.6 (on debian linux). I am getting following error msg. Please suggest me a way to avoid this error.


g++ -o build/src/release/linux/2.6/64/x86/gcc/apps/public/backrub.o -c -isystem external/boost_1_46_1/boost/ -isystem external/boost_1_46_1/boost/ -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -DNDEBUG -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -Iexternal/boost_1_46_1 -Iexternal/dbio -I/usr/local/include -I/usr/include src/apps/public/
`.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_mh' referenced in section `.rodata' of build/src/release/linux/2.6/64/x86/gcc/protocols/nonlocal/Chunk.os: defined in discarded section `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcESaIcEN9__gnu_cxx17__normal_iteratorIPKcSsEESt5ctypeIcEEEbRT2_RKSD_PNS1_11format_itemIT_T0_T1_EERKT3_mh' of build/src/release/linux/2.6/64/x86/gcc/protocols/nonlocal/Chunk.os
collect2: ld returned 1 exit status
scons: *** [build/src/release/linux/2.6/64/x86/gcc/] Error 1
scons: building terminated because of errors.


Post Situation: 
Mon, 2011-11-14 09:07

I've no idea what it means, other than that it appears to be a linker error. GCC 3.4.6 is pretty old; I'm not sure we've tested against it, so the first two things I'd try are a different GCC version and checking the integrity of your downloaded code (I can give you an md5sum if you'll tell me if you need it for the large tarball or just the source).

Mon, 2011-11-14 11:54

Thanks! I tried gcc-4.3 as well as gcc4.5. Both are working fine for rosetta3.3.

Tue, 2011-11-15 03:54