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

@toolchain length (was Re: [PATCH - revised] Fix various 'make' warnings)

Thread Next
Craig A. Berry
September 27, 2009 20:19
@toolchain length (was Re: [PATCH - revised] Fix various 'make' warnings)
Message ID:
On Thu, Sep 24, 2009 at 10:18 AM, Nicholas Clark <> wrote:
> And I'm concerned that as the length of @toolchain grows it's going
> to bust the length limit for environment variables on some OS.

Already has.  While is running I'm seeing a value of
PERL5LIB that is 259 bytes long, but VMS can only handle a value of
255.[1]  So the VMS build is currently broken because it fails to
locate as soon as it tries to build non-xs extensions.

I guess we could assign a build priority to everything in
$Config{nonxs_ext} that needs to be built "early" (and a priority of
999 for everything that doesn't) and then sort accordingly and build
in that order.  Not sure if that's more or less maintenance in the
long run than what we're doing now.

[1]  The VMS-specific code to manage PERL5LIB can take advantage of a
native feature called a search list logical name that allows an array
of up to 127 strings of 255 bytes each, but there is no way to create
such a beast from within Perl.

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