Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-30 Thread Blue Swirl
On Sun, Nov 29, 2009 at 10:09 PM, Palle Lyckegaard pa...@lyckegaard.dk wrote: On Sun, 29 Nov 2009, Andreas Färber wrote: I.e. if unavoidable, instead of #define PSR_XXX 123 one might need to #define TARGET_PSR_XXX 123 and change *all* uses of PSR_XXX to TARGET_PSR_XXX, so that Sun's and

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-29 Thread Palle Lyckegaard
On Sun, 29 Nov 2009, Andreas Färber wrote: Not having that v7 dir on amd64 here, did you check whether their values are really defined identically? If not, it may be necessary to either #undef them first or to prefix them with TARGET_ as done for the user emulators... In which files are

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-29 Thread Andreas Färber
Am 29.11.2009 um 13:34 schrieb Palle Lyckegaard: On Sun, 29 Nov 2009, Andreas Färber wrote: Not having that v7 dir on amd64 here, did you check whether their values are really defined identically? If not, it may be necessary to either #undef them first or to prefix them with TARGET_ as

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-29 Thread Palle Lyckegaard
On Sun, 29 Nov 2009, Andreas Färber wrote: I.e. if unavoidable, instead of #define PSR_XXX 123 one might need to #define TARGET_PSR_XXX 123 and change *all* uses of PSR_XXX to TARGET_PSR_XXX, so that Sun's and QEMU's definitions can live side by side. If your approach or #undef works

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-28 Thread Palle Lyckegaard
On Fri, 27 Nov 2009, Andreas Färber wrote: I can ack the softfloat part (fixes redefinition warnings) and the tap part (fixes an unresolved symbol TFR). But what does the cpu.h part fix? Andreas Hi Andreas, the cpu.h part is an attempt to avoid warnings about e.g. PSR_EF being redefined

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-28 Thread Andreas Färber
Hi Palle, Am 28.11.2009 um 21:03 schrieb Palle Lyckegaard: On Fri, 27 Nov 2009, Andreas Färber wrote: I can ack the softfloat part (fixes redefinition warnings) and the tap part (fixes an unresolved symbol TFR). But what does the cpu.h part fix? the cpu.h part is an attempt to avoid

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-27 Thread Andreas Färber
Hello, Am 26.11.2009 um 21:39 schrieb Palle Lyckegaard: Attached are a few patches that will enable qemu to build on a OpenSolaris 2009.06 host. I can ack the softfloat part (fixes redefinition warnings) and the tap part (fixes an unresolved symbol TFR). But what does the cpu.h part

[Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host

2009-11-26 Thread Palle Lyckegaard
Hello brave qemu developers! Attached are a few patches that will enable qemu to build on a OpenSolaris 2009.06 host. Please consider to apply them to the repository. Regards Palle diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 0893ce3..592beca 100644 ---