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

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

Thread Next
From:
Craig A. Berry
Date:
September 27, 2009 20:19
Subject:
@toolchain length (was Re: [PATCH - revised] Fix various 'make' warnings)
Message ID:
c9ab31fc0909272019x7df9b414vf8bc626e84f3b132@mail.gmail.com
On Thu, Sep 24, 2009 at 10:18 AM, Nicholas Clark <nick@ccl4.org> 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 make_ext.pl 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 AutoSplit.pm 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


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