linker problems with gcc 3.3.5 and 3.4.3
Hi, I've recently started getting thousands of messages like the following, while linking with -lboost_regex -lboost_date_time -lboost_filesystem. /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld: `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcEN9__gnu_cxx17__normal_iteratorIPKcSsEENS0_16basic_outsstreamIcS4_EEEEbRT1_RKSC_PNS1_11format_itemIT_T0_EERT2_h' referenced in section `.rodata' of monotone-commands.o: defined in discarded section `.gnu.linkonce.t._ZN5boost2io6detail22parse_printf_directiveIcSt11char_traitsIcEN9__gnu_cxx17__normal_iteratorIPKcSsEENS0_16basic_outsstreamIcS4_EEEEbRT1_RKSC_PNS1_11format_itemIT_T0_EERT2_h' of monotone-commands.o Linking monotone (http://www.venge.net/monotone) produces ~5000 or so messages like this. I'm running on gentoo linux and I believe this started happening when I recently upgraded from gcc 3.3.4 to 3.3.5. Originally I was using boost 1.31.0 but I have tried upgrading to 1.32.0 and also upgrading gcc to 3.4.3. I have not yet tried downgrading gcc to 3.3.4 but that's pretty much next on the list. I really don't know for sure what is causing this, but it really is quite annoying. It could be gentoo's packaging of gcc or something else, or it could be gcc or boost, or ... I do see a few similar sounding posts such as http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg74258.html but so far haven't been able to fix the problem. Any help or insight would be greatly appreciated. Cheers, Derek
Uwe Sander wrote:
Hi,
Am Sonntag, 6. Februar 2005 03:39 schrieb Derek Scherger:
[snip description of link problems]
Any help or insight would be greatly appreciated.
Did you run fix_libtool_files.sh after upgrading your gcc? Command is
fix_libtool_files.sh
I did, but it had already been run as part of the ebuild which has been updated to include that. It didn't help.
participants (2)
-
Derek Scherger
-
Uwe Sander