Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-10-05 01:27:48


Ken Roser wrote:

> I've recently switched my Linux system to Fedora Core 4 which has gcc
> 4.0.1 as the default compiler. Since the code I'm developing must be
> built with gcc 3.4.4, I have installed a copy of gcc 3.4.4 at
> /usr/local/gcc/gcc34. When I build boost with this compiler I get
> hundred of similar errors from /usr/bin/ld. I'll attach those warnings
> to the end of this email.
...
> /usr/bin/ld: `.L8' referenced in section `.rodata' of

This is a bug in gcc:

   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16625

For some reasons, gcc developers don't give it much priority, maybe if you
add "me too" comment to the bug it will help a bit.

> I do see boost get built using my specified compiler but get all the
> warnings. Building boost without specifying the gcc 3.4.4 compiler
> does not produce any errors. I suspect the problem has something to do
> with the version of ld that gets invoked but even if it does, how would
> I fix it. ld is version:
>
> GNU ld version 2.15.94.0.2.2 20041220

You can downgrade binutils to suppress the warning (the bug report above
names exact version number). But this is just workaround.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net