qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tcg/ppc: Add vector opcodes


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] tcg/ppc: Add vector opcodes
Date: Wed, 27 Feb 2019 21:11:48 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

On 2/27/19 8:01 PM, David Gibson wrote:
> On Wed, Feb 27, 2019 at 04:47:30PM -0800, Richard Henderson wrote:
>> On 2/24/19 3:31 PM, David Gibson wrote:
>>> I have access to POWER8 and POWER9 machines, but I haven't worked with
>>> RISU before.  If you can give me a straightforward recipe I can try
>>> running the tests.
>>
>> From
>>
>>   https://git.linaro.org/people/peter.maydell/risu.git
> 
> And I assume build it, at which point I hit this:
> 
> $ make
> gcc  -Wall -D_GNU_SOURCE -DARCH=ppc64 -I /home/dwg/risu/risu -g  -o 
> risu_ppc64.o -c risu_ppc64.c
> risu_ppc64.c: In function ‘advance_pc’:
> risu_ppc64.c:19:25: error: dereferencing pointer to incomplete type ‘struct 
> pt_regs’
>      uc->uc_mcontext.regs->nip += 4;
>                          ^~
> make: *** [Makefile:44: risu_ppc64.o] Error 1

Dunno.  Works for me.

$ uname -a
Linux gcc135.osuosl.org 4.14.0-115.2.2.el7a.ppc64le #1 SMP Wed Nov 28 21:39:33
GMT 2018 ppc64le ppc64le ppc64le GNU/Linux
$ head -2 /etc/os-release
NAME="CentOS Linux"
VERSION="7 (AltArch)"

I guess you'll need to debug this in your environment to find out what's 
different?


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]