Re: z/OS and libc

[email protected] (Jarkko Hietaniemi) Wed, 7 Oct 2015 16:28:01 -0400
Newsgroups perl.mvs,perl.perl5.porters
Message-ID <[email protected]>
> What exactly is DynaLoader expecting to do with libc.a? CEE.SCEELIB
> contains binder (newer terminology in z/OS Land for link) commands that
> resolve C run-time calls to entry points in a LL which resides in shared
> memory. That behavior might provide some guidance on how to handle this,
> if it needs to be handled.

Reading the test (ext/DynaLoader/t/DynaLoader.t) and the 
ext/DynaLoader.pm (created in build time from DynaLoader_pm.PL) it looks 
like the test is trying to use the dl_findfile() to find the file
where the library called "c" lives (e.g. (e.g. "/something/libc.so").

Based on this thread, this is not going to work in z/OS.

There's already skip for win32|vms|openbsd|bitrig|cygwin|vos, adding
os390 (that's what z/OS is known as) there shouldn't be a big thing.
Even openbsd and bitrig are there, and they are very UNIX, but they
probably just have some quirks that DynaLoader doesn't know/care about.