Boost logo

Boost Users :

From: Liam Routt (caligari_at_[hidden])
Date: 2005-08-21 21:24:21


Ben Hutchings wrote:
> Liam Routt wrote:
>
> >It looks to me like a 64-bit related problem, but I can't tell whether
> >it is gcc or a Boost issue. I will see whether we can go back a version
> >with gcc, or something. But that will be next week, as the sysadmin is
> >away until then.
> >
> >Any other suggestions appreciated.
> >
> >
> How about running the smart_ptr test suite? The shared_count
> implementation was changed significantly for gcc on PPC (and many other
> targets), but I don't think either of the PPC systems running automated
> regression tests are doing so in 64-bit mode.

That seemed like a fair request, so I set about working out how to do
that. I've now run the tests on my x86 system and on the PPC64, with
differing results. The x86 one passes all the tests. The PPC64:

=====
...failed updating 5 targets...
...skipped 5 targets...
...updated 12 targets...
=====

The fails seem to be (I'm new at parsing this output):

=====
smart_ptr_test
shared_ptr_basic_test
shared_ptr_test
weak_ptr_test
shared_from_this_test
=====

In the smart_ptr_test and shared_ptr_test output I note a fair number of
use_count() related error messages, which might indeed indicate that the
shared_count is a problem area.

I have saved the output and can provide it on request, but I didn't
think that simply mailing it to the list was necessarily the right step
to take. What *is* the right step to take next?

Take care,

Liam

--
Liam Routt                                          Ph: (03) 8344-1315
Research Programmer                               caligari_at_[hidden]
Computer Science, Melbourne University              (or liam_at_[hidden])

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