Boost logo

Boost :

From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2005-05-10 15:21:15


On Tue, May 10, 2005 at 03:54:01PM -0400, Caleb Epstein wrote:
> On 5/10/05, Christoph Ludwig <cludwig_at_[hidden]> wrote:
>
> > The linker generates an executable anyway and it _seems_ to work. However, I
> > observe infrequent crashes of the application that I don't observe on a
> > machine where I built Boost and the application (without any warnings)
> > with gcc 3.4.2 / ld 2.14.90.0.5. Thus I suspect that the warning is there for
> > a reason and points to the problem causing the crashes.
>
> What version of the binutils are you using on the machine where things
> behave badly?

GNU ld version 2.15.91.0.2 20040727 (SuSE Linux)

> If its not at least as new as 2.14.90.0.5, can you
> upgrade? Problems like this often stem from binutils bugs in my
> experience.

In the meantime I found that the crashes were not related to the linker
warning; I eventually found that I miscalculated some index into a vector
which caused the crash. Once I realized that I was able to reproduce the crash
on both machines.

Nevertheless, the linker warning makes me uneasy... Will the application crash
as soon Boost.Serialization needs to throw? If I read the warning correctly
then the reference to boost::archive::archive_exception::what() points to
nowhere because the linker discarded the corresponding code section.

Regards

Christoph

-- 
http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html
LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk