All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] error building x86_64-linux-user on i686 host
@ 2013-05-28 11:11 Michael S. Tsirkin
  2013-05-28 11:27 ` Michael S. Tsirkin
  0 siblings, 1 reply; 2+ messages in thread
From: Michael S. Tsirkin @ 2013-05-28 11:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: riku.voipio

Building target x86_64-linux-user on a 32 bit host gives me
this error:

[mst@robin x86_64-linux-user]$ cc -I/scm/qemu/tcg -I/scm/qemu/tcg/i386 -I/scm/qemu/linux-headers -I. -I/scm/qemu -I/scm/qemu/include -I/scm/qemu/linux-user -Ilinux-user -Werror -fPIE -DPIE -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -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/libpng15   -I/usr/include/libusb-1.0     -I/usr/include/pixman-1     -I../linux-headers -I.. -I/scm/qemu/target-i386 -DNEED_CPU_H -I/scm/qemu/include -I/scm/qemu/linux-user/i386 -I/scm/qemu/linux-user -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MMD -MP -MT linux-user/syscall.o -MF linux-user/syscall.d -O2 -D_FORTIFY_SOURCE=2 -g  -c -o linux-user/syscall.o /scm/qemu/linux-user/syscall.c
/scm/qemu/linux-user/syscall.c: In function ‘do_arch_prctl’:
/scm/qemu/linux-user/syscall.c:4283:10: error: ‘TARGET_ARCH_SET_GS’ undeclared (first use in this function)
/scm/qemu/linux-user/syscall.c:4283:10: note: each undeclared identifier is reported only once for each function it appears in
/scm/qemu/linux-user/syscall.c:4284:10: error: ‘TARGET_ARCH_SET_FS’ undeclared (first use in this function)
/scm/qemu/linux-user/syscall.c:4292:10: error: ‘TARGET_ARCH_GET_GS’ undeclared (first use in this function)
/scm/qemu/linux-user/syscall.c:4293:10: error: ‘TARGET_ARCH_GET_FS’ undeclared (first use in this function)
/scm/qemu/linux-user/syscall.c: At top level:
/scm/qemu/linux-user/syscall.c:4276:17: error: ‘do_arch_prctl’ defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors

Should x86_64-linux-user be disabled if host is 32 bit?

-- 
MST

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

* Re: [Qemu-devel] error building x86_64-linux-user on i686 host
  2013-05-28 11:11 [Qemu-devel] error building x86_64-linux-user on i686 host Michael S. Tsirkin
@ 2013-05-28 11:27 ` Michael S. Tsirkin
  0 siblings, 0 replies; 2+ messages in thread
From: Michael S. Tsirkin @ 2013-05-28 11:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: riku.voipio

On Tue, May 28, 2013 at 02:11:21PM +0300, Michael S. Tsirkin wrote:
> Building target x86_64-linux-user on a 32 bit host gives me
> this error:
> 
> [mst@robin x86_64-linux-user]$ cc -I/scm/qemu/tcg -I/scm/qemu/tcg/i386 -I/scm/qemu/linux-headers -I. -I/scm/qemu -I/scm/qemu/include -I/scm/qemu/linux-user -Ilinux-user -Werror -fPIE -DPIE -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -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/libpng15   -I/usr/include/libusb-1.0     -I/usr/include/pixman-1     -I../linux-headers -I.. -I/scm/qemu/target-i386 -DNEED_CPU_H -I/scm/qemu/include -I/scm/qemu/linux-user/i386 -I/scm/qemu/linux-user -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MMD -MP -MT linux-user/syscall.o -MF linux-user/syscall.d -O2 -D_FORTIFY_SOURCE=2 -g  -c -o linux-user/syscall.o /scm/qemu/linux-user/syscall.c
> /scm/qemu/linux-user/syscall.c: In function ‘do_arch_prctl’:
> /scm/qemu/linux-user/syscall.c:4283:10: error: ‘TARGET_ARCH_SET_GS’ undeclared (first use in this function)
> /scm/qemu/linux-user/syscall.c:4283:10: note: each undeclared identifier is reported only once for each function it appears in
> /scm/qemu/linux-user/syscall.c:4284:10: error: ‘TARGET_ARCH_SET_FS’ undeclared (first use in this function)
> /scm/qemu/linux-user/syscall.c:4292:10: error: ‘TARGET_ARCH_GET_GS’ undeclared (first use in this function)
> /scm/qemu/linux-user/syscall.c:4293:10: error: ‘TARGET_ARCH_GET_FS’ undeclared (first use in this function)
> /scm/qemu/linux-user/syscall.c: At top level:
> /scm/qemu/linux-user/syscall.c:4276:17: error: ‘do_arch_prctl’ defined but not used [-Werror=unused-function]
> cc1: all warnings being treated as errors
> 
> Should x86_64-linux-user be disabled if host is 32 bit?

Hmm no, I copy-pasted command line incorrectly. Debugging ...



> -- 
> MST

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

end of thread, other threads:[~2013-05-28 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 11:11 [Qemu-devel] error building x86_64-linux-user on i686 host Michael S. Tsirkin
2013-05-28 11:27 ` Michael S. Tsirkin

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.