develooper Front page | perl.perl5.porters | Postings from January 2009

Re: [PATCH: perl@8482] partial support for dynaloading on OS/390

Thread Previous | Thread Next
Peter Prymmer
January 26, 2009 07:09
Re: [PATCH: perl@8482] partial support for dynaloading on OS/390
Message ID:
Nicholas Clark <> wrote on 01/24/2009 12:43:06 PM:

> What is it with OS/390 that for a static build it must not have
> -DDPERL_EXTERNAL_GLOB set for opmini.o?
> And how come this doesn't break things even more horribly, as without 
that set,
> opmini.o and hence miniperl is going to try to load File::Glob for 
> which is going to fail horribly even for static linking, because 
> is needed to be in working order to *build* File::Glob ?
> I think that it's broken. As is, it prevents me simplifying something.

IIRC the environment that shipped with OS/390's Unix System Services
had no C like shell at all and the shell that shipped with it did
not have a glob built in.  Hence an external call (execve or somesuch) to
call a glob would fail.

I tested with and without usedl set before sending in the patch.

I hope that helps explain it.  At this time I'd (weakly) recommend making
dynamic loading the default for OS/390.  Unfortunately I have no
way to test the port since I no longer have access to such
an environment.

Peter Prymmer

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About