Boost logo

Boost :

From: Stefan Slapeta (stefan_nospam__at_[hidden])
Date: 2004-09-25 18:57:17


Hi all,

there are some failures at runtime for this testcase which look like this:

[...]
timed test, sp=0
../../../libs/thread/test/test_read_write_mutex.cpp(293): error in
"test_read_write_mutex": test w1.m_value == 10 failed
../../../libs/thread/test/test_read_write_mutex.cpp(294): error in
"test_read_write_mutex": test r1.m_value == -1 failed
../../../libs/thread/test/test_read_write_mutex.cpp(295): error in
"test_read_write_mutex": test r2.m_value == 10 failed

I didn't investigate too much so far, but something is very strange with
this:

(1) If I compile this test with bjam using the Intel toolset, it fails
(exactly like in the regression results).
(2) If I compile this test with bjam using the vc 7.1 toolset, it passes
(exactly like in the regression results).

Now here comes the interesting part:

(3) If I compile this test in the VS IDE using Intel Compiler, it fails,
but has a slightly different output from bjam.
(4) If I compile this test in the VS IDE using VC, it fails, too (!!),
with the same output as above.

I've already checked the compiler and linker options that are passed by
bjam, there is nothing suspicious.

I'll continue my investigations tomorrow, in between any ideas about
where these differences could come from are _very_ appreciated!

Stefan


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