Re: Kernel crash on qemu-m68k-system while building r-cran packages

Laurent Vivier
2020-05-30T15:12:26Z

Le 30/05/2020 à 13:49, John Paul Adrian Glaubitz a écrit :
> Hi Michael!
>
> On 5/30/20 1:49 AM, Michael Schmitz wrote:
>> Can you try to run that R binary on a real 060 or 040?
> Works fine on elgar:
>
> root@elgar:~> R

As the package is available, I've been able to reproduce the problem
with logs enabled. Apparently the instruction is not decoded correctly:

----------------
IN:
0x00016a2c: fmovel #0,%fpsr
Disassembler disagrees with translator over instruction decoding
Please report this to qemu-devel@nongnu.org

OP:
ld_i32 tmp0,env,$0xfffffffffffffff0
movi_i32 tmp1,$0x0
brcond_i32 tmp0,tmp1,lt,$L0

---- 00016a2c 00000000
movi_i32 PC,$0x16a2c
movi_i32 tmp0,$0x3
call raise_exception,$0x0,$0,env,tmp0
set_label $L0
exit_tb $0x7fc2a0da5643

INT 49331: Address Error(0xc) pc=00016a2c sp=3cc91f30 sr=2004

I try to fix that...

Thanks,
Laurent