All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] git master build failure
@ 2016-06-15  7:14 Mark Cave-Ayland
  2016-06-15  9:48 ` Andrew Jones
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Cave-Ayland @ 2016-06-15  7:14 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel

Hi Peter,

Just to let you know that after pulling git master
(49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
failure here:

cc -I/home/build/src/qemu/git/qemu/tcg
-I/home/build/src/qemu/git/qemu/tcg/i386
-I/home/build/src/qemu/git/qemu/linux-headers
-I/home/build/src/qemu/git/qemu/linux-headers -I.
-I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
-I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
  -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
-Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
-I/usr/include/libpng12    -I../linux-headers -I..
-I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
-I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
-MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
cc -I/home/build/src/qemu/git/qemu/tcg
-I/home/build/src/qemu/git/qemu/tcg/i386
-I/home/build/src/qemu/git/qemu/linux-headers
-I/home/build/src/qemu/git/qemu/linux-headers -I.
-I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
-I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
  -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
-Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
-Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
-Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
-Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
-I/usr/include/libpng12    -I../linux-headers -I..
-I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
-I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
/home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
‘virt_2_6_class_init’:
/home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
make[1]: *** [hw/arm/virt.o] Error 1
make[1]: Leaving directory `/home/build/src/qemu/git/qemu/arm-softmmu'
make: *** [subdir-arm-softmmu] Error 2
make: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/build/src/qemu/git/qemu/ppc-softmmu'


ATB,

Mark.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15  7:14 [Qemu-devel] git master build failure Mark Cave-Ayland
@ 2016-06-15  9:48 ` Andrew Jones
  2016-06-15 10:08   ` Mark Cave-Ayland
  0 siblings, 1 reply; 10+ messages in thread
From: Andrew Jones @ 2016-06-15  9:48 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: Peter Maydell, qemu-devel

On Wed, Jun 15, 2016 at 08:14:18AM +0100, Mark Cave-Ayland wrote:
> Hi Peter,
> 
> Just to let you know that after pulling git master
> (49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
> failure here:

Just pulled and successfully compiled,
  configure --target-list=aarch64-softmmu

And, I'm not sure how it's possible to this warning below. See below

> 
> cc -I/home/build/src/qemu/git/qemu/tcg
> -I/home/build/src/qemu/git/qemu/tcg/i386
> -I/home/build/src/qemu/git/qemu/linux-headers
> -I/home/build/src/qemu/git/qemu/linux-headers -I.
> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
> -I/usr/include/libpng12    -I../linux-headers -I..
> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
> -MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
> cc -I/home/build/src/qemu/git/qemu/tcg
> -I/home/build/src/qemu/git/qemu/tcg/i386
> -I/home/build/src/qemu/git/qemu/linux-headers
> -I/home/build/src/qemu/git/qemu/linux-headers -I.
> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
> -I/usr/include/libpng12    -I../linux-headers -I..
> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
> hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> -g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
> /home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
> ‘virt_2_6_class_init’:
> /home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
> subscript is above array bounds [-Werror=array-bounds]

hw/arm/virt.c:1509 is SET_MACHINE_COMPAT(mc, VIRT_COMPAT_2_6), and
VIRT_COMPAT_2_6 is HW_COMPAT_2_6 (which is currently nothing).

SET_MACHINE_COMPAT is

#define SET_MACHINE_COMPAT(m, COMPAT) \
    do {                              \
        int i;                        \
        static GlobalProperty props[] = {       \
            COMPAT                              \
            { /* end of list */ }               \
        };                                      \
        if (!m->compat_props) { \
            m->compat_props = g_array_new(false, false, sizeof(void *));
\
        } \
        for (i = 0; props[i].driver != NULL; i++) {    \
            GlobalProperty *prop = &props[i];          \
            g_array_append_val(m->compat_props, prop); \
        }                                              \
    } while (0)


so props[] is { {} }, which means props[0].driver == NULL. 0 should
be a valid subscript, and we shouldn't try any others.

Are you using special config options or a special compiler?

Thanks,
drew


> cc1: all warnings being treated as errors
> make[1]: *** [hw/arm/virt.o] Error 1
> make[1]: Leaving directory `/home/build/src/qemu/git/qemu/arm-softmmu'
> make: *** [subdir-arm-softmmu] Error 2
> make: *** Waiting for unfinished jobs....
> make[1]: Leaving directory `/home/build/src/qemu/git/qemu/ppc-softmmu'
> 
> 
> ATB,
> 
> Mark.
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15  9:48 ` Andrew Jones
@ 2016-06-15 10:08   ` Mark Cave-Ayland
  2016-06-15 10:23     ` Andrew Jones
  2016-06-15 12:35     ` Laszlo Ersek
  0 siblings, 2 replies; 10+ messages in thread
From: Mark Cave-Ayland @ 2016-06-15 10:08 UTC (permalink / raw)
  To: Andrew Jones; +Cc: Peter Maydell, qemu-devel

On 15/06/16 10:48, Andrew Jones wrote:

> On Wed, Jun 15, 2016 at 08:14:18AM +0100, Mark Cave-Ayland wrote:
>> Hi Peter,
>>
>> Just to let you know that after pulling git master
>> (49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
>> failure here:
> 
> Just pulled and successfully compiled,
>   configure --target-list=aarch64-softmmu
> 
> And, I'm not sure how it's possible to this warning below. See below
> 
>>
>> cc -I/home/build/src/qemu/git/qemu/tcg
>> -I/home/build/src/qemu/git/qemu/tcg/i386
>> -I/home/build/src/qemu/git/qemu/linux-headers
>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>> -I/usr/include/libpng12    -I../linux-headers -I..
>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
>> -MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>> -g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
>> cc -I/home/build/src/qemu/git/qemu/tcg
>> -I/home/build/src/qemu/git/qemu/tcg/i386
>> -I/home/build/src/qemu/git/qemu/linux-headers
>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>> -I/usr/include/libpng12    -I../linux-headers -I..
>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
>> hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>> -g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
>> /home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
>> ‘virt_2_6_class_init’:
>> /home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
>> subscript is above array bounds [-Werror=array-bounds]
> 
> hw/arm/virt.c:1509 is SET_MACHINE_COMPAT(mc, VIRT_COMPAT_2_6), and
> VIRT_COMPAT_2_6 is HW_COMPAT_2_6 (which is currently nothing).
> 
> SET_MACHINE_COMPAT is
> 
> #define SET_MACHINE_COMPAT(m, COMPAT) \
>     do {                              \
>         int i;                        \
>         static GlobalProperty props[] = {       \
>             COMPAT                              \
>             { /* end of list */ }               \
>         };                                      \
>         if (!m->compat_props) { \
>             m->compat_props = g_array_new(false, false, sizeof(void *));
> \
>         } \
>         for (i = 0; props[i].driver != NULL; i++) {    \
>             GlobalProperty *prop = &props[i];          \
>             g_array_append_val(m->compat_props, prop); \
>         }                                              \
>     } while (0)
> 
> 
> so props[] is { {} }, which means props[0].driver == NULL. 0 should
> be a valid subscript, and we shouldn't try any others.
> 
> Are you using special config options or a special compiler?
> 
> Thanks,
> drew

Hi Andrew,

Is that from a clean clone of the repository? I wonder if a change to a
generated file isn't being picked up somewhere by "make distclean". My
standard build script is this:

make distclean
'./configure' '--target-list=x86_64-softmmu sparc64-softmmu
sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'

System is standard Debian wheezy on amd64.


ATB,

Mark.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15 10:08   ` Mark Cave-Ayland
@ 2016-06-15 10:23     ` Andrew Jones
  2016-06-15 11:26       ` Mark Cave-Ayland
  2016-06-15 12:35     ` Laszlo Ersek
  1 sibling, 1 reply; 10+ messages in thread
From: Andrew Jones @ 2016-06-15 10:23 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: Peter Maydell, qemu-devel

On Wed, Jun 15, 2016 at 11:08:26AM +0100, Mark Cave-Ayland wrote:
> On 15/06/16 10:48, Andrew Jones wrote:
> 
> > On Wed, Jun 15, 2016 at 08:14:18AM +0100, Mark Cave-Ayland wrote:
> >> Hi Peter,
> >>
> >> Just to let you know that after pulling git master
> >> (49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
> >> failure here:
> > 
> > Just pulled and successfully compiled,
> >   configure --target-list=aarch64-softmmu
> > 
> > And, I'm not sure how it's possible to this warning below. See below
> > 
> >>
> >> cc -I/home/build/src/qemu/git/qemu/tcg
> >> -I/home/build/src/qemu/git/qemu/tcg/i386
> >> -I/home/build/src/qemu/git/qemu/linux-headers
> >> -I/home/build/src/qemu/git/qemu/linux-headers -I.
> >> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
> >> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
> >>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
> >> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> >> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> >> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
> >> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> >> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
> >> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
> >> -I/usr/include/libpng12    -I../linux-headers -I..
> >> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
> >> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
> >> -MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
> >> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> >> -g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
> >> cc -I/home/build/src/qemu/git/qemu/tcg
> >> -I/home/build/src/qemu/git/qemu/tcg/i386
> >> -I/home/build/src/qemu/git/qemu/linux-headers
> >> -I/home/build/src/qemu/git/qemu/linux-headers -I.
> >> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
> >> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
> >>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
> >> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
> >> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
> >> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
> >> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
> >> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
> >> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
> >> -I/usr/include/libpng12    -I../linux-headers -I..
> >> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
> >> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
> >> hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
> >> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
> >> -g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
> >> /home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
> >> ‘virt_2_6_class_init’:
> >> /home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
> >> subscript is above array bounds [-Werror=array-bounds]
> > 
> > hw/arm/virt.c:1509 is SET_MACHINE_COMPAT(mc, VIRT_COMPAT_2_6), and
> > VIRT_COMPAT_2_6 is HW_COMPAT_2_6 (which is currently nothing).
> > 
> > SET_MACHINE_COMPAT is
> > 
> > #define SET_MACHINE_COMPAT(m, COMPAT) \
> >     do {                              \
> >         int i;                        \
> >         static GlobalProperty props[] = {       \
> >             COMPAT                              \
> >             { /* end of list */ }               \
> >         };                                      \
> >         if (!m->compat_props) { \
> >             m->compat_props = g_array_new(false, false, sizeof(void *));
> > \
> >         } \
> >         for (i = 0; props[i].driver != NULL; i++) {    \
> >             GlobalProperty *prop = &props[i];          \
> >             g_array_append_val(m->compat_props, prop); \
> >         }                                              \
> >     } while (0)
> > 
> > 
> > so props[] is { {} }, which means props[0].driver == NULL. 0 should
> > be a valid subscript, and we shouldn't try any others.
> > 
> > Are you using special config options or a special compiler?
> > 
> > Thanks,
> > drew
> 
> Hi Andrew,
> 
> Is that from a clean clone of the repository? I wonder if a change to a
> generated file isn't being picked up somewhere by "make distclean". My
> standard build script is this:

Not a clean clone, but a clean build dir. I build in a separate build dir.
mkdir builddir
cd builddir
../srcdir/configure ...
make

> 
> make distclean
> './configure' '--target-list=x86_64-softmmu sparc64-softmmu
> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'

Tried this config and still compiles for me.

> 
> System is standard Debian wheezy on amd64.

For me Fedora22, Intel

Thanks,
drew

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15 10:23     ` Andrew Jones
@ 2016-06-15 11:26       ` Mark Cave-Ayland
  2016-06-15 11:46         ` Mark Cave-Ayland
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Cave-Ayland @ 2016-06-15 11:26 UTC (permalink / raw)
  To: Andrew Jones; +Cc: Peter Maydell, qemu-devel

On 15/06/16 11:23, Andrew Jones wrote:

>> Is that from a clean clone of the repository? I wonder if a change to a
>> generated file isn't being picked up somewhere by "make distclean". My
>> standard build script is this:
> 
> Not a clean clone, but a clean build dir. I build in a separate build dir.
> mkdir builddir
> cd builddir
> ../srcdir/configure ...
> make
> 
>>
>> make distclean
>> './configure' '--target-list=x86_64-softmmu sparc64-softmmu
>> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'
> 
> Tried this config and still compiles for me.

I've just tried it again using a git clone into a fresh directory and an
out-of-tree build similar to as you did above and I still get the failure:

cc -I/home/build/src/qemu/git/x/qemu/tcg
-I/home/build/src/qemu/git/x/qemu/tcg/i386
-I/home/build/src/qemu/git/x/qemu/linux-headers
-I/home/build/src/qemu/git/x/build/linux-headers -I.
-I/home/build/src/qemu/git/x/qemu
-I/home/build/src/qemu/git/x/qemu/include
-I/home/build/src/qemu/git/x/qemu/target-ppc -Itarget-ppc
-I/usr/include/pixman-1   -I/home/build/src/qemu/git/x/qemu/dtc/libfdt
-Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
-Wmissing-prototypes -fno-strict-aliasing -fno-common  -Wendif-labels
-Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security
-Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
-Wold-style-definition -Wtype-limits -fstack-protector-all
-I/usr/include/p11-kit-1      -I/usr/include/libpng12
-I../linux-headers -I.. -I/home/build/src/qemu/git/x/qemu/target-ppc
-DNEED_CPU_H -I/home/build/src/qemu/git/x/qemu/include -MMD -MP -MT
target-ppc/timebase_helper.o -MF target-ppc/timebase_helper.d -O2
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g   -c -o
target-ppc/timebase_helper.o
/home/build/src/qemu/git/x/qemu/target-ppc/timebase_helper.c
/home/build/src/qemu/git/x/qemu/hw/arm/virt.c: In function
‘virt_2_6_class_init’:
/home/build/src/qemu/git/x/qemu/hw/arm/virt.c:1509:5: error: array
subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
make[1]: *** [hw/arm/virt.o] Error 1
make[1]: Leaving directory `/home/build/src/qemu/git/x/build/arm-softmmu'
make: *** [subdir-arm-softmmu] Error 2

Not sure if it's a contributing factor but my standard make invocation
tries to build with 2 cores once configure has run, i.e. "make V=1 -j2
install".


ATB,

Mark.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15 11:26       ` Mark Cave-Ayland
@ 2016-06-15 11:46         ` Mark Cave-Ayland
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Cave-Ayland @ 2016-06-15 11:46 UTC (permalink / raw)
  To: Andrew Jones; +Cc: Peter Maydell, qemu-devel

On 15/06/16 12:26, Mark Cave-Ayland wrote:

> On 15/06/16 11:23, Andrew Jones wrote:
> 
>>> Is that from a clean clone of the repository? I wonder if a change to a
>>> generated file isn't being picked up somewhere by "make distclean". My
>>> standard build script is this:
>>
>> Not a clean clone, but a clean build dir. I build in a separate build dir.
>> mkdir builddir
>> cd builddir
>> ../srcdir/configure ...
>> make
>>
>>>
>>> make distclean
>>> './configure' '--target-list=x86_64-softmmu sparc64-softmmu
>>> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'
>>
>> Tried this config and still compiles for me.
> 
> I've just tried it again using a git clone into a fresh directory and an
> out-of-tree build similar to as you did above and I still get the failure:
> 
> cc -I/home/build/src/qemu/git/x/qemu/tcg
> -I/home/build/src/qemu/git/x/qemu/tcg/i386
> -I/home/build/src/qemu/git/x/qemu/linux-headers
> -I/home/build/src/qemu/git/x/build/linux-headers -I.
> -I/home/build/src/qemu/git/x/qemu
> -I/home/build/src/qemu/git/x/qemu/include
> -I/home/build/src/qemu/git/x/qemu/target-ppc -Itarget-ppc
> -I/usr/include/pixman-1   -I/home/build/src/qemu/git/x/qemu/dtc/libfdt
> -Werror -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
> -Wmissing-prototypes -fno-strict-aliasing -fno-common  -Wendif-labels
> -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security
> -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration
> -Wold-style-definition -Wtype-limits -fstack-protector-all
> -I/usr/include/p11-kit-1      -I/usr/include/libpng12
> -I../linux-headers -I.. -I/home/build/src/qemu/git/x/qemu/target-ppc
> -DNEED_CPU_H -I/home/build/src/qemu/git/x/qemu/include -MMD -MP -MT
> target-ppc/timebase_helper.o -MF target-ppc/timebase_helper.d -O2
> -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/glib-2.0
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -g   -c -o
> target-ppc/timebase_helper.o
> /home/build/src/qemu/git/x/qemu/target-ppc/timebase_helper.c
> /home/build/src/qemu/git/x/qemu/hw/arm/virt.c: In function
> ‘virt_2_6_class_init’:
> /home/build/src/qemu/git/x/qemu/hw/arm/virt.c:1509:5: error: array
> subscript is above array bounds [-Werror=array-bounds]
> cc1: all warnings being treated as errors
> make[1]: *** [hw/arm/virt.o] Error 1
> make[1]: Leaving directory `/home/build/src/qemu/git/x/build/arm-softmmu'
> make: *** [subdir-arm-softmmu] Error 2
> 
> Not sure if it's a contributing factor but my standard make invocation
> tries to build with 2 cores once configure has run, i.e. "make V=1 -j2
> install".

And here's a log of the build output for the above build (fresh git
clone, external build dir):
https://www.ilande.co.uk/tmp/qemu/qemu-build-fail.txt.


ATB,

Mark.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15 10:08   ` Mark Cave-Ayland
  2016-06-15 10:23     ` Andrew Jones
@ 2016-06-15 12:35     ` Laszlo Ersek
  2016-06-17 12:41       ` Mark Cave-Ayland
  1 sibling, 1 reply; 10+ messages in thread
From: Laszlo Ersek @ 2016-06-15 12:35 UTC (permalink / raw)
  To: Mark Cave-Ayland, Andrew Jones; +Cc: Peter Maydell, qemu-devel

On 06/15/16 12:08, Mark Cave-Ayland wrote:
> On 15/06/16 10:48, Andrew Jones wrote:
> 
>> On Wed, Jun 15, 2016 at 08:14:18AM +0100, Mark Cave-Ayland wrote:
>>> Hi Peter,
>>>
>>> Just to let you know that after pulling git master
>>> (49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
>>> failure here:
>>
>> Just pulled and successfully compiled,
>>   configure --target-list=aarch64-softmmu
>>
>> And, I'm not sure how it's possible to this warning below. See below
>>
>>>
>>> cc -I/home/build/src/qemu/git/qemu/tcg
>>> -I/home/build/src/qemu/git/qemu/tcg/i386
>>> -I/home/build/src/qemu/git/qemu/linux-headers
>>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>>> -I/usr/include/libpng12    -I../linux-headers -I..
>>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
>>> -MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>>> -g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
>>> cc -I/home/build/src/qemu/git/qemu/tcg
>>> -I/home/build/src/qemu/git/qemu/tcg/i386
>>> -I/home/build/src/qemu/git/qemu/linux-headers
>>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>>> -I/usr/include/libpng12    -I../linux-headers -I..
>>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
>>> hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>>> -g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
>>> /home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
>>> ‘virt_2_6_class_init’:
>>> /home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
>>> subscript is above array bounds [-Werror=array-bounds]
>>
>> hw/arm/virt.c:1509 is SET_MACHINE_COMPAT(mc, VIRT_COMPAT_2_6), and
>> VIRT_COMPAT_2_6 is HW_COMPAT_2_6 (which is currently nothing).
>>
>> SET_MACHINE_COMPAT is
>>
>> #define SET_MACHINE_COMPAT(m, COMPAT) \
>>     do {                              \
>>         int i;                        \
>>         static GlobalProperty props[] = {       \
>>             COMPAT                              \
>>             { /* end of list */ }               \
>>         };                                      \
>>         if (!m->compat_props) { \
>>             m->compat_props = g_array_new(false, false, sizeof(void *));
>> \
>>         } \
>>         for (i = 0; props[i].driver != NULL; i++) {    \
>>             GlobalProperty *prop = &props[i];          \
>>             g_array_append_val(m->compat_props, prop); \
>>         }                                              \
>>     } while (0)
>>
>>
>> so props[] is { {} }, which means props[0].driver == NULL. 0 should
>> be a valid subscript, and we shouldn't try any others.
>>
>> Are you using special config options or a special compiler?
>>
>> Thanks,
>> drew
> 
> Hi Andrew,
> 
> Is that from a clean clone of the repository? I wonder if a change to a
> generated file isn't being picked up somewhere by "make distclean". My
> standard build script is this:
> 
> make distclean
> './configure' '--target-list=x86_64-softmmu sparc64-softmmu
> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'
> 
> System is standard Debian wheezy on amd64.

According to <https://packages.debian.org/wheezy/gcc>, your gcc is 4.7.2
based (4:4.7.2-1). With a simple google search, I found the following
gcc bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456

My guess is that Debian has not backported the upstream fix(es) for this
gcc bug. In particular, if you look at gcc bug #53198 referenced above,
it says:

  Known to fail: 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.2, 4.7.4

which includes the Wheezy version (4.7.2). Clicking the "Debian
Changelog" link on the above p.d.o page, I don't see anything that would
indicate that Debian backported the fix.

(For reference, I run RHEL-7.2.z, with gcc version 4.8.5-4. According to
#56273 above, gcc-4.8.4 is also affected, but 4.8.5 is not (see the
Target Milestone field, and the Status field). I built
qemu-system-aarch64 from upstream 49237b856ae5 a few hours ago.)

I suggest that you open a debian bug; I don't see a report for this
issue yet <https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gcc-4.7>.

Thanks,
Laszlo

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-15 12:35     ` Laszlo Ersek
@ 2016-06-17 12:41       ` Mark Cave-Ayland
  2016-06-17 12:55         ` Peter Maydell
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Cave-Ayland @ 2016-06-17 12:41 UTC (permalink / raw)
  To: Laszlo Ersek, Andrew Jones; +Cc: Peter Maydell, qemu-devel

On 15/06/16 13:35, Laszlo Ersek wrote:

> On 06/15/16 12:08, Mark Cave-Ayland wrote:
>> On 15/06/16 10:48, Andrew Jones wrote:
>>
>>> On Wed, Jun 15, 2016 at 08:14:18AM +0100, Mark Cave-Ayland wrote:
>>>> Hi Peter,
>>>>
>>>> Just to let you know that after pulling git master
>>>> (49237b856ae58ee7955be0b959c504c51b014f20) I see the following build
>>>> failure here:
>>>
>>> Just pulled and successfully compiled,
>>>   configure --target-list=aarch64-softmmu
>>>
>>> And, I'm not sure how it's possible to this warning below. See below
>>>
>>>>
>>>> cc -I/home/build/src/qemu/git/qemu/tcg
>>>> -I/home/build/src/qemu/git/qemu/tcg/i386
>>>> -I/home/build/src/qemu/git/qemu/linux-headers
>>>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>>>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>>>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>>>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>>>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>>>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>>>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>>>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>>>> -I/usr/include/libpng12    -I../linux-headers -I..
>>>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>>>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/vexpress.o
>>>> -MF hw/arm/vexpress.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>>>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>>>> -g   -c -o hw/arm/vexpress.o /home/build/src/qemu/git/qemu/hw/arm/vexpress.c
>>>> cc -I/home/build/src/qemu/git/qemu/tcg
>>>> -I/home/build/src/qemu/git/qemu/tcg/i386
>>>> -I/home/build/src/qemu/git/qemu/linux-headers
>>>> -I/home/build/src/qemu/git/qemu/linux-headers -I.
>>>> -I/home/build/src/qemu/git/qemu -I/home/build/src/qemu/git/qemu/include
>>>> -I/home/build/src/qemu/git/qemu/hw/arm -Ihw/arm -I/usr/include/pixman-1
>>>>   -I/home/build/src/qemu/git/qemu/dtc/libfdt -Werror -m64 -D_GNU_SOURCE
>>>> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes
>>>> -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes
>>>> -fno-strict-aliasing -fno-common  -Wendif-labels -Wmissing-include-dirs
>>>> -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self
>>>> -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition
>>>> -Wtype-limits -fstack-protector-all -I/usr/include/p11-kit-1
>>>> -I/usr/include/libpng12    -I../linux-headers -I..
>>>> -I/home/build/src/qemu/git/qemu/target-arm -DNEED_CPU_H
>>>> -I/home/build/src/qemu/git/qemu/include -MMD -MP -MT hw/arm/virt.o -MF
>>>> hw/arm/virt.d -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -pthread
>>>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>>>> -g   -c -o hw/arm/virt.o /home/build/src/qemu/git/qemu/hw/arm/virt.c
>>>> /home/build/src/qemu/git/qemu/hw/arm/virt.c: In function
>>>> ‘virt_2_6_class_init’:
>>>> /home/build/src/qemu/git/qemu/hw/arm/virt.c:1509:5: error: array
>>>> subscript is above array bounds [-Werror=array-bounds]
>>>
>>> hw/arm/virt.c:1509 is SET_MACHINE_COMPAT(mc, VIRT_COMPAT_2_6), and
>>> VIRT_COMPAT_2_6 is HW_COMPAT_2_6 (which is currently nothing).
>>>
>>> SET_MACHINE_COMPAT is
>>>
>>> #define SET_MACHINE_COMPAT(m, COMPAT) \
>>>     do {                              \
>>>         int i;                        \
>>>         static GlobalProperty props[] = {       \
>>>             COMPAT                              \
>>>             { /* end of list */ }               \
>>>         };                                      \
>>>         if (!m->compat_props) { \
>>>             m->compat_props = g_array_new(false, false, sizeof(void *));
>>> \
>>>         } \
>>>         for (i = 0; props[i].driver != NULL; i++) {    \
>>>             GlobalProperty *prop = &props[i];          \
>>>             g_array_append_val(m->compat_props, prop); \
>>>         }                                              \
>>>     } while (0)
>>>
>>>
>>> so props[] is { {} }, which means props[0].driver == NULL. 0 should
>>> be a valid subscript, and we shouldn't try any others.
>>>
>>> Are you using special config options or a special compiler?
>>>
>>> Thanks,
>>> drew
>>
>> Hi Andrew,
>>
>> Is that from a clean clone of the repository? I wonder if a change to a
>> generated file isn't being picked up somewhere by "make distclean". My
>> standard build script is this:
>>
>> make distclean
>> './configure' '--target-list=x86_64-softmmu sparc64-softmmu
>> sparc-softmmu ppc-softmmu arm-softmmu' '--disable-pie'
>>
>> System is standard Debian wheezy on amd64.
> 
> According to <https://packages.debian.org/wheezy/gcc>, your gcc is 4.7.2
> based (4:4.7.2-1). With a simple google search, I found the following
> gcc bugs:
> 
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45978
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53198
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56273
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456
> 
> My guess is that Debian has not backported the upstream fix(es) for this
> gcc bug. In particular, if you look at gcc bug #53198 referenced above,
> it says:
> 
>   Known to fail: 4.6.0, 4.6.1, 4.6.2, 4.6.3, 4.7.2, 4.7.4
> 
> which includes the Wheezy version (4.7.2). Clicking the "Debian
> Changelog" link on the above p.d.o page, I don't see anything that would
> indicate that Debian backported the fix.
> 
> (For reference, I run RHEL-7.2.z, with gcc version 4.8.5-4. According to
> #56273 above, gcc-4.8.4 is also affected, but 4.8.5 is not (see the
> Target Milestone field, and the Status field). I built
> qemu-system-aarch64 from upstream 49237b856ae5 a few hours ago.)
> 
> I suggest that you open a debian bug; I don't see a report for this
> issue yet <https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=gcc-4.7>.

Hi Laszlo,

Thank you looking into this. I know that some workarounds have been
applied for similar bugs in Peter's setup, but in general should I
assume that out-of-the-box Debian oldstable is now no longer supported
to build QEMU?


ATB,

Mark.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-17 12:41       ` Mark Cave-Ayland
@ 2016-06-17 12:55         ` Peter Maydell
  2016-06-17 19:45           ` Laszlo Ersek
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Maydell @ 2016-06-17 12:55 UTC (permalink / raw)
  To: Mark Cave-Ayland; +Cc: Laszlo Ersek, Andrew Jones, qemu-devel

On 17 June 2016 at 13:41, Mark Cave-Ayland
<mark.cave-ayland@ilande.co.uk> wrote:
> Thank you looking into this. I know that some workarounds have been
> applied for similar bugs in Peter's setup, but in general should I
> assume that out-of-the-box Debian oldstable is now no longer supported
> to build QEMU?

I would kind of prefer us to work around the compiler issue if
it's not too difficult to do so. Otherwise, just configure
with --disable-werror.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] git master build failure
  2016-06-17 12:55         ` Peter Maydell
@ 2016-06-17 19:45           ` Laszlo Ersek
  0 siblings, 0 replies; 10+ messages in thread
From: Laszlo Ersek @ 2016-06-17 19:45 UTC (permalink / raw)
  To: Peter Maydell, Mark Cave-Ayland; +Cc: Andrew Jones, qemu-devel

On 06/17/16 14:55, Peter Maydell wrote:
> On 17 June 2016 at 13:41, Mark Cave-Ayland
> <mark.cave-ayland@ilande.co.uk> wrote:
>> Thank you looking into this. I know that some workarounds have been
>> applied for similar bugs in Peter's setup, but in general should I
>> assume that out-of-the-box Debian oldstable is now no longer supported
>> to build QEMU?

(I have no stake in this, just took an interest in it for some reason.)

> I would kind of prefer us to work around the compiler issue if
> it's not too difficult to do so. Otherwise, just configure
> with --disable-werror.

I agree working it around is preferable, if we can find a deterministic
way to do that. I'm afraid it will require someone to look into, and
understand, the internal AST representation of gcc (with -fdump-tree-*),
and then perturb it through the QEMU source sufficiently.

Also, how about filing that backport bug for Debian? If they backport
the gcc fix, then the issue is solved -- people can be expected to
update their Debian systems fully, before they do any heavy-lifting with
them (like building QEMU).

Thanks
Laszlo

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-06-17 19:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-15  7:14 [Qemu-devel] git master build failure Mark Cave-Ayland
2016-06-15  9:48 ` Andrew Jones
2016-06-15 10:08   ` Mark Cave-Ayland
2016-06-15 10:23     ` Andrew Jones
2016-06-15 11:26       ` Mark Cave-Ayland
2016-06-15 11:46         ` Mark Cave-Ayland
2016-06-15 12:35     ` Laszlo Ersek
2016-06-17 12:41       ` Mark Cave-Ayland
2016-06-17 12:55         ` Peter Maydell
2016-06-17 19:45           ` Laszlo Ersek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.