[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL v2 00/32] Misc changes for 2016-02-08
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PULL v2 00/32] Misc changes for 2016-02-08 |
Date: |
Tue, 9 Feb 2016 15:41:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 |
On 09/02/2016 15:20, Peter Maydell wrote:
> Compilation failure I'm afraid (all hosts):
>
> /home/pm215/qemu/target-i386/translate.c: In function ‘tcg_x86_init’:
> /home/pm215/qemu/target-i386/translate.c:7724:34: error: passing
> argument 1 of ‘tcg_global_mem_new_i32’ makes pointer from integer
> without a cast [-Werror]
> seg_base_names[i]);
> ^
> In file included from /home/pm215/qemu/tcg/tcg-op.h:25:0,
> from /home/pm215/qemu/target-i386/translate.c:24:
> /home/pm215/qemu/tcg/tcg.h:644:24: note: expected ‘TCGv_ptr’ but
> argument is of type ‘int’
> static inline TCGv_i32 tcg_global_mem_new_i32(TCGv_ptr reg, intptr_t offset,
> ^
Hmm, not on my host and I don't see what's going on:
static const char seg_base_names[6][8] = {
[R_CS] = "cs_base",
[R_DS] = "ds_base",
[R_ES] = "es_base",
[R_FS] = "fs_base",
[R_GS] = "gs_base",
[R_SS] = "ss_base",
};
cpu_seg_base[i]
= tcg_global_mem_new(TCG_AREG0,
offsetof(CPUX86State, segs[i].base),
seg_base_names[i]);
There's no difference between that and e.g.
cpu_cc_src2 = tcg_global_mem_new(TCG_AREG0,
offsetof(CPUX86State, cc_src2),
"cc_src2");
Paolo
- [Qemu-devel] [PULL 30/32] target-i386: fix PSE36 mode, (continued)
[Qemu-devel] [PULL 32/32] qemu-char, io: fix ordering of arguments for UDP socket creation, Paolo Bonzini, 2016/02/09
[Qemu-devel] [PULL 08/32] hw: Add support for LSI SAS1068 (mptsas) device, Paolo Bonzini, 2016/02/09
Re: [Qemu-devel] [PULL v2 00/32] Misc changes for 2016-02-08, Peter Maydell, 2016/02/09
- Re: [Qemu-devel] [PULL v2 00/32] Misc changes for 2016-02-08,
Paolo Bonzini <=