Re: Updates to kvm-arm-master

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, while ldr allows -4096 to 4096 immediate offset, ldrd (for doubleword) allows only –255 to +255 afaik.

On Wed, Oct 17, 2012 at 3:55 PM, Anton Romanov <theli.ua@xxxxxxxxx> wrote:
I just tried with the same
arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 -  Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)
toolchain and its still the same for me.

Fails on the following line (129):
    ldrd    r2, r3, [r1, #KVM_VTTBR]
if i change it to something like
    add r1, r1, #KVM_VTTBR
    ldrd    r2, r3, [r1]
it compiles just fine


On Wed, Oct 17, 2012 at 3:22 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
On 17/10/12 11:54, Anton Romanov wrote:
> ARM mode.
> arm-v7a8-linux-gnueabi-gcc (Gentoo 4.6.2 p1.3, pie-0.5.0) 4.6.2
>

Just checked with this compiler:
arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 -
Linaro GCC 2012.02) 4.6.3 20120201 (prerelease)

and it compiles just fine.

I'm afraid you'll have to give us a few more details about the exact
instruction the assembler barfs on. I have quite a few offsets above 256
in my tree, and works just fine...

        M.

> Thanks.
>
> On Wed, Oct 17, 2012 at 12:25 PM, Marc Zyngier <marc.zyngier@xxxxxxx
> <mailto:marc.zyngier@xxxxxxx>> wrote:
>
>     On 17/10/12 08:57, Anton Romanov wrote:
>     > This breaks compilation of kvm-arm-master for me :-/
>     >   AS      arch/arm/kvm/interrupts.o
>     > /tmp/ccw2DnTo.s: Assembler messages:
>     > /tmp/ccw2DnTo.s: Error: bad immediate value for 8-bit offset (256)
>
>     Can you please give more details about this error? Are you compiling
>     using Thumb2 or ARM? What's your compiler version?
>
>     Thanks,
>
>             M.
>     --
>     Jazz is not dead. It just smells funny...
>
>


--
Jazz is not dead. It just smells funny...



_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm

[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux