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

Re: [perl #55038] Problem with porting perl on Armel

Thread Previous | Thread Next
From:
Bram
Date:
May 30, 2008 05:07
Subject:
Re: [perl #55038] Problem with porting perl on Armel
Message ID:
20080530140548.7fh35jie8k0oo0wg@horde.wizbit.be
Quoting devendra purbiya <devendra.purbiya@gmail.com>:

> Hi Bram,
>   Below is the result of running all the commands you have mentioned.
> [sbox-cosmos0.1.4_armel: ~/PERL-ARM/perl-5.8.8/t] > ./perl -wle 'print "\$^X
> = $^X";print $^X =~ m/\s/ ? qq{"$^X"} : $^X;'
> qemu: Unsupported syscall: 338
> $^X = ./perl
> ./perl

I suggest you look at
http://www.google.com/search?&q=%22qemu:+Unsupported+syscall%22
and see if it mentions something useful...

> [sbox-cosmos0.1.4_armel: ~/PERL-ARM/perl-5.8.8/t] > ./perl harness -v
> ../ext/B/t/lint.t
> qemu: Unsupported syscall: 338
> ../ext/B/t/lint....qemu: Unsupported syscall: 338
> qemu: Unsupported syscall: 338
> 1..15
> # Failed at ../ext/B/t/lint.t line 31
> #      got 'qemu: Unsupported syscall: 338
> # Implicit scalar context for array in scalar assignment at -e line 1
> # '
> # expected 'Implicit scalar context for array in scalar assignment at -e
> line 1
> # '
> not ok 1 - context
> # Failed at ../ext/B/t/lint.t line 31
> #      got 'qemu: Unsupported syscall: 338
> # Implicit scalar context for array in length at -e line 1
> # '
> # expected 'Implicit scalar context for array in length at -e line 1
> # '
> not ok 2 - context
> # Failed at ../ext/B/t/lint.t line 31
> #      got 'qemu: Unsupported syscall: 338
> # Implicit match on $_ at -e line 1
> # '
> # expected 'Implicit match on $_ at -e line 1
> # '
> not ok 3 - implicit-read
> # Failed at ../ext/B/t/lint.t line 31
> #      got 'qemu: Unsupported syscall: 338
> # Implicit substitution on $_ at -e line 1
> # '
> # expected 'Implicit substitution on $_ at -e line 1
> # '
> not ok 4 - implicit-write
> ok 5 # skip: Doesn't work with threaded perls
> ok 6 # skip: Doesn't work with threaded perls
> ok 7 # skip: Doesn't work with threaded perls
> ok 8 # skip: Doesn't work with threaded perls
> ok 9 # skip: Doesn't work with threaded perls
> ok 10 # skip: Doesn't work with threaded perls
> ok 11 # skip: Doesn't work with threaded perls
> ok 12 # skip: Doesn't work with threaded perls
> ok 13 # skip: Doesn't work with threaded perls
> ok 14 # skip: Doesn't work with threaded perls
> ok 15 # skip: Doesn't work with threaded perls
> FAILED tests 1-4
>         Failed 4/15 tests, 73.33% okay
> Failed Test       Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> ../ext/B/t/lint.t               15    4  26.67%  1-4
> Failed 1/1 test scripts, 0.00% okay. 4/15 subtests failed, 73.33% okay.
> [sbox-cosmos0.1.4_armel: ~/PERL-ARM/perl-5.8.8/t] > ./perl -I../lib -MO=Lint
> -e '$foo = @bar';
> qemu: Unsupported syscall: 338
> Implicit scalar context for array in scalar assignment at -e line 1
> -e syntax OK
> [sbox-cosmos0.1.4_armel: ~/PERL-ARM/perl-5.8.8/t] > export
> PERL_RUNPERL_DEBUG=1
> [sbox-cosmos0.1.4_armel: ~/PERL-ARM/perl-5.8.8/t] > ./perl harness -v
> ../ext/B/t/lint.t
> qemu: Unsupported syscall: 338
> ../ext/B/t/lint....qemu: Unsupported syscall: 338
> qemu: Unsupported syscall: 338
> 1..15
> # Failed at ../ext/B/t/lint.t line 31
> #      got '/scratchbox/tools/bin/sh: line 1: 1: command not found
> # '
> # expected 'Implicit scalar context for array in scalar assignment at -e
> line 1
> # '
> not ok 1 - context
> # Failed at ../ext/B/t/lint.t line 31
> #      got '/scratchbox/tools/bin/sh: line 1: 1: command not found
> # '
> # expected 'Implicit scalar context for array in length at -e line 1
> # '
> not ok 2 - context
> # Failed at ../ext/B/t/lint.t line 31
> #      got '/scratchbox/tools/bin/sh: line 1: 1: command not found
> # '
> # expected 'Implicit match on $_ at -e line 1
> # '
> not ok 3 - implicit-read
> # Failed at ../ext/B/t/lint.t line 31
> #      got '/scratchbox/tools/bin/sh: line 1: 1: command not found
> # '
> # expected 'Implicit substitution on $_ at -e line 1
> # '
> not ok 4 - implicit-write
> ok 5 # skip: Doesn't work with threaded perls
> ok 6 # skip: Doesn't work with threaded perls
> ok 7 # skip: Doesn't work with threaded perls
> ok 8 # skip: Doesn't work with threaded perls
> ok 9 # skip: Doesn't work with threaded perls
> ok 10 # skip: Doesn't work with threaded perls
> ok 11 # skip: Doesn't work with threaded perls
> ok 12 # skip: Doesn't work with threaded perls
> ok 13 # skip: Doesn't work with threaded perls
> ok 14 # skip: Doesn't work with threaded perls
> ok 15 # skip: Doesn't work with threaded perls
> FAILED tests 1-4
>         Failed 4/15 tests, 73.33% okay
> Failed Test       Stat Wstat Total Fail  Failed  List of Failed
> -------------------------------------------------------------------------------
> ../ext/B/t/lint.t               15    4  26.67%  1-4
> Failed 1/1 test scripts, 0.00% okay. 4/15 subtests failed, 73.33% okay.
>
> Thanks,
> Devendra.
>
>
> On Fri, May 30, 2008 at 3:56 PM, Bram <p5p@perl.wizbit.be> wrote:
>
>> Quoting devendra purbiya <devendra.purbiya@gmail.com>:
>>
>>  Hi Bram,
>>>   I tried to run ./perl harness -v, and below is the result I get. Also I
>>> am using arm-v5te-linux-gnueabi cross compiler.
>>>
>>
>>
>> Can you run:
>>
>> ./perl -wle 'print "\$^X = $^X";print $^X =~ m/\s/ ? qq{"$^X"} : $^X;'
>>
>> And:
>>
>> ./perl harness -v ../ext/B/t/lint.t
>>
>> And:
>>
>> ./perl -I../lib -MO=Lint -e '$foo = @bar';
>>
>>
>> And:
>>
>> export PERL_RUNPERL_DEBUG=1
>> ./perl harness -v ../ext/B/t/lint.t
>>
>>
>> Kind regards,
>>
>> Bram
>>
>>
>>
>>
>





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