qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL 0/5] tcg queued patches


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL 0/5] tcg queued patches
Date: Tue, 16 Feb 2016 11:45:43 +0000

On 15 February 2016 at 20:57, Richard Henderson <address@hidden> wrote:
> On 02/16/2016 07:35 AM, Peter Maydell wrote:
>> On 15 February 2016 at 20:29, Richard Henderson <address@hidden> wrote:
>>> I couldn't reproduce this quickly with a freshly built gcc 4.8 branch on
>>> i686-linux.  Could you please file a gcc bug with your preprocessed
>>> source?
>>> There's a chance it isn't a duplicate, but...
>>
>>
>> Is it worth filing a bug that only repros on a non-upstream gcc?
>
>
> Well, it doesn't repro on i686-linux; with a cross-compiler to mingw it
> still might, but filing the bug will save me setting up the full cross
> environment to be able to build qemu with mingw.

I started filing a bug, but the preprocessed source exceeds the 1MB
size limit on gcc bugzilla anyway. So I'm just going to put the
output of gcc -save-temps -v below, and you can find translate.i
at http://people.linaro.org/~peter.maydell/translate.i (2.3MB).


$ i686-w64-mingw32-gcc -I/home/petmay01/linaro/qemu-for-merges/tcg
-I/home/petmay01/linaro/qemu-for-merges/tcg/i386 -I.
-I/home/petmay01/linaro/qemu-for-merges
-I/home/petmay01/linaro/qemu-for-merges/include
-I/home/petmay01/linaro/qemu-for-merges/target-sparc -Itarget-sparc
-I/home/petmay01/linaro/mingw/include/pixman-1
-I/home/petmay01/linaro/qemu-for-merges/dtc/libfdt -m32 -mthreads
-D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501
-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
-I/home/petmay01/linaro/mingw/include  -Wno-unused-local-typedefs
-Werror -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/home/petmay01/linaro/mingw/include/libpng15    -I..
-I/home/petmay01/linaro/qemu-for-merges/target-sparc -DNEED_CPU_H
-I/home/petmay01/linaro/qemu-for-merges/include  -MMD -MP -MT
target-sparc/translate.o -MF target-sparc/translate.d -O2
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -mms-bitfields
-I/home/petmay01/linaro/mingw/include/glib-2.0
-I/home/petmay01/linaro/mingw/lib/glib-2.0/include   -g   -c -o
target-sparc/translate.o
/home/petmay01/linaro/qemu-for-merges/target-sparc/translate.c
-save-temps -v
Using built-in specs.
COLLECT_GCC=i686-w64-mingw32-gcc
Target: i686-w64-mingw32
Configured with: ../../src/configure --build=x86_64-linux-gnu
--prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man'
--infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var
--libexecdir='/usr/lib/gcc-mingw-w64' --disable-maintainer-mode
--disable-dependency-tracking --prefix=/usr --enable-shared
--enable-static --disable-multilib --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib
--enable-libstdcxx-time=yes --with-tune=generic
--enable-version-specific-runtime-libs --enable-threads=posix
--enable-fully-dynamic-string --enable-sjlj-exceptions
--enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++
--enable-lto --with-plugin-ld --target=i686-w64-mingw32
--with-gxx-include-dir=/usr/include/c++/4.8
--with-as=/usr/bin/i686-w64-mingw32-as
--with-ld=/usr/bin/i686-w64-mingw32-ld
Thread model: posix
gcc version 4.8.2 (GCC)
COLLECT_GCC_OPTIONS='-I' '/home/petmay01/linaro/qemu-for-merges/tcg'
'-I' '/home/petmay01/linaro/qemu-for-merges/tcg/i386' '-I' '.' '-I'
'/home/petmay01/linaro/qemu-for-merges' '-I'
'/home/petmay01/linaro/qemu-for-merges/include' '-I'
'/home/petmay01/linaro/qemu-for-merges/target-sparc' '-I'
'target-sparc' '-I' '/home/petmay01/linaro/mingw/include/pixman-1'
'-I' '/home/petmay01/linaro/qemu-for-merges/dtc/libfdt' '-m32'
'-mthreads' '-D' '__USE_MINGW_ANSI_STDIO=1' '-D' 'WIN32_LEAN_AND_MEAN'
'-D' 'WINVER=0x501' '-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' '-I'
'/home/petmay01/linaro/mingw/include' '-Wno-unused-local-typedefs'
'-Werror' '-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'
'/home/petmay01/linaro/mingw/include/libpng15' '-I' '..' '-I'
'/home/petmay01/linaro/qemu-for-merges/target-sparc' '-D' 'NEED_CPU_H'
'-I' '/home/petmay01/linaro/qemu-for-merges/include' '-MMD' '-MP'
'-MT' 'target-sparc/translate.o' '-MF' 'target-sparc/translate.d'
'-O2' '-U' '_FORTIFY_SOURCE' '-D' '_FORTIFY_SOURCE=2' '-mms-bitfields'
'-I' '/home/petmay01/linaro/mingw/include/glib-2.0' '-I'
'/home/petmay01/linaro/mingw/lib/glib-2.0/include' '-g' '-c' '-o'
'target-sparc/translate.o' '-save-temps' '-v' '-mtune=generic'
'-march=pentiumpro'
 /usr/lib/gcc/i686-w64-mingw32/4.8/cc1 -E -quiet -v -I
/home/petmay01/linaro/qemu-for-merges/tcg -I
/home/petmay01/linaro/qemu-for-merges/tcg/i386 -I . -I
/home/petmay01/linaro/qemu-for-merges -I
/home/petmay01/linaro/qemu-for-merges/include -I
/home/petmay01/linaro/qemu-for-merges/target-sparc -I target-sparc -I
/home/petmay01/linaro/mingw/include/pixman-1 -I
/home/petmay01/linaro/qemu-for-merges/dtc/libfdt -I
/home/petmay01/linaro/mingw/include -I
/home/petmay01/linaro/mingw/include/libpng15 -I .. -I
/home/petmay01/linaro/qemu-for-merges/target-sparc -I
/home/petmay01/linaro/qemu-for-merges/include -I
/home/petmay01/linaro/mingw/include/glib-2.0 -I
/home/petmay01/linaro/mingw/lib/glib-2.0/include -MMD
target-sparc/translate.d -MF target-sparc/translate.d -MP -MT
target-sparc/translate.o -D_MT -D_REENTRANT -D
__USE_MINGW_ANSI_STDIO=1 -D WIN32_LEAN_AND_MEAN -D WINVER=0x501 -D
_GNU_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D NEED_CPU_H
-U _FORTIFY_SOURCE -D _FORTIFY_SOURCE=2
/home/petmay01/linaro/qemu-for-merges/target-sparc/translate.c -m32
-mthreads -mms-bitfields -mtune=generic -march=pentiumpro
-Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings
-Wmissing-prototypes -Wno-unused-local-typedefs -Werror -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 -fno-strict-aliasing -fno-common
-fstack-protector-all -g -fworking-directory -O2 -fpch-preprocess -o
translate.i
ignoring nonexistent directory
"/usr/lib/gcc/i686-w64-mingw32/4.8/../../../../i686-w64-mingw32/sys-include"
ignoring duplicate directory
"/home/petmay01/linaro/qemu-for-merges/target-sparc"
ignoring duplicate directory "/home/petmay01/linaro/qemu-for-merges/include"
#include "..." search starts here:
#include <...> search starts here:
 /home/petmay01/linaro/qemu-for-merges/tcg
 /home/petmay01/linaro/qemu-for-merges/tcg/i386
 .
 /home/petmay01/linaro/qemu-for-merges
 /home/petmay01/linaro/qemu-for-merges/include
 /home/petmay01/linaro/qemu-for-merges/target-sparc
 target-sparc
 /home/petmay01/linaro/mingw/include/pixman-1
 /home/petmay01/linaro/qemu-for-merges/dtc/libfdt
 /home/petmay01/linaro/mingw/include
 /home/petmay01/linaro/mingw/include/libpng15
 ..
 /home/petmay01/linaro/mingw/include/glib-2.0
 /home/petmay01/linaro/mingw/lib/glib-2.0/include
 /usr/lib/gcc/i686-w64-mingw32/4.8/include
 /usr/lib/gcc/i686-w64-mingw32/4.8/include-fixed
 /usr/lib/gcc/i686-w64-mingw32/4.8/../../../../i686-w64-mingw32/include
End of search list.
COLLECT_GCC_OPTIONS='-I' '/home/petmay01/linaro/qemu-for-merges/tcg'
'-I' '/home/petmay01/linaro/qemu-for-merges/tcg/i386' '-I' '.' '-I'
'/home/petmay01/linaro/qemu-for-merges' '-I'
'/home/petmay01/linaro/qemu-for-merges/include' '-I'
'/home/petmay01/linaro/qemu-for-merges/target-sparc' '-I'
'target-sparc' '-I' '/home/petmay01/linaro/mingw/include/pixman-1'
'-I' '/home/petmay01/linaro/qemu-for-merges/dtc/libfdt' '-m32'
'-mthreads' '-D' '__USE_MINGW_ANSI_STDIO=1' '-D' 'WIN32_LEAN_AND_MEAN'
'-D' 'WINVER=0x501' '-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' '-I'
'/home/petmay01/linaro/mingw/include' '-Wno-unused-local-typedefs'
'-Werror' '-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'
'/home/petmay01/linaro/mingw/include/libpng15' '-I' '..' '-I'
'/home/petmay01/linaro/qemu-for-merges/target-sparc' '-D' 'NEED_CPU_H'
'-I' '/home/petmay01/linaro/qemu-for-merges/include' '-MMD' '-MP'
'-MT' 'target-sparc/translate.o' '-MF' 'target-sparc/translate.d'
'-O2' '-U' '_FORTIFY_SOURCE' '-D' '_FORTIFY_SOURCE=2' '-mms-bitfields'
'-I' '/home/petmay01/linaro/mingw/include/glib-2.0' '-I'
'/home/petmay01/linaro/mingw/lib/glib-2.0/include' '-g' '-c' '-o'
'target-sparc/translate.o' '-save-temps' '-v' '-mtune=generic'
'-march=pentiumpro'
 /usr/lib/gcc/i686-w64-mingw32/4.8/cc1 -fpreprocessed translate.i
-quiet -dumpbase translate.c -m32 -mthreads -mms-bitfields
-mtune=generic -march=pentiumpro -auxbase-strip
target-sparc/translate.o -g -O2 -Wstrict-prototypes -Wredundant-decls
-Wall -Wundef -Wwrite-strings -Wmissing-prototypes
-Wno-unused-local-typedefs -Werror -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 -version -fno-strict-aliasing
-fno-common -fstack-protector-all -o translate.s
GNU C (GCC) version 4.8.2 (i686-w64-mingw32)
        compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR
version 3.1.2-p3, MPC version 1.0.1
warning: GMP header version 5.1.2 differs from library version 5.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C (GCC) version 4.8.2 (i686-w64-mingw32)
        compiled by GNU C version 4.8.2, GMP version 5.1.2, MPFR
version 3.1.2-p3, MPC version 1.0.1
warning: GMP header version 5.1.2 differs from library version 5.1.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: c03a50cdfea1ac209c791d80ef4799a8
/home/petmay01/linaro/qemu-for-merges/target-sparc/translate.c: In
function ‘gen_intermediate_code’:
/home/petmay01/linaro/qemu-for-merges/target-sparc/translate.c:299:24:
error: array subscript is above array bounds [-Werror=array-bounds]
         return cpu_regs[reg];
                        ^
cc1: all warnings being treated as errors

thanks
-- PMM



reply via email to

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