Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
disassembler broken
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Matt Diephouse  
View profile  
 More options Nov 1 2004, 11:57 am
Newsgroups: perl.perl6.internals
From: parrotbug-follo...@parrotcode.org (Matt Diephouse)
Date: Mon, 01 Nov 2004 08:57:09 -0800
Local: Mon, Nov 1 2004 11:57 am
Subject: [perl #32265] disassembler broken
# New Ticket Created by  Matt Diephouse
# Please include the string:  [perl #32265]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=32265 >

The disassembler compiles but doesn't work.

matt@mendelssohn:~/parrot$ make disassemble
src/disassemble.c
echo ast/ast.y -d -o ast/astparser.c -p AST
ast/ast.y -d -o ast/astparser.c -p AST
/usr/bin/perl -e 'open(A,qq{>>$_}) or die foreach @ARGV' ast/ast.y.flag
ast/astparser.c ast/astparser.h
c++ -o disassemble src/disassemble.o -L/usr/local/lib -Wl,-E  -g  
blib/lib/libparrot.a blib/lib/libicuuc.a blib/lib/libicudata.a -ldl -lm
-lpthread -lcrypt -lrt
matt@mendelssohn:~/parrot$ ./disassemble forth/forth.pir
PackFile_unpack: Invalid wordsize 46
Parrot VM: Can't unpack packfile forth/forth.pir.

--
matt diephouse
http://matt.diephouse.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Sugalski  
View profile  
 More options Nov 1 2004, 4:50 pm
Newsgroups: perl.perl6.internals
From: d...@sidhe.org (Dan Sugalski)
Date: Mon, 1 Nov 2004 16:50:21 -0500
Local: Mon, Nov 1 2004 4:50 pm
Subject: Re: [perl #32265] disassembler broken
At 8:57 AM -0800 11/1/04, Matt Diephouse (via RT) wrote:

>The disassembler compiles but doesn't work.

>matt@mendelssohn:~/parrot$ make disassemble
>src/disassemble.c
>echo ast/ast.y -d -o ast/astparser.c -p AST
>ast/ast.y -d -o ast/astparser.c -p AST
>/usr/bin/perl -e 'open(A,qq{>>$_}) or die foreach @ARGV' ast/ast.y.flag
>ast/astparser.c ast/astparser.h
>c++ -o disassemble src/disassemble.o -L/usr/local/lib -Wl,-E  -g
>blib/lib/libparrot.a blib/lib/libicuuc.a blib/lib/libicudata.a -ldl -lm
>-lpthread -lcrypt -lrt
>matt@mendelssohn:~/parrot$ ./disassemble forth/forth.pir
>PackFile_unpack: Invalid wordsize 46
>Parrot VM: Can't unpack packfile forth/forth.pir.

Erm... .pir isn't bytecode. What happens when you run the
disassembler on the bytecode you get if you compile forth.pir?
--
                                Dan

--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
d...@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Diephouse  
View profile  
 More options Nov 1 2004, 6:01 pm
Newsgroups: perl.perl6.internals
From: mdd...@gmail.com (Matt Diephouse)
Date: Mon, 1 Nov 2004 18:01:31 -0500
Local: Mon, Nov 1 2004 6:01 pm
Subject: Re: [perl #32265] disassembler broken

On Mon, 1 Nov 2004 16:50:21 -0500, Dan Sugalski <d...@sidhe.org> wrote:
> Erm... .pir isn't bytecode. What happens when you run the
> disassembler on the bytecode you get if you compile forth.pir?

d'oh! <insert obligatory comment about mondays>.

Anyway, it still doesn't work:

matt@mendelssohn:~/parrot$ ./disassemble forth/forth.pbc
PackFile_unpack: Bytecode not valid for this interpreter: fingerprint mismatch
Parrot VM: Can't unpack packfile forth/forth.pbc.

--
matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Leopold Toetsch  
View profile  
 More options Nov 2 2004, 3:51 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Tue, 2 Nov 2004 09:51:39 +0100
Local: Tues, Nov 2 2004 3:51 am
Subject: Re: [perl #32265] disassembler broken

Matt Diephouse <mdd...@gmail.com> wrote:
> matt@mendelssohn:~/parrot$ ./disassemble forth/forth.pbc
> PackFile_unpack: Bytecode not valid for this interpreter: fingerprint mismatch

You got an old forth.pbc, probably. Fingerprinting is disabled for the
release, so it might be, that you can run forth.pbc with the released
Parrot but not with a current one.

$ make world
...
$ ./parrot -o mops.pbc mops.pasm

$ ./disassemble mops.pbc
null_i I2
set_i_ic I3,1
set_i_ic I4,100000000
...

leo


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Diephouse  
View profile  
 More options Nov 2 2004, 12:19 pm
Newsgroups: perl.perl6.internals
From: mdd...@gmail.com (Matt Diephouse)
Date: Tue, 2 Nov 2004 12:19:54 -0500
Local: Tues, Nov 2 2004 12:19 pm
Subject: Re: [perl #32265] disassembler broken

On Tue, 2 Nov 2004 09:51:39 +0100, Leopold Toetsch <l...@toetsch.at> wrote:
> You got an old forth.pbc, probably. Fingerprinting is disabled for the
> release, so it might be, that you can run forth.pbc with the released
> Parrot but not with a current one.

Odd, because it was newly made bytecode, but I ran it again and it
worked. Pardon the noise.

--
matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google