1 |
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" |
2 |
|
3 |
On 9/6/07, Rumen Yotov <rumen@××××××.org> wrote: |
4 |
> |
5 |
> On (06/09/07 01:36) Marco Antônio da Veiga wrote: |
6 |
> > Hi, |
7 |
> > I'm trying to have qemu running, but compiling qemu-softmmu with |
8 |
> gcc-3.4.6fails. |
9 |
> > |
10 |
> > This is the error: |
11 |
> > |
12 |
> > i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing -I. -I.. |
13 |
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0 |
14 |
> /target-i386 |
15 |
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu- |
16 |
> 0.9.0-D_GNU_SOURCE |
17 |
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
18 |
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu |
19 |
> > -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0 |
20 |
> /work/qemu- |
21 |
> > 0.9.0/slirp -c -o fpu/softfloat-native.o |
22 |
> /var/tmp/portage/app-emulation/qemu- |
23 |
> > softmmu-0.9.0/work/qemu-0.9.0/fpu/softfloat-native.c |
24 |
> > i686-pc-linux-gnu-gcc -Wall -O2 -g -fno-strict-aliasing |
25 |
> -fomit-frame-pointer |
26 |
> > -I. -I.. -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu- |
27 |
> 0.9.0/target-i386 |
28 |
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu- |
29 |
> 0.9.0-D_GNU_SOURCE |
30 |
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE |
31 |
> > -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0/fpu |
32 |
> > -DHAS_AUDIO -I/var/tmp/portage/app-emulation/qemu-softmmu-0.9.0 |
33 |
> /work/qemu- |
34 |
> > 0.9.0/slirp -c -o helper.o /var/tmp/portage/app-emulation/qemu- |
35 |
> > softmmu-0.9.0/work/qemu-0.9.0/target-i386/helper.c |
36 |
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0 |
37 |
> /target-i386/ops_sse.h: |
38 |
> > In function `op_psrlq_mmx': |
39 |
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0 |
40 |
> /target-i386/ops_sse.h:213: |
41 |
> > error: unable to find a register to spill in class `GENERAL_REGS' |
42 |
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0 |
43 |
> /target-i386/ops_sse.h:213: |
44 |
> > error: this is the insn: |
45 |
> > (insn:HI 36 35 37 3 /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0 |
46 |
> > /work/qemu-0.9.0/target-i386/ops_sse.h:207 (parallel [ |
47 |
> > (set (reg:DI 63 [ <variable>.q ]) |
48 |
> > (lshiftrt:DI (reg:DI 63 [ <variable>.q ]) |
49 |
> > (subreg:QI (reg/v:SI 60 [ shift ]) 0))) |
50 |
> > (clobber (scratch:SI)) |
51 |
> > (clobber (reg:CC 17 flags)) |
52 |
> > ]) 309 {lshrdi3_1} (insn_list 33 (insn_list 35 (nil))) |
53 |
> > (expr_list:REG_DEAD (reg/v:SI 60 [ shift ]) |
54 |
> > (expr_list:REG_UNUSED (reg:CC 17 flags) |
55 |
> > (expr_list:REG_UNUSED (scratch:SI) |
56 |
> > (nil))))) |
57 |
> > /var/tmp/portage/app-emulation/qemu-softmmu-0.9.0/work/qemu-0.9.0 |
58 |
> /target-i386/ops_sse.h:213: |
59 |
> > confused by earlier errors, bailing out |
60 |
> > make[1]: ** [op.o] Erro 1 |
61 |
> > make[1]: ** Esperando que outros processos terminem. |
62 |
> > ../softmmu_template.h: In function `__stq_mmu': |
63 |
> > ../softmmu_template.h:260: error: unable to find a register to spill in |
64 |
> > class `GENERAL_REGS' |
65 |
> > ../softmmu_template.h:260: error: this is the insn: |
66 |
> > (insn:HI 333 332 334 13 ../softmmu_template.h:290 (parallel [ |
67 |
> > (set (reg:DI 0 ax [210]) |
68 |
> > (lshiftrt:DI (reg/v:DI 59 [ val ]) |
69 |
> > (subreg:QI (reg:SI 0 ax [209]) 0))) |
70 |
> > (clobber (scratch:SI)) |
71 |
> > (clobber (reg:CC 17 flags)) |
72 |
> > ]) 309 {lshrdi3_1} (insn_list 332 (nil)) |
73 |
> > (expr_list:REG_DEAD (reg:SI 0 ax [209]) |
74 |
> > (expr_list:REG_UNUSED (reg:CC 17 flags) |
75 |
> > (expr_list:REG_UNUSED (scratch:SI) |
76 |
> > (nil))))) |
77 |
> > ../softmmu_template.h:260: confused by earlier errors, bailing out |
78 |
> > make[1]: ** [helper.o] Erro 1 |
79 |
> > make[1]: Saindo do diretório `/var/tmp/portage/app-emulation/qemu- |
80 |
> > softmmu-0.9.0/work/qemu-0.9.0/i386-softmmu' |
81 |
> > make: ** [subdir-i386-softmmu] Erro 2 |
82 |
> > |
83 |
> > !!! ERROR: app-emulation/qemu-softmmu-0.9.0 failed. |
84 |
> > Call stack: |
85 |
> > ebuild.sh, line 1638: Called dyn_compile |
86 |
> > ebuild.sh, line 985: Called qa_call 'src_compile' |
87 |
> > ebuild.sh, line 44: Called src_compile |
88 |
> > qemu-softmmu-0.9.0.ebuild, line 96: Called die |
89 |
> > |
90 |
> > !!! make failed |
91 |
> > !!! If you need support, post the topmost build error, and the call |
92 |
> stack if |
93 |
> > relevant. |
94 |
> > !!! A complete build log is located at |
95 |
> '/var/tmp/portage/app-emulation/qemu- |
96 |
> > softmmu-0.9.0/temp/build.log'. |
97 |
> > |
98 |
> > |
99 |
> > Can anyone help me? |
100 |
> Hi, |
101 |
> Try disabling both '-mmx -sse' USE flags. |
102 |
> They are not regular optional USE-flags (only 'alsa kqemu sdl' are). |
103 |
> So two ways to go: |
104 |
> 1.make a custom ebuild (/usr/local/portage/...) and disable 'mmx sse'. |
105 |
> 2.use bashrc (custom CFLAGS) - check ML, Google etc. |
106 |
> 2a.use 'paludis' :-) |
107 |
> What's your 'march' (in /etc/make.conf) ? |
108 |
> HTH. Rumen |
109 |
> -- |
110 |
> gentoo-user@g.o mailing list |
111 |
> |
112 |
> |