[Info-vax] Announcement: A new system library (plibsys) is ported to OpenVMS

Craig A. Berry craigberry at nospam.mac.com
Fri Oct 7 19:19:25 EDT 2016


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.

> 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.

 > 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?



More information about the Info-vax mailing list