Skip to contentSkip to conversation

precompiled qemu-system-x86_64 is 32 bit instead of 64 bit

Qemu-devel Ralf Baerwaldt 6 participants 9 messages Feb 19, 2008 – Feb 21, 2008

lore
Share & tools
lore
#0 lore raw

Hi !

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

# file /usr/local/bin/qemu-system-x86_64
/usr/local/bin/qemu-system-x86_64: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
shared libs), stripped

but I expected someting like:

# file /usr/bin/qemu-system-x86_64
/usr/bin/qemu-system-x86_64: ELF 64-bit LSB executable, x86-64, version
1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs),
stripped

Ralf

#1 lore raw

Hi,

Quoted 9 lines · Ralf Baerwaldt

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

# file /usr/local/bin/qemu-system-x86_64
/usr/local/bin/qemu-system-x86_64: ELF 32-bit LSB executable, Intel
80386, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses
shared libs), stripped

Yes, this is the emulator _emulating_ x86_64.

Ciao,
Dscho

#2 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

In reply to Ralf Baerwaldt

----- Original Message ----- From: "Ralf Baerwaldt" <[email protected]>
To: <[email protected]>
Sent: 19.02.2008 18:09
Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 4 lines

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

If You want qemu for your amd64 linux system, You should compile it yourself or install from Your linux distribution repository. This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't contain precompiled linux binaries except for i386 platform. However You could execute i386 binaries on amd64 linux platform. :)

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55

#3 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 12 lines · Sergey Bychkov

----- Original Message ----- From: "Ralf Baerwaldt" <[email protected]>
To: <[email protected]>
Sent: 19.02.2008 18:09
Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 4 lines

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

Quoted 10 lines

If You want qemu for your amd64 linux system, You should compile it yourself or install from Your linux distribution repository. This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't contain precompiled linux binaries except for i386 platform. However You could execute i386 binaries on amd64 linux platform. :)

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have. I think workstation Unices like Solaris and IRIX get things right (only stuff that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there is no need for separate 32- and 64-bit versions of the system, and fewer compatibility issues).

#4 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 2 lines · Andrew Warkentin

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have. I think workstation Unices like Solaris and IRIX get things right (only stuff that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there is no need for separate 32- and 64-bit versions of the system, and fewer compatibility issues).

Just to clarify: I'm referring to the QEMU binary itself, not the architecture it emulates.

#5 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 64bit

----- Original Message ----- From: "Andrew Warkentin" <[email protected]>
To: <[email protected]>
Sent: 21.02.2008 10:17
Subject: Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit insteadof 64bit

Quoted 3 lines
Quoted 2 lines

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have. I think workstation Unices like Solaris and IRIX get things right (only stuff that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there is no need for separate 32- and 64-bit versions of the system, and fewer compatibility issues).

Just to clarify: I'm referring to the QEMU binary itself, not the architecture it emulates.

Symply saying: if You can execute downloaded binary on Your host, then it is suitable for You :)

However You should compile kqemu kernel module if You want to use it.

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55

#6 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

In reply to Andrew Warkentin
Quoted 3 lines · Andrew Warkentin

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have.

I have programs that run significantly faster when targetting x86_64 (Othello back-end solver, various prime sieves, interpreted simulator, MAME [cf. http://aarongiles.com/pix/benchmarks.png])., where significantly means >10%. I agree I can't qualify my list as "most programs", but on the other hand I have yet to see one of my programs running slower as x86_64 bit mode (though I guess some programs with heavy usage of pointers could be in trouble).

Did anyone compare qemu ia32 vs x86_64?

Laurent

#7 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 17 lines · Laurent Desnogues
Quoted 5 lines · Andrew Warkentin

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have.

I have programs that run significantly faster when targetting x86_64 (Othello back-end solver, various prime sieves, interpreted simulator, MAME [cf. http://aarongiles.com/pix/benchmarks.png])., where significantly means >10%. I agree I can't qualify my list as "most programs", but on the other hand I have yet to see one of my programs running slower as x86_64 bit mode (though I guess some programs with heavy usage of pointers could be in trouble).

Quoted 9 lines

Did anyone compare qemu ia32 vs x86_64?

Laurent

I guess on x86, there is somewhat of a benefit, because of the extra registers. On any decent architecture, 32- and 64-bit programs would run at the same speed. Still, I don't think that it's worth having separate 32- and 64-bit versions of operating systems over, even on x86.

#8 lore raw

Re: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

In reply to Andrew Warkentin
Quoted 27 lines · ---- Andrew Warkentin
Quoted 19 lines · Sergey Bychkov

----- Original Message ----- From: "Ralf Baerwaldt" <[email protected]>
To: <[email protected]>
Sent: 19.02.2008 18:09
Subject: [Qemu-devel] precompiled qemu-system-x86_64 is 32 bit instead of 64bit

Quoted 4 lines

I downloaded http://fabrice.bellard.free.fr/qemu/qemu-0.9.1-i386.tar.gz
and I'm using an AMD Opteron.

Is this version the correct one for my system ?

If You want qemu for your amd64 linux system, You should compile it yourself or install from Your linux distribution repository. This site (http://fabrice.bellard.free.fr/qemu/download.html) doesn't contain precompiled linux binaries except for i386 platform. However You could execute i386 binaries on amd64 linux platform. :)

Quoted 6 lines

Sergey Bychkow
ICQ: 21014758
FTN: 2:450/118.55

Quoted 7 lines

Why does it matter if it is 64-bit or not? Most programs at the moment don't benefit from being compiled 64-bit. I don't get the obsession with 64-bitness that most Linux and BSD people seem to have. I think workstation Unices like Solaris and IRIX get things right (only stuff that benefits from being 64-bit is 64-bit, the rest is 32-bit, so there is no need for separate 32- and 64-bit versions of the system, and fewer compatibility issues).

Solaris is moving more towards 64-bit for 64-bit systems. The X11 tree (and other subsystems as well) are getting 64-bit versions of binaries and libraries.