diff options
Diffstat (limited to 'results/classifier/118/all/1008136')
| -rw-r--r-- | results/classifier/118/all/1008136 | 228 |
1 files changed, 228 insertions, 0 deletions
diff --git a/results/classifier/118/all/1008136 b/results/classifier/118/all/1008136 new file mode 100644 index 000000000..39342c4b6 --- /dev/null +++ b/results/classifier/118/all/1008136 @@ -0,0 +1,228 @@ +register: 0.951 +user-level: 0.943 +risc-v: 0.942 +virtual: 0.942 +ppc: 0.940 +x86: 0.932 +VMM: 0.931 +mistranslation: 0.930 +architecture: 0.927 +permissions: 0.927 +i386: 0.925 +TCG: 0.924 +graphic: 0.924 +device: 0.921 +arm: 0.920 +assembly: 0.920 +hypervisor: 0.918 +peripherals: 0.917 +debug: 0.915 +kernel: 0.915 +files: 0.915 +performance: 0.915 +socket: 0.914 +KVM: 0.912 +vnc: 0.910 +semantic: 0.909 +network: 0.907 +PID: 0.898 +boot: 0.881 + +Cannot compile 1.1.0 + +Howdy, + +Testing QEMU 1.1.0 but doesn't compile: + + + CC fsdev/virtfs-proxy-helper.o +In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0, + from /usr/include/signal.h:339, + from ./qemu-common.h:38, + from fsdev/virtfs-proxy-helper.c:23: +/usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64' +make: *** [fsdev/virtfs-proxy-helper.o] Error 1 + + +Ideas? +GCC 4.7, kernel 3.2x + +Thanks in advanced, +Jorge, + +What distro/architecture is this? What's the configure command and output from the command? + +Debian SID on x86. + +Configure output: + +Install prefix /usr/local +BIOS directory /usr/local/share/qemu +binary directory /usr/local/bin +library directory /usr/local/lib +include directory /usr/local/include +config directory /usr/local/etc +Manual directory /usr/local/share/man +ELF interp prefix /usr/gnemul/qemu-%M +Source path /usr/local/src/qemu/qemu-1.1.0 +C compiler gcc +Host C compiler gcc +CFLAGS -O2 -g +QEMU_CFLAGS -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -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 -I/usr/include/libpng12 +LDFLAGS -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -g +make make +install install +python python +smbd /usr/sbin/smbd +host CPU i386 +host big endian no +target list i386-softmmu x86_64-softmmu alpha-softmmu arm-softmmu cris-softmmu lm32-softmmu m68k-softmmu microblaze-softmmu microblazeel-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu s390x-softmmu xtensa-softmmu xtensaeb-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user microblazeel-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user unicore32-linux-user s390x-linux-user +tcg debug enabled no +Mon debug enabled no +gprof enabled no +sparse enabled no +strip binaries yes +profiler no +static build no +-Werror enabled yes +SDL support no +curses support yes +curl support no +mingw32 support no +Audio drivers oss +Extra audio cards ac97 es1370 sb16 hda +Block whitelist +Mixer emulation no +VirtFS support yes +VNC support yes +VNC TLS support no +VNC SASL support no +VNC JPEG support yes +VNC PNG support yes +VNC thread no +xen support no +brlapi support no +bluez support no +Documentation yes +NPTL support yes +GUEST_BASE yes +PIE yes +vde support no +Linux AIO support no +ATTR/XATTR support yes +Install blobs yes +KVM support yes +TCG interpreter no +fdt support no +preadv support yes +fdatasync yes +madvise yes +posix_madvise yes +uuid support yes +libcap-ng support no +vhost-net support yes +Trace backend nop +Trace output file trace-<pid> +spice support no +rbd support no +xfsctl support no +nss used no +usb net redir no +OpenGL support no +libiscsi support no +build guest agent yes +coroutine backend ucontext +flecha:/usr/local/src/qemu/qemu-1.1.0# + + +Extra info, the header exists, QEMU doesn't seems to find it, it's on this place: + +http://packages.debian.org/search?searchon=contents&keywords=int-ll64.h&mode=exactfilename&suite=stable&arch=any + +and provided by linux-libc-dev debian package. + +How can I force configure to include this dir? + +Can you include the output of 'make V=1'? + +Do you have custom kernel headers installed? Is it possible that you installed them without sanitizing them first? + +What do you mean about custom kernel headers? + +The kernel headers are from the debian package "linux-libc-dev" + + +gcc -I/usr/local/src/qemu/qemu-1.1.0/slirp -I. -I/usr/local/src/qemu/qemu-1.1.0 -I/usr/local/src/qemu/qemu-1.1.0/fpu -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -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 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/local/src/qemu/qemu-1.1.0/include -MMD -MP -MT fsdev/virtfs-proxy-helper.o -MF fsdev/virtfs-proxy-helper.d -O2 -g -c -o fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c +In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0, + from /usr/include/signal.h:339, + from ./qemu-common.h:38, + from fsdev/virtfs-proxy-helper.c:23: +/usr/include/i386-linux-gnu/asm/sigcontext.h:28:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:191:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:192:2: error: unknown type name '__u64' +/usr/include/i386-linux-gnu/asm/sigcontext.h:193:2: error: unknown type name '__u64' +make: *** [fsdev/virtfs-proxy-helper.o] Error 1 +flecha:/usr/local/src/qemu/qemu-1.1.0# + + +I just compiled QEMU 1.1.0 on a fresh i386 installation of Debian Sid with the same configuration +which you used (well, nearly the same - I did not build the documentation). + +Compilation of fsdev/virtfs-proxy-helper.c works without any error message. + +/usr/include/i386-linux-gnu/asm/sigcontext.h uses __u32 and __u64, but you got only error messages +for __u64. That indicates that __u32 was defined. If you want to see were it was defined, you can +modify /usr/include/i386-linux-gnu/asm/sigcontext.h (after making a backup copy): + +* Add wrong typedefs for __u32 and __u64 starting in line 23: + typedef int __u32; + typedef int __u64; + +* Run gcc with fsdev/virtfs-proxy-helper.c (see your previous mail). + +Here is what I get: + + +# gcc -I/usr/local/src/qemu/qemu-1.1.0/slirp -I. -I/usr/local/src/qemu/qemu-1.1.0 -I/usr/local/src/qemu/qemu-1.1.0/fpu -Werror -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -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 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/local/src/qemu/qemu-1.1.0/include -MMD -MP -MT fsdev/virtfs-proxy-helper.o -MF fsdev/virtfs-proxy-helper.d -O2 -g -c -o fsdev/virtfs-proxy-helper.o fsdev/virtfs-proxy-helper.c +In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0, + from /usr/include/signal.h:339, + from ./qemu-common.h:38, + from fsdev/virtfs-proxy-helper.c:23: +/usr/include/i386-linux-gnu/asm/sigcontext.h:23:13: error: conflicting types for '__u32' +In file included from /usr/include/asm-generic/types.h:7:0, + from /usr/include/i386-linux-gnu/asm/types.h:4, + from /usr/include/linux/types.h:4, + from /usr/include/sys/capability.h:24, + from fsdev/virtfs-proxy-helper.c:15: +/usr/include/asm-generic/int-ll64.h:26:22: note: previous declaration of '__u32' was here +In file included from /usr/include/i386-linux-gnu/bits/sigcontext.h:28:0, + from /usr/include/signal.h:339, + from ./qemu-common.h:38, + from fsdev/virtfs-proxy-helper.c:23: +/usr/include/i386-linux-gnu/asm/sigcontext.h:24:13: error: conflicting types for '__u64' +In file included from /usr/include/asm-generic/types.h:7:0, + from /usr/include/i386-linux-gnu/asm/types.h:4, + from /usr/include/linux/types.h:4, + from /usr/include/sys/capability.h:24, + from fsdev/virtfs-proxy-helper.c:15: +/usr/include/asm-generic/int-ll64.h:30:42: note: previous declaration of '__u64' was here + + +Of course there are errors now (there should be conflicting types for __u32 and __u64, but I guess you will +get only one of those). The error messages also tell the source of the original (correct) definition. +In my case, it was /usr/include/asm-generic/int-ll64.h:26:22 and /usr/include/asm-generic/int-ll64.h:30:42. + +Please try these instructions and compare your with my compiler output. + + +Hi Stef, + +Well, it works OK on another Debian machine, wierd, have to dig to find why. + +Thanks for your help! + +Since there hasn't been any response to this ticket anymore, I assume the problem has been solved by other means on that machine - or by a newer version of QEMU. So I'm closing this ticket now - if you still got problems, please feel free to open it again. + |