[Info-vax] Announcement: A new system library (plibsys) is ported to OpenVMS
Alexander Saprykin
xelfium at gmail.com
Sat Oct 8 06:04:38 EDT 2016
суббота, 8 октября 2016 г., 2:19:28 UTC+3 пользователь Craig A. Berry написал:
> On 10/7/16 8:23 AM, Alexander Saprykin wrote:
> >
> > 1. Recent versions of Boost seems lack support for OpenVMS, that's why I
> > have also provided an old version.
> >
> > 2. Thanks for pointing out for [ARGV] value, added to the build script
> > (I borrowed a code to detect whether a compiler supports it from
> > OpenSSL, by Richard Levitte).
> >
> > 3. I also surrounded ioctl() call with pointer size pragmas when
> > building for 64-bit, after that it compiles without warnings.
> >
> > 4. About lot of errors while running tests: it is ok, because all tests
> > simulate "out-of-memory" situation. It is better to also use the build
> > script to run tests:
> >
> > @build_vms.com NOLIB RUN_TESTS
>
> Oops. Not sure why I missed that.
>
To be honest you are not the first one who miss it. I will add a tip into the build script how to run tests.
> > It hides all output and only prints final result.
> >
> > All fixes should be available tonight (forget to push them :( ).
>
> Yes, the 64-bit build is now clean and passes all tests.
>
Are you sure that all tests passed? Because 3 failed tests you have mentioned below should fail also in a 64-bit build. Thats because of a bug in sem_open() call (https://groups.google.com/forum/#!topic/comp.os.vms/ySlKal2n51Y). I hope it will be fixed in one of the future releases of OpenVMS.
> > Could you please also try to build 32-bit version of the library and
> > tests? For now I experience a problem while building 32-bit version
> > of the tests. Maybe you can point a direction where to dig.
>
> With 32-bit, it builds cleanly, but I see the following test failures:
>
> [RUN ] psemaphore
> [FAIL] *** Test failed: psemaphore
> [RUN ] pshm
> [FAIL] *** Test failed: pshm
> [RUN ] pshmbuffer
> [FAIL] *** Test failed: pshmbuffer
>
> More detail:
>
> $ r [.ia64]psemaphore_test
> Running 3 test cases...
> D0:[craig.plibsys-master.tests]psemaphore_test.cpp;1(200): error in
> "psemaphore_thread_test": check p_uthread_join (thr1) == 0 failed
> D0:[craig.plibsys-master.tests]psemaphore_test.cpp;1(201): error in
> "psemaphore_thread_test": check p_uthread_join (thr2) == 0 failed
> D0:[craig.plibsys-master.tests]psemaphore_test.cpp;1(203): fatal error
> in "psemaphore_thread_test": critical check semaphore_test_val == 10 failed
>
> *** 3 failures detected in test suite "psemaphore_test"
>
> $ r [.ia64]pshm_test
> Running 4 test cases...
> D0:[craig.plibsys-master.tests]pshm_test.cpp;1(145): fatal error in
> "pshm_general_test": critical check shm != 0 failed
> D0:[craig.plibsys-master.tests]pshm_test.cpp;1(262): fatal error in
> "pshm_thread_test": critical check shm != 0 failed
>
> *** 2 failures detected in test suite "pshm_test"
>
> $ r [.ia64]pshmbuffer_test
> Running 4 test cases...
> D0:[craig.plibsys-master.tests]pshmbuffer_test.cpp;1(232): fatal error
> in "pshmbuffer_general_test": critical check buffer != 0 failed
> D0:[craig.plibsys-master.tests]pshmbuffer_test.cpp;1(279): fatal error
> in "pshmbuffer_thread_test": critical check buffer != 0 failed
>
> *** 2 failures detected in test suite "pshmbuffer_test"
>
> I'm a bit short on time to build in debug mode, try to understand what
> these things should be doing, and then analyze what they are doing
> instead. Do you not see the same failures on Alpha?
As I've said above, that is ok. For now 3 tests are not passable. The same situation is on Alpha.
More information about the Info-vax
mailing list