Boost Serialization Tests Status

In review the test compiler status tables things are looking very much better. There a number of pending issues: a) test_demo and others are failing at runtime in both gcc and vc environments. They pass on my machine. In checking the code in example/demo I come upon the following: void save_schedule(const bus_schedule &s){ // make an archive std::ofstream ofs("../example/demofile.txt"); boost::archive::text_oarchive oa(ofs); oa << s; } void restore_schedule(bus_schedule &s) { // open the archive std::ifstream ifs("../example/demofile.txt"); boost::archive::text_iarchive ia(ifs); // restore the schedule from the archive ia >> s; } Which in light or our test strikes me as suspicious. It makes a couple of presumptions which I don't know are really true: 1) that the current directory while the test is being run is boost/libs/serialization/test and that the directory 2) boost/libs/serialization/example has it permissions set to permit file creation. Upon reflection it seems that there is no reason to suppose these to be true. I wonder if someone could check to see if this is the problem. Meanwhile I'll investigate what it would take to change the demos so that this is not a problem. b) in several cases it seems that there is a build configuration issue as it relates to multi-threading libraries. This might be an issue with intel 8.0, and gcc 3.4.1 builds. c) I don't think that gcc 2.95 can be used with the serialization library. The error messages seem to indicate this gcc doesn't have templated streams and the serialization library requires them. Perhaps some combination of gcc 2.95 - stlPort might work. I will exclude markup to skip the vanilla gcc 2.5 tests. d) I'm hoping that the metacomm test setup can make spirit 1.61 available and set SPIRIT_ROOT accordingly. This would resolve most of the issues with vc 6.0, 7.0, and borland. Robert Ramey

On Fri, 16 Jul 2004 17:07:58 -0700, Robert Ramey wrote
In review the test compiler status tables things are looking very much better. There a number of pending issues:
...snip... 1) that the current directory while the test is being run is boost/libs/serialization/test and that the directory
2) boost/libs/serialization/example has it permissions set to permit file creation.
Upon reflection it seems that there is no reason to suppose these to be true.
I wonder if someone could check to see if this is the problem. Meanwhile I'll investigate what it would take to change the demos so that this is not a problem.
This is certainly not the case when he regression tests are run. The working directory is actually BOOST_ROOT/status for all the tests -- so this is likely the issue. Let me know when you have a fix and I will rerun for you...
b) in several cases it seems that there is a build configuration issue as it relates to multi-threading libraries. This might be an issue with intel 8.0, and gcc 3.4.1 builds.
c) I don't think that gcc 2.95 can be used with the serialization library. The error messages seem to indicate this gcc doesn't have templated streams and the serialization library requires them. Perhaps some combination of gcc 2.95 - stlPort might work. I will exclude markup to skip the vanilla gcc 2.5 tests.
Seems reasonable -- 2.95 is an ancient compiler. I see no reason for you to support it. Jeff

Robert Ramey wrote:
In review the test compiler status tables things are looking very much better. There a number of pending issues:
...
b) in several cases it seems that there is a build configuration issue as it relates to multi-threading libraries. This might be an issue with intel 8.0, and gcc 3.4.1 builds.
For gcc 3.4.1 the situtation is: the standard library on my system has been built with threading support. I'm now added the required -pthread to my gcc-3.4.1 toolset. This should fix most of the problems.
c) I don't think that gcc 2.95 can be used with the serialization library. The error messages seem to indicate this gcc doesn't have templated streams and the serialization library requires them. Perhaps some combination of gcc 2.95 - stlPort might work. I will exclude markup to skip the vanilla gcc 2.5 tests.
That's correct. The standard library implementation shipped with gcc-2 is very limit with respect to streams: no templates, no locales, etc. I'll remove the intel-8 results again. This looks very much like there were stale .o files from the time when I didn't have enough disk space. gcc-2 is not supported by Spirit. I planning to make Spirit 1.6.1 available for the tests. Regards, m
participants (3)
-
Jeff Garland
-
Martin Wille
-
Robert Ramey