From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: riku.voipio@iki.fi
Subject: Re: [Qemu-devel] error building x86_64-linux-user on i686 host
Date: Tue, 28 May 2013 14:27:06 +0300 [thread overview]
Message-ID: <20130528112706.GA9821@redhat.com> (raw)
In-Reply-To: <20130528111121.GA6889@redhat.com>
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
prev parent reply other threads:[~2013-05-28 11:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130528112706.GA9821@redhat.com \
--to=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).