Created attachment 1424 [details] log Git rev: poky: master/commit ff10f72abda52315b892c64f711096772d9a4c1c host : CentOS release 6.4 target : atom-pc Try to build core-image-lsb-sdk in CentOS release 6.4 and got the following error: | CC arm-softmmu/target-arm/op_helper.o | {standard input}: Assembler messages: | {standard input}:57685: Warning: end of file not at end of a line; newline inserted | {standard input}:58688: Error: unknown pseudo-op: `.lbe' | {standard input}:58688: Error: open CFI at the end of file; missing .cfi_endproc directive | gcc: Internal error: Killed (program cc1) | Please submit a full bug report. | See <http://bugzilla.redhat.com/bugzilla> for instructions. | make[1]: *** [target-i386/translate.o] Error 1 | make[1]: *** Waiting for unfinished jobs.... | CC i386-linux-user/target-i386/fpu_helper.o | CC arm-softmmu/target-arm/helper.o | CC arm-linux-user/linux-user/arm/nwfpe/fpa11.o | make: *** [subdir-x86_64-softmmu] Error 2 | CC arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdo.o | CC ppc-softmmu/target-ppc/machine.o | make: *** Waiting for unfinished jobs.... | CC ppc-softmmu/target-ppc/mmu_helper.o | CC arm-softmmu/target-arm/cpu.o | CC arm-softmmu/target-arm/neon_helper.o | CC i386-linux-user/target-i386/cc_helper.o | CC arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdt.o | CC arm-linux-user/linux-user/arm/nwfpe/fpa11_cprt.o | CC ppc-softmmu/target-ppc/mmu-hash32.o | CC arm-linux-user/linux-user/arm/nwfpe/fpopcode.o | CC arm-softmmu/target-arm/iwmmxt_helper.o | CC arm-linux-user/linux-user/arm/nwfpe/single_cpdo.o | CC arm-linux-user/linux-user/arm/nwfpe/double_cpdo.o | CC i386-linux-user/target-i386/int_helper.o | CC arm-linux-user/linux-user/arm/nwfpe/extended_cpdo.o | CC ppc-softmmu/target-ppc/excp_helper.o | CC arm-linux-user/gdbstub-xml.o | CC mipsel-softmmu/target-mips/dsp_helper.o | CC mips-softmmu/target-mips/lmi_helper.o | CC ppc-softmmu/target-ppc/fpu_helper.o | CC arm-softmmu/hw/block/virtio-blk.o | CC x86_64-linux-user/target-i386/cc_helper.o | LINK arm-linux-user/qemu-arm | CC ppc-softmmu/target-ppc/int_helper.o | CC mipsel-softmmu/target-mips/op_helper.o | CC ppc-softmmu/target-ppc/timebase_helper.o | CC ppc-softmmu/target-ppc/misc_helper.o | CC mips-softmmu/target-mips/helper.o | CC x86_64-linux-user/target-i386/int_helper.o | CC ppc-softmmu/target-ppc/mem_helper.o | CC i386-softmmu/target-i386/excp_helper.o | CC i386-linux-user/target-i386/svm_helper.o | CC ppc-softmmu/hw/block/virtio-blk.o | CC i386-linux-user/target-i386/smm_helper.o | CC x86_64-linux-user/target-i386/svm_helper.o | CC arm-softmmu/hw/char/exynos4210_uart.o | CC i386-linux-user/target-i386/misc_helper.o | CC i386-softmmu/target-i386/fpu_helper.o | CC ppc-softmmu/hw/char/virtio-serial-bus.o | CC x86_64-linux-user/target-i386/smm_helper.o | CC arm-softmmu/hw/char/omap_uart.o | CC mipsel-softmmu/target-mips/lmi_helper.o | CC x86_64-linux-user/target-i386/misc_helper.o | CC i386-linux-user/target-i386/mem_helper.o | CC ppc-linux-user/target-ppc/excp_helper.o | CC i386-linux-user/target-i386/seg_helper.o | CC arm-softmmu/hw/char/virtio-serial-bus.o | CC ppc-linux-user/target-ppc/fpu_helper.o | CC mipsel-softmmu/target-mips/helper.o | CC x86_64-linux-user/target-i386/mem_helper.o | CC arm-softmmu/hw/cpu/arm11mpcore.o | CC mips-linux-user/target-mips/op_helper.o | CC ppc-softmmu/hw/display/vga.o | CC ppc-linux-user/target-ppc/int_helper.o | CC i386-softmmu/target-i386/cc_helper.o | CC i386-linux-user/target-i386/kvm-stub.o | CC i386-softmmu/target-i386/int_helper.o | CC arm-softmmu/hw/cpu/a9mpcore.o | CC mips-softmmu/target-mips/cpu.o | CC arm-softmmu/hw/cpu/a15mpcore.o | CC i386-linux-user/target-i386/ioport-user.o | CC arm-softmmu/hw/display/omap_dss.o | CC arm-softmmu/hw/display/omap_lcdc.o | CC i386-softmmu/target-i386/svm_helper.o | CC ppc-linux-user/target-ppc/timebase_helper.o | CC ppc-linux-user/target-ppc/misc_helper.o | CC ppc-linux-user/target-ppc/mem_helper.o | CC ppc-linux-user/target-ppc/user_only_helper.o | CC i386-softmmu/target-i386/smm_helper.o | CC i386-softmmu/target-i386/misc_helper.o | LINK i386-linux-user/qemu-i386 | CC ppc-linux-user/gdbstub-xml.o | CC i386-softmmu/target-i386/mem_helper.o | CC ppc-softmmu/hw/intc/openpic.o | CC i386-softmmu/target-i386/seg_helper.o | CC arm-softmmu/hw/display/pxa2xx_lcd.o | CC mips-softmmu/target-mips/machine.o | LINK ppc-linux-user/qemu-ppc | CC mipsel-linux-user/target-mips/lmi_helper.o | CC mips-softmmu/hw/block/virtio-blk.o | CC ppc-softmmu/hw/misc/vfio.o | CC arm-softmmu/hw/display/vga.o | CC i386-softmmu/target-i386/machine.o | CC i386-softmmu/target-i386/arch_memory_mapping.o | CC mips-linux-user/target-mips/lmi_helper.o | CC arm-softmmu/hw/dma/omap_dma.o | CC mipsel-linux-user/target-mips/helper.o | CC mips-softmmu/hw/char/virtio-serial-bus.o | CC arm-softmmu/hw/dma/soc_dma.o | CC ppc-softmmu/hw/net/xilinx_ethlite.o | CC i386-softmmu/target-i386/arch_dump.o | CC mips-linux-user/target-mips/helper.o | CC x86_64-linux-user/target-i386/seg_helper.o | CC mipsel-linux-user/target-mips/cpu.o | CC arm-softmmu/hw/dma/pxa2xx_dma.o | CC i386-softmmu/target-i386/kvm.o | CC ppc-softmmu/hw/net/virtio-net.o | LINK mipsel-linux-user/qemu-mipsel | CC mips-softmmu/hw/display/vga.o | CC mipsel-softmmu/target-mips/cpu.o | CC ppc-softmmu/hw/net/vhost_net.o | CC i386-softmmu/target-i386/hyperv.o | CC arm-softmmu/hw/gpio/omap_gpio.o | CC x86_64-linux-user/target-i386/kvm-stub.o | CC mips-softmmu/hw/misc/vfio.o | CC mips-linux-user/target-mips/cpu.o | CC mipsel-softmmu/target-mips/machine.o | CC i386-softmmu/hw/block/virtio-blk.o | CC x86_64-linux-user/target-i386/ioport-user.o | CC ppc-softmmu/hw/scsi/virtio-scsi.o | CC ppc-softmmu/hw/scsi/vhost-scsi.o | CC i386-softmmu/hw/char/virtio-serial-bus.o | CC arm-softmmu/hw/i2c/omap_i2c.o | CC ppc-softmmu/hw/timer/mc146818rtc.o | CC arm-softmmu/hw/input/pxa2xx_keypad.o | CC arm-softmmu/hw/input/tsc210x.o | CC mipsel-softmmu/hw/block/virtio-blk.o | CC mips-softmmu/hw/net/virtio-net.o | CC i386-softmmu/hw/cpu/icc_bus.o | CC ppc-softmmu/hw/virtio/virtio.o | CC ppc-softmmu/hw/virtio/virtio-balloon.o | CC arm-softmmu/hw/intc/arm_gic.o | LINK mips-linux-user/qemu-mips | CC mips-softmmu/hw/net/vhost_net.o | CC ppc-softmmu/hw/virtio/vhost.o | CC mipsel-softmmu/hw/char/virtio-serial-bus.o | CC i386-softmmu/hw/display/vga.o | CC arm-softmmu/hw/intc/armv7m_nvic.o | CC arm-softmmu/hw/intc/exynos4210_gic.o | CC arm-softmmu/hw/intc/exynos4210_combiner.o | CC mips-softmmu/hw/scsi/virtio-scsi.o | CC i386-softmmu/hw/i386/kvm/clock.o | CC mipsel-softmmu/hw/display/vga.o | CC arm-softmmu/hw/intc/omap_intc.o | CC mips-softmmu/hw/scsi/vhost-scsi.o | CC mipsel-softmmu/hw/misc/vfio.o | CC mips-softmmu/hw/timer/mc146818rtc.o | CC arm-softmmu/hw/misc/vfio.o | CC mips-softmmu/hw/virtio/virtio.o | CC mips-softmmu/hw/virtio/virtio-balloon.o | CC arm-softmmu/hw/misc/arm_sysctl.o | CC i386-softmmu/hw/i386/kvm/apic.o | CC arm-softmmu/hw/misc/a9scu.o | CC mips-softmmu/hw/virtio/vhost.o | CC mipsel-softmmu/hw/net/virtio-net.o | CC arm-softmmu/hw/misc/cbus.o | CC arm-softmmu/hw/misc/exynos4210_pmu.o | CC mipsel-softmmu/hw/net/vhost_net.o | CC arm-softmmu/hw/misc/imx_ccm.o | CC ppc-softmmu/gdbstub-xml.o | CC arm-softmmu/hw/misc/mst_fpga.o | LINK mips-softmmu/qemu-system-mips | CC i386-softmmu/hw/i386/kvm/i8259.o | CC i386-softmmu/hw/i386/kvm/ioapic.o | CC arm-softmmu/hw/misc/omap_clk.o | CC mipsel-softmmu/hw/scsi/virtio-scsi.o | CC arm-softmmu/hw/misc/omap_gpmc.o | CC mipsel-softmmu/hw/scsi/vhost-scsi.o | CC i386-softmmu/hw/i386/kvm/i8254.o | CC i386-softmmu/hw/i386/kvm/pci-assign.o | CC arm-softmmu/hw/misc/omap_l4.o | CC mipsel-softmmu/hw/timer/mc146818rtc.o | CC arm-softmmu/hw/misc/omap_sdrc.o | CC i386-softmmu/hw/intc/apic.o | CC i386-softmmu/hw/intc/apic_common.o | CC mipsel-softmmu/hw/virtio/virtio.o | CC arm-softmmu/hw/misc/omap_tap.o | CC i386-softmmu/hw/intc/ioapic.o | LINK ppc-softmmu/qemu-system-ppc | CC mipsel-softmmu/hw/virtio/virtio-balloon.o | CC mipsel-softmmu/hw/virtio/vhost.o | CC arm-softmmu/hw/misc/pxa2xx_pcmcia.o | CC i386-softmmu/hw/isa/lpc_ich9.o | CC i386-softmmu/hw/misc/vmport.o | CC i386-softmmu/hw/misc/ivshmem.o | LINK mipsel-softmmu/qemu-system-mipsel | CC i386-softmmu/hw/misc/vfio.o | CC i386-softmmu/hw/misc/pvpanic.o | CC arm-softmmu/hw/misc/zynq_slcr.o | CC i386-softmmu/hw/net/virtio-net.o | CC i386-softmmu/hw/net/vhost_net.o | CC arm-softmmu/hw/net/virtio-net.o | CC i386-softmmu/hw/pci/pci-hotplug.o | CC arm-softmmu/hw/net/vhost_net.o | CC arm-softmmu/hw/scsi/virtio-scsi.o | CC i386-softmmu/hw/scsi/virtio-scsi.o | CC arm-softmmu/hw/scsi/vhost-scsi.o | CC i386-softmmu/hw/scsi/vhost-scsi.o | CC i386-softmmu/hw/timer/mc146818rtc.o | CC i386-softmmu/hw/virtio/virtio.o | CC i386-softmmu/hw/virtio/virtio-balloon.o | CC i386-softmmu/hw/virtio/vhost.o | CC arm-softmmu/hw/sd/omap_mmc.o | CC arm-softmmu/hw/sd/pxa2xx_mmci.o | CC arm-softmmu/hw/ssi/omap_spi.o | CC arm-softmmu/hw/timer/exynos4210_mct.o | CC arm-softmmu/hw/timer/exynos4210_pwm.o | CC arm-softmmu/hw/timer/exynos4210_rtc.o | CC arm-softmmu/hw/timer/omap_gptimer.o | CC arm-softmmu/hw/timer/omap_synctimer.o | CC arm-softmmu/hw/timer/pxa2xx_timer.o | CC arm-softmmu/hw/timer/tusb6010.o | CC arm-softmmu/hw/timer/arm_mptimer.o | CC arm-softmmu/hw/virtio/virtio.o | CC arm-softmmu/hw/virtio/virtio-balloon.o | CC arm-softmmu/hw/virtio/vhost.o | LINK i386-softmmu/qemu-system-i386 | CC arm-softmmu/gdbstub-xml.o | LINK x86_64-linux-user/qemu-x86_64 | LINK arm-softmmu/qemu-system-arm | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (log file is located at /home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/atom-pc/poky/build/tmp/work/x86_64-linux/qemu-native/1.5.0-r0/temp/log.do_compile.23067) $<50>ERROR: Task 4954 (virtual:native:/home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/atom-pc/poky/meta/recipes-devtools/qemu/qemu_1.5.0.bb, do_compile) failed with exit code '1' $<50>NOTE: Tasks Summary: Attempted 1759 tasks of which 248 didn't need to be rerun and 1 failed. Waiting for 0 running tasks to finish:
Can you be more specific about the patch level of your host system, this could be a GCC issue if you don't have it patched to the latest updates. please provide gcc --version from your system.
FWIW, I regularly build on a CentOS 6.4 system (currently using gcc 4.4.7 20120313 (Red Hat 4.4.7-3), and is 64-bit like yours) and have built qemu-native several times recently and have never seen an internal compiler error on this system. I strongly suspect a hardware issue to be the root cause of this failure.
host : CentOS 6.4 system gcc version : gcc 4.4.7 20120313 (Red Hat 4.4.7-3) python version: 2.7.5 tar version: 1.26 I only built qemu-native and there was no problem. but I firstly built core-image-lsb-sdk in new environment and the issue can be repreduced.
FWIW, I still have had no luck reproducing this problem. My gut still says this is a hardware issue. Are you able to reproduce this on another CentOS 6.4 machine?
There is the same issue in opensuse. Build Configuration: BB_VERSION = "1.21.0" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "openSUSE-project-12.3" TARGET_SYS = "i586-poky-linux" MACHINE = "genericx86" DISTRO = "poky" DISTRO_VERSION = "1.5+snapshot-20131020" TUNE_FEATURES = "m32 core2" TARGET_FPU = "" meta meta-yocto meta-yocto-bsp = "master:505114c13d29799a25379f7ce720d632616d8776" meta-fsl-ppc = "master:cd26eb8dbbc3fb29dfb165599400d1771a54b03b" the below error log: RROR: Function failed: do_compile (log file is located at /home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/genericx86/genericx86/poky/master/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/1.5.0-r0/temp/log.do_compile.31533) ERROR: Logfile of failure stored in: /home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/genericx86/genericx86/poky/master/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/1.5.0-r0/temp/log.do_compile.31533 Log data follows: | DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common'] | DEBUG: Executing shell function do_compile | NOTE: make -j 24 | GEN arm-linux-user/config-devices.mak | GEN arm-softmmu/config-devices.mak | GEN i386-linux-user/config-devices.mak | GEN i386-softmmu/config-devices.mak | GEN mips-linux-user/config-devices.mak | GEN mips-softmmu/config-devices.mak | GEN mipsel-linux-user/config-devices.mak | GEN mipsel-softmmu/config-devices.mak | GEN ppc-linux-user/config-devices.mak | GEN ppc-softmmu/config-devices.mak | GEN x86_64-linux-user/config-devices.mak | GEN x86_64-softmmu/config-devices.mak | GEN config-host.h | GEN qemu-options.def | GEN qmp-commands.h | GEN qapi-types.h | GEN qapi-visit.h | GEN trace/generated-events.h | GEN trace/generated-tracers.h | GEN tests/test-qapi-types.h | GEN tests/test-qapi-visit.h | GEN tests/test-qmp-commands.h | GEN config-all-devices.mak | GEN qemu-options.texi | GEN qemu-monitor.texi | GEN qemu-img-cmds.texi | GEN qemu-tech.html | GEN qemu-nbd.8 | GEN QMP/qmp-commands.txt | GEN qapi-types.c | GEN qga/qapi-generated/qga-qapi-types.h | GEN qga/qapi-generated/qga-qapi-visit.h | GEN qga/qapi-generated/qga-qmp-commands.h | GEN qapi-visit.c | GEN qga/qapi-generated/qga-qapi-types.c | GEN qga/qapi-generated/qga-qapi-visit.c | GEN qga/qapi-generated/qga-qmp-marshal.c | CC qapi/qapi-visit-core.o | CC qapi/qapi-dealloc-visitor.o | CC qapi/qmp-input-visitor.o | CC qapi/qmp-output-visitor.o | CC qapi/qmp-registry.o | CC qapi/qmp-dispatch.o | CC qapi/string-input-visitor.o | CC qapi/string-output-visitor.o | CC qapi/opts-visitor.o | CC qobject/qint.o | CC qobject/qstring.o | CC qobject/qdict.o | CC qobject/qlist.o | CC qobject/qfloat.o | CC qobject/qbool.o | CC qobject/qjson.o | CC qobject/json-lexer.o | CC qobject/json-streamer.o | CC qobject/json-parser.o | CC qobject/qerror.o | GEN trace/generated-events.c | CC trace/default.o | CC trace/control.o | GEN trace/generated-tracers.c | CC util/osdep.o | CC util/cutils.o | CC util/unicode.o | CC util/qemu-timer-common.o | CC util/oslib-posix.o | CC util/qemu-thread-posix.o | CC util/event_notifier-posix.o | CC util/envlist.o | CC util/path.o | CC util/host-utils.o | CC util/cache-utils.o | CC util/module.o | CC util/bitmap.o | CC util/bitops.o | CC util/hbitmap.o | CC util/fifo8.o | CC util/acl.o | CC util/error.o | CC util/qemu-error.o | CC util/compatfd.o | CC util/iov.o | CC util/aes.o | CC util/qemu-config.o | CC util/qemu-sockets.o | CC util/uri.o | CC util/notify.o | CC util/qemu-option.o | CC util/qemu-progress.o | CC util/hexdump.o | CC util/crc32c.o | CC stubs/arch-query-cpu-def.o | CC stubs/clock-warp.o | CC stubs/cpu-get-clock.o | CC stubs/cpu-get-icount.o | CC stubs/fdset-add-fd.o | CC stubs/fdset-find-fd.o | CC stubs/fdset-get-fd.o | CC stubs/fdset-remove-fd.o | CC stubs/get-fd.o | CC stubs/get-vm-name.o | CC stubs/iothread-lock.o | CC stubs/migr-blocker.o | CC stubs/mon-printf.o | CC stubs/mon-is-qmp.o | CC stubs/mon-print-filename.o | CC stubs/mon-protocol-event.o | CC stubs/mon-set-error.o | CC stubs/pci-drive-hot-add.o | CC stubs/reset.o | CC stubs/set-fd-handler.o | CC stubs/slirp.o | CC stubs/sysbus.o | CC stubs/vm-stop.o | CC stubs/vmstate.o | CC stubs/cpus.o | CC qemu-nbd.o | CC async.o | CC thread-pool.o | CC nbd.o | CC block.o | CC blockjob.o | CC main-loop.o | CC iohandler.o | CC qemu-timer.o | CC aio-posix.o | CC qemu-coroutine.o | CC qemu-coroutine-lock.o | CC qemu-coroutine-io.o | CC qemu-coroutine-sleep.o | CC coroutine-ucontext.o | CC block/raw.o | CC block/cow.o | CC block/qcow.o | CC block/vdi.o | CC block/vmdk.o | CC block/cloop.o | CC block/dmg.o | CC block/bochs.o | CC block/vpc.o | CC block/vvfat.o | CC block/qcow2.o | CC block/qcow2-refcount.o | CC block/qcow2-cluster.o | CC block/qcow2-snapshot.o | CC block/qcow2-cache.o | CC block/qed.o | CC block/qed-gencb.o | CC block/qed-l2-cache.o | CC block/qed-table.o | CC block/qed-cluster.o | CC block/qed-check.o | CC block/vhdx.o | CC block/parallels.o | CC block/blkdebug.o | CC block/blkverify.o | CC block/raw-posix.o | CC block/nbd.o | CC block/sheepdog.o | GEN qemu-img-cmds.h | CC qemu-io.o | CC cmd.o | CC qemu-bridge-helper.o | CC blockdev.o | CC blockdev-nbd.o | CC readline.o | CC qdev-monitor.o | CC device-hotplug.o | CC os-posix.o | CC migration.o | CC migration-tcp.o | CC qemu-char.o | CC block-migration.o | CC page_cache.o | CC xbzrle.o | CC migration-exec.o | CC migration-unix.o | CC migration-fd.o | CC bt-host.o | CC bt-vhci.o | CC dma-helpers.o | CC vl.o | CC tpm.o | GEN qmp-marshal.c | CC qmp.o | CC hmp.o | CC qemu-log.o | CC tcg-runtime.o ............................................. | LINK mips-linux-user/qemu-mips | LINK ppc-softmmu/qemu-system-ppc | LINK mipsel-softmmu/qemu-system-mipsel | LINK ppc-linux-user/qemu-ppc | LINK x86_64-linux-user/qemu-x86_64 | ERROR: oe_runmake failed | WARNING: /home/jenkins/jenkins/workspace/yocto-upstream-test/label/BJ-PC/machine/genericx86/genericx86/poky/master/tmp/work/x86_64-nativesdk-pokysdk-linux/nativesdk-qemu/1.5.0-r0/temp/run.do_compile.31533:1 exit 1 from
Are you running the build within an SDK environment of any kind?
I couldn't reproduce this in the same environment, I regularly build this recipe there and I can't see any extra information that would suggest why you're getting this and I'm not. If the issue is still present and you can provide extra information on how to reproduce it, please do so and reopen the bug.