* [Qemu-devel] qemu master build errors
@ 2013-10-14 14:08 Michael S. Tsirkin
2013-10-14 14:26 ` Michael S. Tsirkin
2013-10-14 14:38 ` Markus Armbruster
0 siblings, 2 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2013-10-14 14:08 UTC (permalink / raw)
To: qemu-devel, Anthony Liguori
/scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
^
/scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
/scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
if (phys_mem_alloc != qemu_anon_ram_alloc) {
^
/scm/qemu/exec.c: In function ‘qemu_ram_remap’:
/scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
assert(phys_mem_alloc == qemu_anon_ram_alloc);
^
cc1: all warnings being treated as errors
make[1]: *** [exec.o] Error 1
make: *** [subdir-cris-softmmu] Error 2
make: *** Waiting for unfinished jobs....
CC arm-softmmu/translate-all.o
/scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
^
/scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
/scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
if (phys_mem_alloc != qemu_anon_ram_alloc) {
^
/scm/qemu/exec.c: In function ‘qemu_ram_remap’:
/scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
assert(phys_mem_alloc == qemu_anon_ram_alloc);
^
cc1: all warnings being treated as errors
make[1]: *** [exec.o] Error 1
make: *** [subdir-alpha-softmmu] Error 2
CC arm-softmmu/cpu-exec.o
CC arm-softmmu/tcg/tcg.o
/scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
^
/scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
/scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
if (phys_mem_alloc != qemu_anon_ram_alloc) {
^
/scm/qemu/exec.c: In function ‘qemu_ram_remap’:
/scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
assert(phys_mem_alloc == qemu_anon_ram_alloc);
^
cc1: all warnings being treated as errors
make[1]: *** [exec.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC i386-softmmu/translate-all.o
/scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
^
/scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
/scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
if (phys_mem_alloc != qemu_anon_ram_alloc) {
^
/scm/qemu/exec.c: In function ‘qemu_ram_remap’:
/scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
assert(phys_mem_alloc == qemu_anon_ram_alloc);
^
cc1: all warnings being treated as errors
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu master build errors
2013-10-14 14:08 [Qemu-devel] qemu master build errors Michael S. Tsirkin
@ 2013-10-14 14:26 ` Michael S. Tsirkin
2013-10-14 14:38 ` Markus Armbruster
1 sibling, 0 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2013-10-14 14:26 UTC (permalink / raw)
To: qemu-devel, Anthony Liguori
On Mon, Oct 14, 2013 at 05:08:58PM +0300, Michael S. Tsirkin wrote:
> /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
> static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
> ^
> /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
> /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
> if (phys_mem_alloc != qemu_anon_ram_alloc) {
> ^
It could have to do with the fact build is done on a 32 bit machine.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu master build errors
2013-10-14 14:08 [Qemu-devel] qemu master build errors Michael S. Tsirkin
2013-10-14 14:26 ` Michael S. Tsirkin
@ 2013-10-14 14:38 ` Markus Armbruster
2013-10-14 14:51 ` Michael S. Tsirkin
1 sibling, 1 reply; 5+ messages in thread
From: Markus Armbruster @ 2013-10-14 14:38 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: qemu-devel, Anthony Liguori
"Michael S. Tsirkin" <mst@redhat.com> writes:
> /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
> static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
> ^
> /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
> /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
> if (phys_mem_alloc != qemu_anon_ram_alloc) {
> ^
> /scm/qemu/exec.c: In function ‘qemu_ram_remap’:
> /scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
> assert(phys_mem_alloc == qemu_anon_ram_alloc);
> ^
> cc1: all warnings being treated as errors
> make[1]: *** [exec.o] Error 1
[...]
Fix has been on list for a while:
https://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04685.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu master build errors
2013-10-14 14:38 ` Markus Armbruster
@ 2013-10-14 14:51 ` Michael S. Tsirkin
2013-10-14 15:06 ` Anthony Liguori
0 siblings, 1 reply; 5+ messages in thread
From: Michael S. Tsirkin @ 2013-10-14 14:51 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel, Anthony Liguori
On Mon, Oct 14, 2013 at 04:38:22PM +0200, Markus Armbruster wrote:
> "Michael S. Tsirkin" <mst@redhat.com> writes:
>
> > /scm/qemu/exec.c:720:51: error: initialization from incompatible pointer type [-Werror]
> > static void *(*phys_mem_alloc)(ram_addr_t size) = qemu_anon_ram_alloc;
> > ^
> > /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
> > /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types lacks a cast [-Werror]
> > if (phys_mem_alloc != qemu_anon_ram_alloc) {
> > ^
> > /scm/qemu/exec.c: In function ‘qemu_ram_remap’:
> > /scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types lacks a cast [-Werror]
> > assert(phys_mem_alloc == qemu_anon_ram_alloc);
> > ^
> > cc1: all warnings being treated as errors
> > make[1]: *** [exec.o] Error 1
> [...]
>
> Fix has been on list for a while:
> https://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04685.html
Well who's picking it up?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] qemu master build errors
2013-10-14 14:51 ` Michael S. Tsirkin
@ 2013-10-14 15:06 ` Anthony Liguori
0 siblings, 0 replies; 5+ messages in thread
From: Anthony Liguori @ 2013-10-14 15:06 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: qemu-devel, Markus Armbruster
[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]
On Oct 14, 2013 7:49 AM, "Michael S. Tsirkin" <mst@redhat.com> wrote:
>
> On Mon, Oct 14, 2013 at 04:38:22PM +0200, Markus Armbruster wrote:
> > "Michael S. Tsirkin" <mst@redhat.com> writes:
> >
> > > /scm/qemu/exec.c:720:51: error: initialization from incompatible
pointer type [-Werror]
> > > static void *(*phys_mem_alloc)(ram_addr_t size) =
qemu_anon_ram_alloc;
> > > ^
> > > /scm/qemu/exec.c: In function ‘qemu_ram_alloc_from_ptr’:
> > > /scm/qemu/exec.c:1107:32: error: comparison of distinct pointer types
lacks a cast [-Werror]
> > > if (phys_mem_alloc != qemu_anon_ram_alloc) {
> > > ^
> > > /scm/qemu/exec.c: In function ‘qemu_ram_remap’:
> > > /scm/qemu/exec.c:1251:38: error: comparison of distinct pointer types
lacks a cast [-Werror]
> > > assert(phys_mem_alloc == qemu_anon_ram_alloc);
> > > ^
> > > cc1: all warnings being treated as errors
> > > make[1]: *** [exec.o] Error 1
> > [...]
> >
> > Fix has been on list for a while:
> > https://lists.nongnu.org/archive/html/qemu-devel/2013-09/msg04685.html
>
> Well who's picking it up?
>
I'll push this morning.
Regards,
Anthony Liguori
[-- Attachment #2: Type: text/html, Size: 1810 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-10-14 15:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-14 14:08 [Qemu-devel] qemu master build errors Michael S. Tsirkin
2013-10-14 14:26 ` Michael S. Tsirkin
2013-10-14 14:38 ` Markus Armbruster
2013-10-14 14:51 ` Michael S. Tsirkin
2013-10-14 15:06 ` Anthony Liguori
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).