* [gentoo-user] Qemu compilation fails
@ 2007-09-06 4:36 Marco Antônio da Veiga
2007-09-06 5:43 ` Rumen Yotov
0 siblings, 1 reply; 5+ messages in thread
From: Marco Antônio da Veiga @ 2007-09-06 4:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 3913 bytes --]
Hi,
I'm trying to have qemu running, but compiling qemu-softmmu with gcc-3.4.6fails.
This is the error:
i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386
-I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0-D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
-DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
0.9.0/slirp -c -o fpu/softfloat-native.o/var/tmp/portage/app-emulation/qemu-
softmmu-0.9.0/work/qemu-0.9.0/fpu/softfloat-native.c
i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer
-I. -I.. -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386
-I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0-D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
-DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
0.9.0/slirp -c -o helper.o /var/tmp/portage/app-emulation/qemu-
softmmu-0.9.0/work/qemu-0.9.0/target-i386/helper.c
/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:
In function `op_psrlq_mmx':
/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
error: unable to find a register to spill in class `GENERAL_REGS'
/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
error: this is the insn:
(insn:HI 36 35 37 3 /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0
/work/qemu-0.9.0/target-i386/ops_sse.h:207 (parallel [
(set (reg:DI 63 [ <variable>.q ])
(lshiftrt:DI (reg:DI 63 [ <variable>.q ])
(subreg:QI (reg/v:SI 60 [ shift ]) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
(expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (scratch:SI)
(nil)))))
/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
confused by earlier errors, bailing out
make[1]: ** [op.o] Erro 1
make[1]: ** Esperando que outros processos terminem.
../softmmu_template.h: In function `__stq_mmu':
../softmmu_template.h:260: error: unable to find a register to spill in
class `GENERAL_REGS'
../softmmu_template.h:260: error: this is the insn:
(insn:HI 333 332 334 13 ../softmmu_template.h:290 (parallel [
(set (reg:DI 0 ax [210])
(lshiftrt:DI (reg/v:DI 59 [ val ])
(subreg:QI (reg:SI 0 ax [209]) 0)))
(clobber (scratch:SI))
(clobber (reg:CC 17 flags))
]) 309 {lshrdi3_1} (insn_list 332 (nil))
(expr_list:REG_DEAD (reg:SI 0 ax [209])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (scratch:SI)
(nil)))))
../softmmu_template.h:260: confused by earlier errors, bailing out
make[1]: ** [helper.o] Erro 1
make[1]: Saindo do diretório `/var/tmp/portage/app-emulation/qemu-
softmmu-0.9.0/work/qemu-0.9.0/i386-softmmu'
make: ** [subdir-i386-softmmu] Erro 2
!!! ERROR: app-emulation/qemu-softmmu-0.9.0 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
qemu-softmmu-0.9.0.ebuild, line 96: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at '/var/tmp/portage/app-emulation/qemu-
softmmu-0.9.0/temp/build.log'.
Can anyone help me?
[-- Attachment #2: Type: text/html, Size: 5255 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Qemu compilation fails
2007-09-06 4:36 [gentoo-user] Qemu compilation fails Marco Antônio da Veiga
@ 2007-09-06 5:43 ` Rumen Yotov
2007-09-06 18:36 ` Marco Antônio da Veiga
0 siblings, 1 reply; 5+ messages in thread
From: Rumen Yotov @ 2007-09-06 5:43 UTC (permalink / raw
To: gentoo-user
On (06/09/07 01:36) Marco Antônio da Veiga wrote:
> Hi,
> I'm trying to have qemu running, but compiling qemu-softmmu with gcc-3.4.6fails.
>
> This is the error:
>
> i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -I. -I..
> -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386
> -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0-D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
> -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
> 0.9.0/slirp -c -o fpu/softfloat-native.o/var/tmp/portage/app-emulation/qemu-
> softmmu-0.9.0/work/qemu-0.9.0/fpu/softfloat-native.c
> i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer
> -I. -I.. -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386
> -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0-D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
> -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
> 0.9.0/slirp -c -o helper.o /var/tmp/portage/app-emulation/qemu-
> softmmu-0.9.0/work/qemu-0.9.0/target-i386/helper.c
> /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:
> In function `op_psrlq_mmx':
> /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
> error: unable to find a register to spill in class `GENERAL_REGS'
> /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
> error: this is the insn:
> (insn:HI 36 35 37 3 /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0
> /work/qemu-0.9.0/target-i386/ops_sse.h:207 (parallel [
> (set (reg:DI 63 [ <variable>.q ])
> (lshiftrt:DI (reg:DI 63 [ <variable>.q ])
> (subreg:QI (reg/v:SI 60 [ shift ]) 0)))
> (clobber (scratch:SI))
> (clobber (reg:CC 17 flags))
> ]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
> (expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (expr_list:REG_UNUSED (scratch:SI)
> (nil)))))
> /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/target-i386/ops_sse.h:213:
> confused by earlier errors, bailing out
> make[1]: ** [op.o] Erro 1
> make[1]: ** Esperando que outros processos terminem.
> ../softmmu_template.h: In function `__stq_mmu':
> ../softmmu_template.h:260: error: unable to find a register to spill in
> class `GENERAL_REGS'
> ../softmmu_template.h:260: error: this is the insn:
> (insn:HI 333 332 334 13 ../softmmu_template.h:290 (parallel [
> (set (reg:DI 0 ax [210])
> (lshiftrt:DI (reg/v:DI 59 [ val ])
> (subreg:QI (reg:SI 0 ax [209]) 0)))
> (clobber (scratch:SI))
> (clobber (reg:CC 17 flags))
> ]) 309 {lshrdi3_1} (insn_list 332 (nil))
> (expr_list:REG_DEAD (reg:SI 0 ax [209])
> (expr_list:REG_UNUSED (reg:CC 17 flags)
> (expr_list:REG_UNUSED (scratch:SI)
> (nil)))))
> ../softmmu_template.h:260: confused by earlier errors, bailing out
> make[1]: ** [helper.o] Erro 1
> make[1]: Saindo do diretório `/var/tmp/portage/app-emulation/qemu-
> softmmu-0.9.0/work/qemu-0.9.0/i386-softmmu'
> make: ** [subdir-i386-softmmu] Erro 2
>
> !!! ERROR: app-emulation/qemu-softmmu-0.9.0 failed.
> Call stack:
> ebuild.sh, line 1638: Called dyn_compile
> ebuild.sh, line 985: Called qa_call 'src_compile'
> ebuild.sh, line 44: Called src_compile
> qemu-softmmu-0.9.0.ebuild, line 96: Called die
>
> !!! make failed
> !!! If you need support, post the topmost build error, and the call stack if
> relevant.
> !!! A complete build log is located at '/var/tmp/portage/app-emulation/qemu-
> softmmu-0.9.0/temp/build.log'.
>
>
> Can anyone help me?
Hi,
Try disabling both '-mmx -sse' USE flags.
They are not regular optional USE-flags (only 'alsa kqemu sdl' are).
So two ways to go:
1.make a custom ebuild (/usr/local/portage/...) and disable 'mmx sse'.
2.use bashrc (custom CFLAGS) - check ML, Google etc.
2a.use 'paludis' :-)
What's your 'march' (in /etc/make.conf) ?
HTH. Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Qemu compilation fails
2007-09-06 5:43 ` Rumen Yotov
@ 2007-09-06 18:36 ` Marco Antônio da Veiga
2007-09-07 6:57 ` [gentoo-user] " Francesco Talamona
2007-09-07 11:05 ` [gentoo-user] " Rumen Yotov
0 siblings, 2 replies; 5+ messages in thread
From: Marco Antônio da Veiga @ 2007-09-06 18:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4848 bytes --]
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
On 9/6/07, Rumen Yotov <rumen@qrypto.org> wrote:
>
> On (06/09/07 01:36) Marco Antônio da Veiga wrote:
> > Hi,
> > I'm trying to have qemu running, but compiling qemu-softmmu with
> gcc-3.4.6fails.
> >
> > This is the error:
> >
> > i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -I. -I..
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0
> /target-i386
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
> 0.9.0-D_GNU_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
> > -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0
> /work/qemu-
> > 0.9.0/slirp -c -o fpu/softfloat-native.o
> /var/tmp/portage/app-emulation/qemu-
> > softmmu-0.9.0/work/qemu-0.9.0/fpu/softfloat-native.c
> > i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing
> -fomit-frame-pointer
> > -I. -I.. -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
> 0.9.0/target-i386
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-
> 0.9.0-D_GNU_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu
> > -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0
> /work/qemu-
> > 0.9.0/slirp -c -o helper.o /var/tmp/portage/app-emulation/qemu-
> > softmmu-0.9.0/work/qemu-0.9.0/target-i386/helper.c
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0
> /target-i386/ops_sse.h:
> > In function `op_psrlq_mmx':
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0
> /target-i386/ops_sse.h:213:
> > error: unable to find a register to spill in class `GENERAL_REGS'
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0
> /target-i386/ops_sse.h:213:
> > error: this is the insn:
> > (insn:HI 36 35 37 3 /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0
> > /work/qemu-0.9.0/target-i386/ops_sse.h:207 (parallel [
> > (set (reg:DI 63 [ <variable>.q ])
> > (lshiftrt:DI (reg:DI 63 [ <variable>.q ])
> > (subreg:QI (reg/v:SI 60 [ shift ]) 0)))
> > (clobber (scratch:SI))
> > (clobber (reg:CC 17 flags))
> > ]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil)))
> > (expr_list:REG_DEAD (reg/v:SI 60 [ shift ])
> > (expr_list:REG_UNUSED (reg:CC 17 flags)
> > (expr_list:REG_UNUSED (scratch:SI)
> > (nil)))))
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0
> /target-i386/ops_sse.h:213:
> > confused by earlier errors, bailing out
> > make[1]: ** [op.o] Erro 1
> > make[1]: ** Esperando que outros processos terminem.
> > ../softmmu_template.h: In function `__stq_mmu':
> > ../softmmu_template.h:260: error: unable to find a register to spill in
> > class `GENERAL_REGS'
> > ../softmmu_template.h:260: error: this is the insn:
> > (insn:HI 333 332 334 13 ../softmmu_template.h:290 (parallel [
> > (set (reg:DI 0 ax [210])
> > (lshiftrt:DI (reg/v:DI 59 [ val ])
> > (subreg:QI (reg:SI 0 ax [209]) 0)))
> > (clobber (scratch:SI))
> > (clobber (reg:CC 17 flags))
> > ]) 309 {lshrdi3_1} (insn_list 332 (nil))
> > (expr_list:REG_DEAD (reg:SI 0 ax [209])
> > (expr_list:REG_UNUSED (reg:CC 17 flags)
> > (expr_list:REG_UNUSED (scratch:SI)
> > (nil)))))
> > ../softmmu_template.h:260: confused by earlier errors, bailing out
> > make[1]: ** [helper.o] Erro 1
> > make[1]: Saindo do diretório `/var/tmp/portage/app-emulation/qemu-
> > softmmu-0.9.0/work/qemu-0.9.0/i386-softmmu'
> > make: ** [subdir-i386-softmmu] Erro 2
> >
> > !!! ERROR: app-emulation/qemu-softmmu-0.9.0 failed.
> > Call stack:
> > ebuild.sh, line 1638: Called dyn_compile
> > ebuild.sh, line 985: Called qa_call 'src_compile'
> > ebuild.sh, line 44: Called src_compile
> > qemu-softmmu-0.9.0.ebuild, line 96: Called die
> >
> > !!! make failed
> > !!! If you need support, post the topmost build error, and the call
> stack if
> > relevant.
> > !!! A complete build log is located at
> '/var/tmp/portage/app-emulation/qemu-
> > softmmu-0.9.0/temp/build.log'.
> >
> >
> > Can anyone help me?
> Hi,
> Try disabling both '-mmx -sse' USE flags.
> They are not regular optional USE-flags (only 'alsa kqemu sdl' are).
> So two ways to go:
> 1.make a custom ebuild (/usr/local/portage/...) and disable 'mmx sse'.
> 2.use bashrc (custom CFLAGS) - check ML, Google etc.
> 2a.use 'paludis' :-)
> What's your 'march' (in /etc/make.conf) ?
> HTH. Rumen
> --
> gentoo-user@gentoo.org mailing list
>
>
[-- Attachment #2: Type: text/html, Size: 6788 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [gentoo-user] Re: Qemu compilation fails
2007-09-06 18:36 ` Marco Antônio da Veiga
@ 2007-09-07 6:57 ` Francesco Talamona
2007-09-07 11:05 ` [gentoo-user] " Rumen Yotov
1 sibling, 0 replies; 5+ messages in thread
From: Francesco Talamona @ 2007-09-07 6:57 UTC (permalink / raw
To: gentoo-user
On Thursday 06 September 2007, Marco Antônio da Veiga wrote:
> CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
I could install qemu and qemu-softmmu 0.9.0 with gcc 3.4.6 and
CFLAGS="-march=athlon64 -O2 -pipe"
Ciao
Francesco
--
Linux Version 2.6.22-gentoo-r6, Compiled #1 PREEMPT Wed Sep 5 19:12:33
CEST 2007
One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.78 Bogomips Total
aemaeth
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] Qemu compilation fails
2007-09-06 18:36 ` Marco Antônio da Veiga
2007-09-07 6:57 ` [gentoo-user] " Francesco Talamona
@ 2007-09-07 11:05 ` Rumen Yotov
1 sibling, 0 replies; 5+ messages in thread
From: Rumen Yotov @ 2007-09-07 11:05 UTC (permalink / raw
To: gentoo-user
Hi,
On (06/09/07 15:36) Marco Antônio da Veiga wrote:
> CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
>
Try the following:
EXTRA_ECONF="-mmx -sse" emerge qemu-softmmu -a
Assuming your processor is k8 compatible.
...SKIP...
HTH. Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-09-07 11:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-06 4:36 [gentoo-user] Qemu compilation fails Marco Antônio da Veiga
2007-09-06 5:43 ` Rumen Yotov
2007-09-06 18:36 ` Marco Antônio da Veiga
2007-09-07 6:57 ` [gentoo-user] " Francesco Talamona
2007-09-07 11:05 ` [gentoo-user] " Rumen Yotov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox