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
From:
Peter Prymmer
Date:
January 26, 2009 07:09
Subject:
Re: [PATCH: perl@8482] partial support for dynaloading on OS/390
Message ID:
OF30A6DF04.A788454F-ON8525754A.0052C51C-8525754A.00533D4C@factset.com
Nicholas Clark <nick@flirble.org> 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 
glob(),
> which is going to fail horribly even for static linking, because 
./miniperl
> 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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About