public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marco Antônio da Veiga" <maveiga@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Qemu compilation fails
Date: Thu, 6 Sep 2007 15:36:16 -0300	[thread overview]
Message-ID: <6851bad10709061136h45deceafyfa86d66eebb3cc9c@mail.gmail.com> (raw)
In-Reply-To: <20070906054321.GA17865@qrypto.org>

[-- 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 --]

  reply	other threads:[~2007-09-06 18:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2007-09-07  6:57     ` [gentoo-user] " Francesco Talamona
2007-09-07 11:05     ` [gentoo-user] " Rumen Yotov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6851bad10709061136h45deceafyfa86d66eebb3cc9c@mail.gmail.com \
    --to=maveiga@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox