Hello,
I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch and qemu-piix-ram-size.patch applied) on my machine, but it failed.
Output from configure: qemu-0.9.0 $ ./configure --target-list=i386-softmmu WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32" which: no texi2html in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin) Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /qemu-0.9.0 C compiler gcc32 Host C compiler gcc make make install install host CPU i386 host big endian no target list i386-softmmu gprof enabled no profiler no static build no SDL support yes SDL static link yes mingw32 support no Adlib support no CoreAudio support no ALSA support no DSound support no FMOD support no kqemu support yes Documentation no qemu-0.9.0 $
then: qemu-0.9.0 $make . . . gcc32 -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2 -fomit-frame-pointer -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I.. -I/qemu-0.9.0/target-i386 -I/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/qemu-0.9.0/fpu -DHAS_AUDIO -I/qemu-0.9.0/slirp -c -o op.o /qemu-0.9.0/target-i386/op.c /qemu-0.9.0/target-i386/ops_template_mem.h: In function 'op_shlb_user_T0_T1_cc': ../softmmu_header.h:207: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [op.o] Error 1 make[1]: Leaving directory `/qemu-0.9.0/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2 qemu-0.9.0 $
Can anyone help me?
Best regards
Andon
--------------------------------- Expecting? Get great news right away with email Auto-Check. Try the Yahoo! Mail Beta.
On Tue, Apr 10, 2007 at 03:53:18PM -0700, Andon Tschauschev wrote:
I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch and qemu-piix-ram-size.patch applied) on my machine, but it failed.
Output from configure: qemu-0.9.0 $ ./configure --target-list=i386-softmmu WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32" which: no texi2html in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin) Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /qemu-0.9.0 C compiler gcc32 Host C compiler gcc make make install install host CPU i386 host big endian no target list i386-softmmu gprof enabled no profiler no static build no SDL support yes SDL static link yes mingw32 support no Adlib support no CoreAudio support no ALSA support no DSound support no FMOD support no kqemu support yes Documentation no qemu-0.9.0 $
then: qemu-0.9.0 $make . . . gcc32 -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2 -fomit-frame-pointer -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I.. -I/qemu-0.9.0/target-i386 -I/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/qemu-0.9.0/fpu -DHAS_AUDIO -I/qemu-0.9.0/slirp -c -o op.o /qemu-0.9.0/target-i386/op.c /qemu-0.9.0/target-i386/ops_template_mem.h: In function 'op_shlb_user_T0_T1_cc': ../softmmu_header.h:207: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [op.o] Error 1 make[1]: Leaving directory `/qemu-0.9.0/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2 qemu-0.9.0 $
Hm, strange, it works fine here. I'm using gcc 3.4, though. Maybe that makes a difference.
Is this the stock 0.9.0 or the CVS version?
Uwe.
Uwe Hermann uwe@hermann-uwe.de wrote: On Tue, Apr 10, 2007 at 03:53:18PM -0700, Andon Tschauschev wrote:
I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch and qemu-piix-ram-size.patch applied) on my machine, but it failed.
Output from configure: qemu-0.9.0 $ ./configure --target-list=i386-softmmu WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32" which: no texi2html in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/usr/kde/3.5/bin:/usr/qt/3/bin) Install prefix /usr/local BIOS directory /usr/local/share/qemu binary directory /usr/local/bin Manual directory /usr/local/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /qemu-0.9.0 C compiler gcc32 Host C compiler gcc make make install install host CPU i386 host big endian no target list i386-softmmu gprof enabled no profiler no static build no SDL support yes SDL static link yes mingw32 support no Adlib support no CoreAudio support no ALSA support no DSound support no FMOD support no kqemu support yes Documentation no qemu-0.9.0 $
then: qemu-0.9.0 $make . . . gcc32 -Wall -O2 -g -fno-strict-aliasing -mpreferred-stack-boundary=2 -fomit-frame-pointer -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibling-calls -I. -I.. -I/qemu-0.9.0/target-i386 -I/qemu-0.9.0 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/qemu-0.9.0/fpu -DHAS_AUDIO -I/qemu-0.9.0/slirp -c -o op.o /qemu-0.9.0/target-i386/op.c /qemu-0.9.0/target-i386/ops_template_mem.h: In function 'op_shlb_user_T0_T1_cc': ../softmmu_header.h:207: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[1]: *** [op.o] Error 1 make[1]: Leaving directory `/qemu-0.9.0/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2 qemu-0.9.0 $
Hm, strange, it works fine here. I'm using gcc 3.4, though. >Maybe that makes a difference.
Is this the stock 0.9.0 or the CVS version?
Uwe.
Hi Uwe,
this is QEMU 0.9.0. I will try with gcc 3.4 .
Andon
--------------------------------- We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list.
Seems you're using gcc-3.2.
I'm using gcc-4.1.1 and Qemu (finally) compiled fine with gcc-4 along with KQemu. (Although, I'm seeing some system freezes but have yet to verify it was because KQemu was loaded.)
Anyways, try upgrading to a more recent gcc version first.
Just a note, I've yet to try building LinuxBios along with the latest Qemu release. I'm still getting some flash parts together for working with my 440BX.
On Tue, 2007-04-10 at 15:53 -0700, Andon Tschauschev wrote:
Hello,
I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch and qemu-piix-ram-size.patch applied) on my machine, but it failed.
Output from configure: qemu-0.9.0 $ ./configure --target-list=i386-softmmu WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32"
-- Roger http://www.eskimo.com/~roger/index.html Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61
Tue Apr 10 20:25:26 PDT 2007
Hi Roger,
output from $gcc -v is: Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.1 (Gentoo 4.1.1-r3)
and output from $gcc32 is Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 4.1.1 (Gentoo 4.1.1-r3)
the same... it seems to me, that gcc v4.1 tries to "emulate" gcc v3.2. However, QEMU reject to use gcc v4.1 and uses gcc v3.2, which the same is.
I will install gcc v3.4 and probe with it.
Regards
Andon
roger roger@eskimo.com wrote:Seems you're using gcc-3.2.
I'm using gcc-4.1.1 and Qemu (finally) compiled fine with gcc-4 along with KQemu. (Although, I'm seeing some system freezes but have yet to verify it was because KQemu was loaded.)
Anyways, try upgrading to a more recent gcc version first.
Just a note, I've yet to try building LinuxBios along with the latest Qemu release. I'm still getting some flash parts together for working with my 440BX.
On Tue, 2007-04-10 at 15:53 -0700, Andon Tschauschev wrote:
Hello,
I have just tried to compile QEMU 0.9.0 (with qemu-isa-bios-ram.patch and qemu-piix-ram-size.patch applied) on my machine, but it failed.
Output from configure: qemu-0.9.0 $ ./configure --target-list=i386-softmmu WARNING: "gcc" looks like gcc 4.x Looking for gcc 3.x Found "gcc32"
-- Roger http://www.eskimo.com/~roger/index.html Key fingerprint = 8977 A252 2623 F567 70CD 1261 640F C963 1005 1D61
Tue Apr 10 20:25:26 PDT 2007
--------------------------------- It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar.