qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] latest svn sparc-softmmu compile warnings


From: Martin Mohring
Subject: Re: [Qemu-devel] latest svn sparc-softmmu compile warnings
Date: Mon, 29 Sep 2008 14:52:22 +0200
User-agent: Thunderbird 2.0.0.16 (X11/20080720)

Martin Mohring wrote:
> 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
>
>   
Looks like with this include, for all distros in can build for (openSUSE
10.2,10.3,11.0+Fedora 8,9 on host i586 x86_64, all combinations), I now
get this double inclusion error.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]