I've been doing some testing on the z/OS port of libuv, from https://github.com/ibmruntimes/libuv/tree/v1.x-zos. I've run into several minor problems, and I'm wondering if anyone else is actively working with this code. If so, should we consider creating a libuv forum?
Here are the issues I've encountered:
It's hard to build. I couldn't put myself through the pain of spinning up autoconf on z/OS, so I hacked a Makefile manually.
src/unix/process.c uses environ, which for some reason was causing the z/OS binder to ABEND when I tried to statically link against libuv.a. I replaced that with clearenv and a putenv loop.
uv_execpath (in in src/unix/os390.c) was failing with an assertion failure after calling BPXnGTH, which in turn caused a lot of test failure.s I'm not entirely sure what the problem was, but replacing some shift/mask code in the assert with references to fields in a union solved the problem.
Anyway, I now have all but three of the tests passing and I'm about to move on to trying some Real Work(tm).
Any other libuv-on-z/OS users out there?
Note: This question has been migrated from the IBM DeveloperWorks community "IBM SDK for Node.js". It was originally posted on Jan 14, 2017 by user JerryCallen.
I've been doing some testing on the z/OS port of libuv, from https://github.com/ibmruntimes/libuv/tree/v1.x-zos. I've run into several minor problems, and I'm wondering if anyone else is actively working with this code. If so, should we consider creating a libuv forum? Here are the issues I've encountered: It's hard to build. I couldn't put myself through the pain of spinning up autoconf on z/OS, so I hacked a Makefile manually.
Anyway, I now have all but three of the tests passing and I'm about to move on to trying some Real Work(tm). Any other libuv-on-z/OS users out there?
Note: This question has been migrated from the IBM DeveloperWorks community "IBM SDK for Node.js". It was originally posted on Jan 14, 2017 by user JerryCallen.