Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40959] Parrot compile fails on OpenBSD/ppc in src/asmfun.s

6 views
Skip to first unread message

Steve Peters

unread,
Nov 21, 2006, 1:48:32 AM11/21/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Steve Peters
# Please include the string: [perl #40959]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40959 >


I'd love to be of more assistance with this, but my assembly is very
rusty and ix86 only :-/ Here are the existing error messages and the
code that I'm guessing is generated.

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
$ more src/asmfun.s
.text
.align 12
.globl _Parrot_ppc_jit_restore_nonvolatile_registers
_Parrot_ppc_jit_restore_nonvolatile_registers:

lfd f14,-84(r1)
lfd f15,-92(r1)
lfd f16,-100(r1)
lfd f17,-108(r1)
lfd f18,-116(r1)
lfd f19,-124(r1)
lfd f20,-132(r1)
lfd f21,-140(r1)
lfd f22,-148(r1)
lfd f23,-156(r1)
lfd f24,-164(r1)
lfd f25,-172(r1)
lfd f26,-180(r1)
lfd f27,-188(r1)
lfd f28,-196(r1)
lfd f29,-204(r1)
lfd f30,-212(r1)
lfd f31,-220(r1)

blr

Chromatic

unread,
Nov 21, 2006, 1:56:01 AM11/21/06
to perl6-i...@perl.org, Steve Peters
On Monday 20 November 2006 22:48, Steve Peters wrote:

> # New Ticket Created by Steve Peters
> # Please include the string: [perl #40959]
> # in the subject line of all future correspondence about this issue.
> # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40959 >
>
>
> I'd love to be of more assistance with this, but my assembly is very
> rusty and ix86 only :-/ Here are the existing error messages and the
> code that I'm guessing is generated.
>
> src/asmfun.s: Assembler messages:
> src/asmfun.s:6: Error: unsupported relocation against f14

*snip*

> $ more src/asmfun.s
> .text
> .align 12
> .globl _Parrot_ppc_jit_restore_nonvolatile_registers
> _Parrot_ppc_jit_restore_nonvolatile_registers:
>
> lfd f14,-84(r1)
> lfd f15,-92(r1)
> lfd f16,-100(r1)
> lfd f17,-108(r1)
> lfd f18,-116(r1)
> lfd f19,-124(r1)
> lfd f20,-132(r1)
> lfd f21,-140(r1)
> lfd f22,-148(r1)
> lfd f23,-156(r1)
> lfd f24,-164(r1)
> lfd f25,-172(r1)
> lfd f26,-180(r1)
> lfd f27,-188(r1)
> lfd f28,-196(r1)
> lfd f29,-204(r1)
> lfd f30,-212(r1)
> lfd f31,-220(r1)
>
> blr

This sounds familiar. If you s/(r/(/ on the file, does it compile and work?

If so, I think we have to use a different hint somewhere, so as not to assume
that OpenBSD is x86-only.

-- c

0 new messages