Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
PPC jit fixes - hopefully
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
  8 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
 
Leopold Toetsch  
View profile  
 More options Mar 3 2005, 5:56 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 03 Mar 2005 11:56:45 +0100
Local: Thurs, Mar 3 2005 5:56 am
Subject: PPC jit fixes - hopefully
I've now committed the proposed changes,
see tickets: #32989, #32514, #34072

If you have a PPC based box, please give it a try.

Thanks,
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.
Olivier Thauvin  
View profile  
 More options Mar 3 2005, 11:22 am
Newsgroups: perl.perl6.internals
From: olivier.thau...@aerov.jussieu.fr (Olivier Thauvin)
Date: Thu, 3 Mar 2005 17:22:26 +0100
Local: Thurs, Mar 3 2005 11:22 am
Subject: Re: PPC jit fixes - hopefully

Le Thursday 3 March 2005 11:56, Leopold Toetsch a écrit :

> I've now committed the proposed changes,
> see tickets: #32989, #32514, #34072

> If you have a PPC based box, please give it a try.

My ppc box is a Mandrake cooker (devel distro): I ran:

Unfortunally, I don't have the C/asm knowledge to help more :(

cvs update -dC
make clean
perl Configure.PL
make

ops/core_ops_switch.c
as   -o src/asmfun.o src/asmfun.s
src/asmfun.s: Assembler messages:
src/asmfun.s:6: Error: unsupported relocation against f14
src/asmfun.s:6: Error: unsupported relocation against r1
src/asmfun.s:7: Error: unsupported relocation against f15
src/asmfun.s:7: Error: unsupported relocation against r1
src/asmfun.s:8: Error: unsupported relocation against f16
src/asmfun.s:8: Error: unsupported relocation against r1
src/asmfun.s:9: Error: unsupported relocation against f17
src/asmfun.s:9: Error: unsupported relocation against r1
src/asmfun.s:10: Error: unsupported relocation against f18
src/asmfun.s:10: Error: unsupported relocation against r1
src/asmfun.s:11: Error: unsupported relocation against f19
src/asmfun.s:11: Error: unsupported relocation against r1
src/asmfun.s:12: Error: unsupported relocation against f20
src/asmfun.s:12: Error: unsupported relocation against r1
src/asmfun.s:13: Error: unsupported relocation against f21
src/asmfun.s:13: Error: unsupported relocation against r1
src/asmfun.s:14: Error: unsupported relocation against f22
src/asmfun.s:14: Error: unsupported relocation against r1
src/asmfun.s:15: Error: unsupported relocation against f23
src/asmfun.s:15: Error: unsupported relocation against r1
src/asmfun.s:16: Error: unsupported relocation against f24
src/asmfun.s:16: Error: unsupported relocation against r1
src/asmfun.s:17: Error: unsupported relocation against f25
src/asmfun.s:17: Error: unsupported relocation against r1
src/asmfun.s:18: Error: unsupported relocation against f26
src/asmfun.s:18: Error: unsupported relocation against r1
src/asmfun.s:19: Error: unsupported relocation against f27
src/asmfun.s:19: Error: unsupported relocation against r1
src/asmfun.s:20: Error: unsupported relocation against f28
src/asmfun.s:20: Error: unsupported relocation against r1
src/asmfun.s:21: Error: unsupported relocation against f29
src/asmfun.s:21: Error: unsupported relocation against r1
src/asmfun.s:22: Error: unsupported relocation against f30
src/asmfun.s:22: Error: unsupported relocation against r1
src/asmfun.s:23: Error: unsupported relocation against f31
src/asmfun.s:23: Error: unsupported relocation against r1
make: *** [src/asmfun.o] Error 1

  application_pgp-signature_part
< 1K Download

    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.
Chromatic  
View profile  
 More options Mar 3 2005, 12:30 pm
Newsgroups: perl.perl6.internals
From: chroma...@wgz.org (Chromatic)
Date: Thu, 03 Mar 2005 09:30:22 -0800
Local: Thurs, Mar 3 2005 12:30 pm
Subject: Re: PPC jit fixes - hopefully

On Thu, 2005-03-03 at 17:22 +0100, Olivier Thauvin wrote:
> ops/core_ops_switch.c
> as   -o src/asmfun.o src/asmfun.s
> src/asmfun.s: Assembler messages:
> src/asmfun.s:6: Error: unsupported relocation against f14

Adding -mregnames to the as call makes it compile for me, but it
apparently doesn't export the symbol properly:

blib/lib/libparrot.a(jit_cpu.o)(.text+0x2722): In function
`Parrot_end_jit':
src/jit_cpu.c:74: undefined reference to
`Parrot_ppc_jit_restore_nonvolatile_registers'
blib/lib/libparrot.a(jit_cpu.o)(.text+0x2726):src/jit_cpu.c:74:
undefined reference to `Parrot_ppc_jit_restore_nonvolatile_registers

-- c


    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.
Chromatic  
View profile  
 More options Mar 3 2005, 12:39 pm
Newsgroups: perl.perl6.internals
From: chroma...@wgz.org (Chromatic)
Date: Thu, 03 Mar 2005 09:39:03 -0800
Local: Thurs, Mar 3 2005 12:39 pm
Subject: Re: PPC jit fixes - hopefully

On Thu, 2005-03-03 at 09:30 -0800, chromatic wrote:
> Adding -mregnames to the as call makes it compile for me, but it
> apparently doesn't export the symbol properly:

Ah, here it is.  For whatever reason, it doesn't strip the leading
underscore from the symbol name.  (GNU as allows symbols to start with
word characters, but I don't see a flag to remove a prefix.)

Compiling the file manually with the -mregnames flag and applying this
patch fixes the build for me.

-- c

  linux_ppc_asm.patch
< 1K Download

    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 Mar 4 2005, 2:48 am
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Fri, 4 Mar 2005 08:48:06 +0100
Local: Fri, Mar 4 2005 2:48 am
Subject: Re: PPC jit fixes - hopefully

Chromatic <chroma...@wgz.org> wrote:
> On Thu, 2005-03-03 at 09:30 -0800, chromatic wrote:
>> Adding -mregnames to the as call makes it compile for me, but it
>> apparently doesn't export the symbol properly:
> Ah, here it is.  For whatever reason, it doesn't strip the leading
> underscore from the symbol name.  (GNU as allows symbols to start with
> word characters, but I don't see a flag to remove a prefix.)
> Compiling the file manually with the -mregnames flag and applying this
> patch fixes the build for me.

Ok. I've duplicate jit/ppc/asm.s to jit/ppc/ppc-linux.s, removed the
leading underscore and the register name prefixes.

config/auto/jit.pl should now use this file for the platform
"ppc-linux".

> -- c

Thanks to Olivier and your for providing feedback,
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 Mar 4 2005, 4:32 pm
Newsgroups: perl.perl6.internals
From: mdd...@gmail.com (Matt Diephouse)
Date: Fri, 4 Mar 2005 16:32:16 -0500
Local: Fri, Mar 4 2005 4:32 pm
Subject: Re: PPC jit fixes - hopefully

On Fri, 4 Mar 2005 16:24:30 -0500, Matt Diephouse <mdd...@gmail.com> wrote:
> On Fri, 4 Mar 2005 08:48:06 +0100, Leopold Toetsch <l...@toetsch.at> wrote:
> > Ok. I've duplicate jit/ppc/asm.s to jit/ppc/ppc-linux.s, removed the
> > leading underscore and the register name prefixes.

> > config/auto/jit.pl should now use this file for the platform
> > "ppc-linux".

> Can someone that #32514 can be closed?

Eek. That should read "Can someone *confirm* that #32514 can be closed?".

Sorry.

--
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.
Matt Diephouse  
View profile  
 More options Mar 4 2005, 4:24 pm
Newsgroups: perl.perl6.internals
From: mdd...@gmail.com (Matt Diephouse)
Date: Fri, 4 Mar 2005 16:24:30 -0500
Local: Fri, Mar 4 2005 4:24 pm
Subject: Re: PPC jit fixes - hopefully

On Fri, 4 Mar 2005 08:48:06 +0100, Leopold Toetsch <l...@toetsch.at> wrote:
> Ok. I've duplicate jit/ppc/asm.s to jit/ppc/ppc-linux.s, removed the
> leading underscore and the register name prefixes.

> config/auto/jit.pl should now use this file for the platform
> "ppc-linux".

Can someone that #32514 can be closed?

  https://rt.perl.org/rt3/Ticket/Display.html?id=32989

And #27414 along with it:

  https://rt.perl.org/rt3/Ticket/Display.html?id=27414

Thanks.

--
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.
Chromatic  
View profile  
 More options Mar 4 2005, 4:41 pm
Newsgroups: perl.perl6.internals
From: chroma...@wgz.org (Chromatic)
Date: Fri, 04 Mar 2005 13:41:42 -0800
Local: Fri, Mar 4 2005 4:41 pm
Subject: Re: PPC jit fixes - hopefully

On Fri, 2005-03-04 at 16:24 -0500, Matt Diephouse wrote:
> Can someone that #32514 can be closed?

>   https://rt.perl.org/rt3/Ticket/Display.html?id=32989

Yes, close it.

I don't see the failures (and have never seen them).  Both of the tests
mentioned there pass with make testj.  (Only t/pmc/eval.t #4 fails, and
I'll look at that later.)

-- c


    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