* [Qemu-devel] QEMU build error on MIPS
@ 2007-05-31 14:53 Sunil Amitkumar Janki
2007-05-31 15:26 ` Thiemo Seufer
0 siblings, 1 reply; 2+ messages in thread
From: Sunil Amitkumar Janki @ 2007-05-31 14:53 UTC (permalink / raw)
To: qemu-devel
I am running Slackware Current on MIPS (Loongson) and am trying
to compile QEMU with GCC 3.4.6 using Glibc 2.5 and 2.6.18.1 kernel
headers. The build works fine except for warnings about linking PIC
code with no-PIC code but I get this error message when building Alpha
user emulation:
> make[1]: Entering directory `/tmp/qemu-20070531/alpha-linux-user'
> gcc -O2 -march=r4600 -Wall -O2 -g -fno-strict-aliasing -I. -I..
> -I/tmp/qemu-20070531/target-alpha -I/tmp/qemu-20070531
> -I/tmp/qemu-20070531/linux-user -I/tmp/qemu-20070531/linux-user/alpha
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/tmp/qemu-20070531/fpu -I/tmp/qemu-20070531/slirp -c -o main.o
> /tmp/qemu-20070531/linux-user/main.c
> gcc -O2 -march=r4600 -Wall -O2 -g -fno-strict-aliasing -I. -I..
> -I/tmp/qemu-20070531/target-alpha -I/tmp/qemu-20070531
> -I/tmp/qemu-20070531/linux-user -I/tmp/qemu-20070531/linux-user/alpha
> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/tmp/qemu-20070531/fpu -I/tmp/qemu-20070531/slirp -c -o syscall.o
> /tmp/qemu-20070531/linux-user/syscall.c
> In file included from /tmp/qemu-20070531/linux-user/syscall_defs.h:850,
> from /tmp/qemu-20070531/linux-user/qemu.h:8,
> from /tmp/qemu-20070531/linux-user/syscall.c:72:
> /tmp/qemu-20070531/linux-user/alpha/termbits.h:2: error: conflicting
> types for 'speed_t'
> /usr/include/asm/termbits.h:17: error: previous declaration of
> 'speed_t' was here
> /tmp/qemu-20070531/linux-user/alpha/termbits.h:3: error: conflicting
> types for 'tcflag_t'
> /usr/include/asm/termbits.h:18: error: previous declaration of
> 'tcflag_t' was here
> /tmp/qemu-20070531/linux-user/syscall.c: In function
> `target_to_host_cmsg':
> /tmp/qemu-20070531/linux-user/syscall.c:438: warning: cast to pointer
> from integer of different size
> /tmp/qemu-20070531/linux-user/syscall.c: In function
> `host_to_target_cmsg':
> /tmp/qemu-20070531/linux-user/syscall.c:483: warning: cast to pointer
> from integer of different size
> /tmp/qemu-20070531/linux-user/syscall.c:3314:2: warning: #warning not
> supported
> /tmp/qemu-20070531/linux-user/syscall.c: At top level:
> /tmp/qemu-20070531/linux-user/syscall.c:957: warning: 'do_socketcall'
> defined but not used
> /tmp/qemu-20070531/linux-user/syscall.c:1135: warning: 'do_ipc'
> defined but not used
Since I am one of the people requesting Alpha user/system emulation I
wouldn't mind
helping to maintain Alpha user emulation and maybe even contribute to
Alpha system
emulation. The only thing is that I am very new to QEMU and still don't
understand
all of its internals. But I'm willing to learn by trial and error and
some RTFMing.
To that end I have over the last few weeks read through the Alpha
documentation
that I was pointed to by Wikipedia. I am also dabbling with MIPS on the
Lemote Fu
Long box and reading through HPPA documentation so I hope that this will
enable
me to much better understand the various RISC architectures and how to
implement
them in QEMU.
Sunil Janki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] QEMU build error on MIPS
2007-05-31 14:53 [Qemu-devel] QEMU build error on MIPS Sunil Amitkumar Janki
@ 2007-05-31 15:26 ` Thiemo Seufer
0 siblings, 0 replies; 2+ messages in thread
From: Thiemo Seufer @ 2007-05-31 15:26 UTC (permalink / raw)
To: Sunil Amitkumar Janki; +Cc: qemu-devel
Sunil Amitkumar Janki wrote:
> I am running Slackware Current on MIPS (Loongson) and am trying
> to compile QEMU with GCC 3.4.6 using Glibc 2.5 and 2.6.18.1 kernel
> headers. The build works fine except for warnings about linking PIC
> code with no-PIC code
Those warnings are expected, as the op.o needs to be built
as non-PIC code while the rest of qemu is (currently) PIC code.
Note that host support for MIPS is very lightly tested, so the
problems you see aren't all that surprising. There are many things
left which need improvement.
Thiemo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-31 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-31 14:53 [Qemu-devel] QEMU build error on MIPS Sunil Amitkumar Janki
2007-05-31 15:26 ` Thiemo Seufer
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).