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

Architecture dependent code outside archlib(5.10.1-RC1/Config_heavy.pl)

Thread Next
From:
Abigail
Date:
August 11, 2009 06:35
Subject:
Architecture dependent code outside archlib(5.10.1-RC1/Config_heavy.pl)
Message ID:
20090811133525.GA5291@almanda

After first building and installing a 32 bit perl of 5.10.1-RC1, and then
a 64 bit perl of 5.10.1-RC1, I tried to send a 'perlbug -ok' of the former:

   $ /opt/perl/5.10.1-RC1/bin/perl-32 /opt/perl/5.10.1-RC1/bin/perlbug -ok
   Invalid type 'Q' in pack at /opt/perl/5.10.1-RC1/lib/5.10.1/Config_heavy.pl line 1189.
   Compilation failed in require at /opt/perl/5.10.1-RC1/lib/5.10.1/i686-linux/Config.pm line 70.


The offending line of code is:

   $ our $byteorder = join('', unpack('aaaaaaaa', pack('Q', $i)));


Considering that the 'Q' template is only valid for 64 bit integer perls,
and not 32 bit integer perls, shouldn't that mean Config_heavy.pl should
be in $PREFIX/lib/5.10.1/$ARCH/Config_heavy.pl instead of
$PREFIX/lib/5.10.1/Config_heavy.pl?



Abigail

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