All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Good work on TCG
@ 2008-05-10  7:21 ` C.W. Betts
  2008-05-13  9:52   ` Mike Kronenberg
  0 siblings, 1 reply; 9+ messages in thread
From: C.W. Betts @ 2008-05-10  7:21 UTC (permalink / raw)
  To: qemu-devel

I am quite happy with the work done on TCG.  I was able to compile  
sparc, arm, and cris without any problems on my Mac running Leopard.   
Good work and here's hoping that the i386 guest will be completed soon.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
  2008-05-10  7:21 ` C.W. Betts
@ 2008-05-13  9:52   ` Mike Kronenberg
  2008-05-14  4:01       ` C.W. Betts
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Kronenberg @ 2008-05-13  9:52 UTC (permalink / raw)
  To: qemu-devel


On 10.05.2008, at 09:21, C.W. Betts wrote:

> I am quite happy with the work done on TCG.  I was able to compile  
> sparc, arm, and cris without any problems on my Mac running  
> Leopard.  Good work and here's hoping that the i386 guest will be  
> completed soon.

Hi,

may i ask for Your compilation setup (compiler/sdk versions) and cpu  
type?

Mike

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
@ 2008-05-14  4:01       ` C.W. Betts
  2008-05-14 13:49         ` Mike Kronenberg
  2008-05-14 18:03         ` Andreas Färber
  0 siblings, 2 replies; 9+ messages in thread
From: C.W. Betts @ 2008-05-14  4:01 UTC (permalink / raw)
  To: qemu-devel, Mike Kronenberg


On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:

>
> On 10.05.2008, at 09:21, C.W. Betts wrote:
>
>> I am quite happy with the work done on TCG.  I was able to compile  
>> sparc, arm, and cris without any problems on my Mac running  
>> Leopard.  Good work and here's hoping that the i386 guest will be  
>> completed soon.
>
> Hi,
>
> may i ask for Your compilation setup (compiler/sdk versions) and cpu  
> type?
>
> Mike
>
>
Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built it  
in 32-bit mode. I do also have the iPhone SDK installed, if that  
matters at all. I just built Qemu; I didn't try to build the Q front- 
end on top of it.  I did build it without any SDK (or the 10.5 SDK)  
and it did say that some calls were deprecated.

As for the other targets, I couldn't get dyngen to build, saying that  
the object format is unsupported.  That and the current SVN builds  
seem to not want to build the (at least ppc and i386) translate.c  
file… on any host (I get a lot of errors of undefined functions when  
building on Linux; I don't know why).

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
  2008-05-14  4:01       ` C.W. Betts
@ 2008-05-14 13:49         ` Mike Kronenberg
  2008-05-14 18:03         ` Andreas Färber
  1 sibling, 0 replies; 9+ messages in thread
From: Mike Kronenberg @ 2008-05-14 13:49 UTC (permalink / raw)
  To: qemu-devel

txs for the info!
I was not sure about updating patches for arm and sparc, but if TCG  
work out of the box, that's even better :).

Mike

On 14.05.2008, at 06:01, C.W. Betts wrote:

>
> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>
>>
>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>
>>> I am quite happy with the work done on TCG.  I was able to compile  
>>> sparc, arm, and cris without any problems on my Mac running  
>>> Leopard.  Good work and here's hoping that the i386 guest will be  
>>> completed soon.
>>
>> Hi,
>>
>> may i ask for Your compilation setup (compiler/sdk versions) and  
>> cpu type?
>>
>> Mike
>>
>>
> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built it  
> in 32-bit mode. I do also have the iPhone SDK installed, if that  
> matters at all. I just built Qemu; I didn't try to build the Q front- 
> end on top of it.  I did build it without any SDK (or the 10.5 SDK)  
> and it did say that some calls were deprecated.
>
> As for the other targets, I couldn't get dyngen to build, saying  
> that the object format is unsupported.  That and the current SVN  
> builds seem to not want to build the (at least ppc and i386)  
> translate.c file… on any host (I get a lot of errors of undefined  
> functions when building on Linux; I don't know why).
>
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
  2008-05-14  4:01       ` C.W. Betts
  2008-05-14 13:49         ` Mike Kronenberg
@ 2008-05-14 18:03         ` Andreas Färber
  2008-05-14 19:35             ` C.W. Betts
  1 sibling, 1 reply; 9+ messages in thread
From: Andreas Färber @ 2008-05-14 18:03 UTC (permalink / raw)
  To: qemu-devel


Am 14.05.2008 um 06:01 schrieb C.W. Betts:

>
> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>
>>
>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>
>>> I am quite happy with the work done on TCG.  I was able to compile  
>>> sparc, arm, and cris without any problems on my Mac running  
>>> Leopard.  Good work and here's hoping that the i386 guest will be  
>>> completed soon.
>>
>> may i ask for Your compilation setup (compiler/sdk versions) and  
>> cpu type?
>>
> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built it  
> in 32-bit mode. I do also have the iPhone SDK installed, if that  
> matters at all. I just built Qemu; I didn't try to build the Q front- 
> end on top of it.  I did build it without any SDK (or the 10.5 SDK)  
> and it did say that some calls were deprecated.
>
> As for the other targets, I couldn't get dyngen to build, saying  
> that the object format is unsupported.  That and the current SVN  
> builds seem to not want to build the (at least ppc and i386)  
> translate.c file… on any host (I get a lot of errors of undefined  
> functions when building on Linux; I don't know why).

dyngen.c fails to compile for sparc-softmmu as well for me, on Core  
Duo with v10.5.2 + latest iPhone SDK, using Dscho's Git mirror.

It complains, "'struct relocation_info' has no member named  
'r_offset'" and "#error unsupport object format".

Any special configure switches necessary apart from --disable-gcc- 
check --enable-cocoa --target-list=sparc-softmmu?

Andreas

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
@ 2008-05-14 19:35             ` C.W. Betts
  2008-05-14 20:35               ` Andreas Färber
  0 siblings, 1 reply; 9+ messages in thread
From: C.W. Betts @ 2008-05-14 19:35 UTC (permalink / raw)
  To: qemu-devel


On May 14, 2008, at 12:03 PM, Andreas Färber wrote:

>
> Am 14.05.2008 um 06:01 schrieb C.W. Betts:
>
>>
>> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>>
>>>
>>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>>
>>>> I am quite happy with the work done on TCG.  I was able to  
>>>> compile sparc, arm, and cris without any problems on my Mac  
>>>> running Leopard.  Good work and here's hoping that the i386 guest  
>>>> will be completed soon.
>>>
>>> may i ask for Your compilation setup (compiler/sdk versions) and  
>>> cpu type?
>>>
>> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built  
>> it in 32-bit mode. I do also have the iPhone SDK installed, if that  
>> matters at all. I just built Qemu; I didn't try to build the Q  
>> front-end on top of it.  I did build it without any SDK (or the  
>> 10.5 SDK) and it did say that some calls were deprecated.
>>
>> As for the other targets, I couldn't get dyngen to build, saying  
>> that the object format is unsupported.  That and the current SVN  
>> builds seem to not want to build the (at least ppc and i386)  
>> translate.c file… on any host (I get a lot of errors of undefined  
>> functions when building on Linux; I don't know why).
>
> dyngen.c fails to compile for sparc-softmmu as well for me, on Core  
> Duo with v10.5.2 + latest iPhone SDK, using Dscho's Git mirror.
>
> It complains, "'struct relocation_info' has no member named  
> 'r_offset'" and "#error unsupport object format".
>
> Any special configure switches necessary apart from --disable-gcc- 
> check --enable-cocoa --target-list=sparc-softmmu?
>
> Andreas
>
You can build sparc without the dyngen, just cd to sparc-softmmu and  
type make.  Due to it now being entirely tcg-based, it doesn't need  
dyngen to compile.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
  2008-05-14 19:35             ` C.W. Betts
@ 2008-05-14 20:35               ` Andreas Färber
  2008-05-14 20:43                 ` Andreas Färber
  2008-05-15  4:05                   ` C.W. Betts
  0 siblings, 2 replies; 9+ messages in thread
From: Andreas Färber @ 2008-05-14 20:35 UTC (permalink / raw)
  To: qemu-devel


Am 14.05.2008 um 21:35 schrieb C.W. Betts:

>
> On May 14, 2008, at 12:03 PM, Andreas Färber wrote:
>
>>
>> Am 14.05.2008 um 06:01 schrieb C.W. Betts:
>>
>>>
>>> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>>>
>>>>
>>>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>>>
>>>>> I am quite happy with the work done on TCG.  I was able to  
>>>>> compile sparc, arm, and cris without any problems on my Mac  
>>>>> running Leopard.  Good work and here's hoping that the i386  
>>>>> guest will be completed soon.
>>>>
>>>> may i ask for Your compilation setup (compiler/sdk versions) and  
>>>> cpu type?
>>>>
>>> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built  
>>> it in 32-bit mode. I do also have the iPhone SDK installed, if  
>>> that matters at all. I just built Qemu; I didn't try to build the  
>>> Q front-end on top of it.  I did build it without any SDK (or the  
>>> 10.5 SDK) and it did say that some calls were deprecated.
>>>
>>> As for the other targets, I couldn't get dyngen to build, saying  
>>> that the object format is unsupported.  That and the current SVN  
>>> builds seem to not want to build the (at least ppc and i386)  
>>> translate.c file… on any host (I get a lot of errors of undefined  
>>> functions when building on Linux; I don't know why).
>>
> You can build sparc without the dyngen, just cd to sparc-softmmu and  
> type make.  Due to it now being entirely tcg-based, it doesn't need  
> dyngen to compile.

Okay, so in short:

Apply always_inline patch (extracted from Alexander Graf's Mac OS X  
generic support v2).

./configure --disable-gcc-check --enable-cocoa --target-list=sparc- 
softmmu
make
touch dyngen
make
make install

So far, so good.

Then, when trying to boot from Debian Etch 40r0 DVD 1, it hangs at
[sparc] Booting file 'cdrom' with parameters ''

Andreas

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
  2008-05-14 20:35               ` Andreas Färber
@ 2008-05-14 20:43                 ` Andreas Färber
  2008-05-15  4:05                   ` C.W. Betts
  1 sibling, 0 replies; 9+ messages in thread
From: Andreas Färber @ 2008-05-14 20:43 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1753 bytes --]


Am 14.05.2008 um 22:35 schrieb Andreas Färber:

>
> Am 14.05.2008 um 21:35 schrieb C.W. Betts:
>
>>
>> On May 14, 2008, at 12:03 PM, Andreas Färber wrote:
>>
>>>
>>> Am 14.05.2008 um 06:01 schrieb C.W. Betts:
>>>
>>>>
>>>> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>>>>
>>>>>
>>>>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>>>>
>>>>>> I am quite happy with the work done on TCG.  I was able to  
>>>>>> compile sparc, arm, and cris without any problems on my Mac  
>>>>>> running Leopard.  Good work and here's hoping that the i386  
>>>>>> guest will be completed soon.
>>>>>
>>>>> may i ask for Your compilation setup (compiler/sdk versions) and  
>>>>> cpu type?
>>>>>
>>>> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built  
>>>> it in 32-bit mode. I do also have the iPhone SDK installed, if  
>>>> that matters at all. I just built Qemu; I didn't try to build the  
>>>> Q front-end on top of it.  I did build it without any SDK (or the  
>>>> 10.5 SDK) and it did say that some calls were deprecated.
>>>>
>>>> As for the other targets, I couldn't get dyngen to build, saying  
>>>> that the object format is unsupported.  That and the current SVN  
>>>> builds seem to not want to build the (at least ppc and i386)  
>>>> translate.c file… on any host (I get a lot of errors of undefined  
>>>> functions when building on Linux; I don't know why).
>>>
>> You can build sparc without the dyngen, just cd to sparc-softmmu  
>> and type make.  Due to it now being entirely tcg-based, it doesn't  
>> need dyngen to compile.
>
> Okay, so in short:
>
> Apply always_inline patch (extracted from Alexander Graf's Mac OS X  
> generic support v2).

For reference, attached.

[-- Attachment #2: qemu-osx-gcc4-2008-05-14.diff --]
[-- Type: application/octet-stream, Size: 607 bytes --]

diff --git a/host-utils.h b/host-utils.h
index 0f77445..b1e799e 100644
--- a/host-utils.h
+++ b/host-utils.h
@@ -23,6 +23,8 @@
  * THE SOFTWARE.
  */
 
+#include "osdep.h"
+
 #if defined(__x86_64__)
 #define __HAVE_FAST_MULU64__
 static always_inline void mulu64 (uint64_t *plow, uint64_t *phigh,
diff --git a/osdep.h b/osdep.h
index 62de457..efed912 100644
--- a/osdep.h
+++ b/osdep.h
@@ -37,7 +37,9 @@
 #define always_inline __attribute__ (( always_inline )) __inline__
 #endif
 #endif
+#ifndef __APPLE__
 #define inline always_inline
+#endif
 
 #ifdef __i386__
 #define REGPARM __attribute((regparm(3)))

[-- Attachment #3: Type: text/plain, Size: 128 bytes --]



> ./configure --disable-gcc-check --enable-cocoa --target-list=sparc- 
> softmmu
> make
> touch dyngen
> make
> make install


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [Qemu-devel] Good work on TCG
@ 2008-05-15  4:05                   ` C.W. Betts
  0 siblings, 0 replies; 9+ messages in thread
From: C.W. Betts @ 2008-05-15  4:05 UTC (permalink / raw)
  To: qemu-devel

I said it built, I didn't say it would run properly :P

After downloading the mini disk image from http://people.debian.org/~aurel32/qemu/sparc/ 
  , I tried to run it and so far it is working great.  it  locked up  
when It did the checking of the disk complaining about data transfer  
overruns and bytes sent < 0.
On May 14, 2008, at 2:35 PM, Andreas Färber wrote:

>
> Am 14.05.2008 um 21:35 schrieb C.W. Betts:
>
>>
>> On May 14, 2008, at 12:03 PM, Andreas Färber wrote:
>>
>>>
>>> Am 14.05.2008 um 06:01 schrieb C.W. Betts:
>>>
>>>>
>>>> On May 13, 2008, at 3:52 AM, Mike Kronenberg wrote:
>>>>
>>>>>
>>>>> On 10.05.2008, at 09:21, C.W. Betts wrote:
>>>>>
>>>>>> I am quite happy with the work done on TCG.  I was able to  
>>>>>> compile sparc, arm, and cris without any problems on my Mac  
>>>>>> running Leopard.  Good work and here's hoping that the i386  
>>>>>> guest will be completed soon.
>>>>>
>>>>> may i ask for Your compilation setup (compiler/sdk versions) and  
>>>>> cpu type?
>>>>>
>>>> Mac OS Leopard 10.5.2 using gcc 4.0 and a Core 2 Duo, but I built  
>>>> it in 32-bit mode. I do also have the iPhone SDK installed, if  
>>>> that matters at all. I just built Qemu; I didn't try to build the  
>>>> Q front-end on top of it.  I did build it without any SDK (or the  
>>>> 10.5 SDK) and it did say that some calls were deprecated.
>>>>
>>>> As for the other targets, I couldn't get dyngen to build, saying  
>>>> that the object format is unsupported.  That and the current SVN  
>>>> builds seem to not want to build the (at least ppc and i386)  
>>>> translate.c file… on any host (I get a lot of errors of undefined  
>>>> functions when building on Linux; I don't know why).
>>>
>> You can build sparc without the dyngen, just cd to sparc-softmmu  
>> and type make.  Due to it now being entirely tcg-based, it doesn't  
>> need dyngen to compile.
>
> Okay, so in short:
>
> Apply always_inline patch (extracted from Alexander Graf's Mac OS X  
> generic support v2).
>
> ./configure --disable-gcc-check --enable-cocoa --target-list=sparc- 
> softmmu
> make
> touch dyngen
> make
> make install
>
> So far, so good.
>
> Then, when trying to boot from Debian Etch 40r0 DVD 1, it hangs at
> [sparc] Booting file 'cdrom' with parameters ''
>
> Andreas
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-05-15  4:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-10  7:21 [Qemu-devel] Good work on TCG C.W. Betts
2008-05-10  7:21 ` C.W. Betts
2008-05-13  9:52   ` Mike Kronenberg
2008-05-14  4:01     ` C.W. Betts
2008-05-14  4:01       ` C.W. Betts
2008-05-14 13:49         ` Mike Kronenberg
2008-05-14 18:03         ` Andreas Färber
2008-05-14 19:35           ` C.W. Betts
2008-05-14 19:35             ` C.W. Betts
2008-05-14 20:35               ` Andreas Färber
2008-05-14 20:43                 ` Andreas Färber
2008-05-15  4:05                 ` C.W. Betts
2008-05-15  4:05                   ` C.W. Betts

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.