develooper Front page | perl.perl5.porters | Postings from May 2003

Re: [perl #22194] perldoc -q permute example using faster Algorithm::Permute panic's

Thread Previous
From:
andreas.koenig
Date:
May 14, 2003 03:23
Subject:
Re: [perl #22194] perldoc -q permute example using faster Algorithm::Permute panic's
Message ID:
m3bry5968k.fsf@franz.ak.mind.de
>>>>> On 14 May 2003 00:57:23 -0000, David Dyck (via RT) <perlbug-followup@perl.org> said:

  > Since Algorithm::Permute does build and test ok in perl 5.8,
  > and it is in the perl FAQ, I thought that
  > this bug should be logged here, since 
  > untill it is resolved if the problem is with 
  > the .xs file in Algorithm::Permute
  > or something that has changed in perl 5.9.

Problem confirmed. Adding some evidence from my archive, hoping this
helps somebody else to diagnose the problem.

The first perl that made Algorithm::Permute fail was 18048. At that
time it failed with

PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/p17o7bL/perl-5.8.0@18048/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..23
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
ok 13
ok 14
ok 15
ok 16
panic: invalid pad in pad_sv: 0x816ccb0[0x817a6e8] at test.pl line 51.


From 18551 to bleadperl we have this output of make test:

cc -c   -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURC
E -D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic "-I
/home/src/perl/repoperls/installed-perls/perl/ps6PMsO/perl-5.8.0@19512/lib/5.9.0
/i686-linux-64int/CORE"   Permute.c
Permute.c: In function `XS_Algorithm__Permute_next':
Permute.c:224: warning: cast to pointer from integer of different size
Permute.c: In function `XS_Algorithm__Permute_DESTROY':
Permute.c:269: warning: cast to pointer from integer of different size
Permute.c: In function `XS_Algorithm__Permute_peek':
Permute.c:297: warning: cast to pointer from integer of different size
Permute.c: In function `XS_Algorithm__Permute_reset':
Permute.c:327: warning: cast to pointer from integer of different size
Running Mkbootstrap for Algorithm::Permute ()
chmod 644 Permute.bs
rm -f blib/arch/auto/Algorithm/Permute/Permute.so
LD_RUN_PATH="" cc  -shared -L/usr/local/lib Permute.o  -o blib/arch/auto/Algorit
hm/Permute/Permute.so      
chmod 755 blib/arch/auto/Algorithm/Permute/Permute.so
cp Permute.bs blib/arch/auto/Algorithm/Permute/Permute.bs
chmod 644 blib/arch/auto/Algorithm/Permute/Permute.bs
Manifying blib/man3/Algorithm::Permute.3
  /usr/bin/make  -- OK
Running make test
PERL_DL_NONLAZY=1 /home/src/perl/repoperls/installed-perls/perl/ps6PMsO/perl-5.8
.0@19512/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
1..23
Can't load 'blib/arch/auto/Algorithm/Permute/Permute.so' for module Algorithm::P
ermute: blib/arch/auto/Algorithm/Permute/Permute.so: undefined symbol: cxinc at 
/home/src/perl/repoperls/installed-perls/perl/ps6PMsO/perl-5.8.0@19512/lib/5.9.0
/i686-linux-64int/DynaLoader.pm line 229.
 at test.pl line 13
Compilation failed in require at test.pl line 13.
BEGIN failed--compilation aborted at test.pl line 13.
not ok 1
make: *** [test_dynamic] Error 9




-- 
andreas

Thread Previous


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