From: Martin Mohring <martin.mohring@opensuse.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] latest svn sparc-softmmu compile warnings
Date: Mon, 29 Sep 2008 14:24:54 +0200 [thread overview]
Message-ID: <48E0C916.9000208@opensuse.org> (raw)
In-Reply-To: <48E0C83B.3090604@opensuse.org>
Martin Mohring wrote:
> Robert Reif wrote:
>
>> Martin Mohring wrote:
>>
>>> Still get this on i586 host for tcg-dyngen.c on i586, arm, cris,
>>> m68k.... Using svn trunk -r 5349 here. host os openSUSE 11.0, kernel
>>> headers host 2.6.25.
>>>
>>>
>>>
>> It turns out patch 5174 introduced this warning.
>> The following patch fixes it but I don't know if its the best way to
>> fix it.
>>
> Yes, now on openSUSE 11.0 the warning is gone. But now I get a
> compilation error on Fedora 8/i586 host (I am doing both, Fedora 8 and
> openSUSE 11.0) with that fix:
>
Sorry, wrong log. Now the correct error log (for Fedora 8, i586 host):
gcc -I. -I.. -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349 -MMD -MT tcg/tcg.o -MP
-DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/i386
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/fpu -DHAS_AUDIO
-DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/slirp -O2
-g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
-fno-strict-aliasing -O2 -g -fno-strict-aliasing -Wall -Wundef
-Wendif-labels -Wwrite-strings -m32 -c -o tcg/tcg.o
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg.c
gcc -I. -I.. -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349 -MMD -MT tcg/tcg-dyngen.o -MP
-DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/i386
-I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/fpu -DHAS_AUDIO
-DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-0.9.2svn5349/slirp -O2
-g -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables
-fno-strict-aliasing -O2 -g -fno-strict-aliasing -Wall -Wundef
-Wendif-labels -Wwrite-strings -m32 -c -o tcg/tcg-dyngen.o
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg-dyngen.c
In file included from
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/tcg/tcg-dyngen.c:418:
./op.h: In function 'dyngen_op':
./op.h:988: error: 'store_booke_tsr' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:765: error:
previous declaration of 'store_booke_tsr' was here
./op.h:997: error: 'store_booke_tcr' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:764: error:
previous declaration of 'store_booke_tcr' was here
./op.h:1006: error: 'store_40x_sler' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:763: error:
previous declaration of 'store_40x_sler' was here
./op.h:1015: error: 'store_40x_dbcr0' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:762: error:
previous declaration of 'store_40x_dbcr0' was here
./op.h:1024: error: 'store_40x_pit' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:761: error:
previous declaration of 'store_40x_pit' was here
./op.h:1033: error: 'load_40x_pit' redeclared as different kind of symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:760: error:
previous declaration of 'load_40x_pit' was here
./op.h:1093: error: 'ppcemb_tlb_search' redeclared as different kind of
symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:772: error:
previous declaration of 'ppcemb_tlb_search' was here
./op.h:1388: error: 'do_store_ibatu_601' redeclared as different kind of
symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:713: error:
previous declaration of 'do_store_ibatu_601' was here
./op.h:1400: error: 'do_store_ibatl_601' redeclared as different kind of
symbol
/usr/src/redhat/BUILD/qemu-0.9.2svn5349/target-ppc/cpu.h:714: error:
previous declaration of 'do_store_ibatl_601' was here
./op.h:1420: error: 'cpu_ppc601_store_rtcu' redeclared as different kind
of symbol
next prev parent reply other threads:[~2008-09-29 12:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-29 0:24 [Qemu-devel] latest svn sparc-softmmu compile warnings Robert Reif
2008-09-29 0:34 ` Robert Reif
2008-09-29 6:36 ` Martin Mohring
2008-09-29 8:18 ` Martin Mohring
2008-09-29 11:25 ` Robert Reif
2008-09-29 12:21 ` Martin Mohring
2008-09-29 12:24 ` Martin Mohring [this message]
2008-09-29 12:52 ` Martin Mohring
2008-09-29 15:36 ` Blue Swirl
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=48E0C916.9000208@opensuse.org \
--to=martin.mohring@opensuse.org \
--cc=qemu-devel@nongnu.org \
/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 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.