|
安装qemu-kvm出错,而且这个错误比较奇怪,编译到translate.o的时候,会出现CPU占用率100%,停顿很久就会出现内存错误,日志如下:
- CC x86_64-softmmu/translate-all.o
- CC x86_64-softmmu/translate.o
- {standard input}: Assembler messages:
- {standard input}:226281: Warning: end of file not at end of a line; newline inserted
- {standard input}:226996: Error: unknown pseudo-op: `.lbe'
- {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
- x86_64-pc-linux-gnu-gcc: 内部错误:已杀死 (程序 cc1)
- 请提交一份完整的错误报告。
- 具体步骤请参见 <http://bugs.gentoo.org/>。
- make[1]: *** [translate.o] 错误 1
- make: *** [subdir-x86_64-softmmu] 错误 2
- make: *** 正在等待未完成的任务....
- CC i386-softmmu/tcg/tcg.o
- CC i386-softmmu/fpu/softfloat.o
- CC i386-softmmu/op_helper.o
- {standard input}: Assembler messages:
- {standard input}:9896196: Warning: end of file not at end of a line; newline inserted
- {standard input}:9896809: Error: can't resolve `.text' {.text section} - `.Ltext' {*UND* section}
- x86_64-pc-linux-gnu-gcc: 内部错误:已杀死 (程序 cc1)
- 请提交一份完整的错误报告。
- 具体步骤请参见 <http://bugs.gentoo.org/>。
- make[1]: *** [translate.o] 错误 1
- make[1]: *** 正在等待未完成的任务....
- make: *** [subdir-i386-softmmu] 错误 2
- emake failed
- [31;01m*[0m ERROR: app-emulation/qemu-kvm-0.15.1-r1 failed (compile phase):
- [31;01m*[0m emake failed
- [31;01m*[0m
- [31;01m*[0m Call stack:
- [31;01m*[0m ebuild.sh, line 85: Called src_compile
- [31;01m*[0m environment, line 5774: Called _eapi2_src_compile
- [31;01m*[0m phase-helpers.sh, line 577: Called die
- [31;01m*[0m The specific snippet of code:
- [31;01m*[0m emake || die "emake failed"
- [31;01m*[0m
- [31;01m*[0m If you need support, post the output of 'emerge --info =app-emulation/qemu-kvm-0.15.1-r1',
- [31;01m*[0m the complete build log and the output of 'emerge -pqv =app-emulation/qemu-kvm-0.15.1-r1'.
- [31;01m*[0m The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.15.1-r1/temp/build.log'.
- [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-0.15.1-r1/temp/environment'.
- [31;01m*[0m S: '/var/tmp/portage/app-emulation/qemu-kvm-0.15.1-r1/work/qemu-kvm-0.15.1'
复制代码
/etc/make.conf里面相关设置:
QEMU_SOFTMMU_TARGETS=“i386 x86_64”
QEMU_USER_TARGETS="i386 x86_64 arm"
请高手指点下 |
|