Wind River Support Network

HomeDefectsLIN5-2364
Fixed

LIN5-2364 : wrlinux 5.0.1 - qemu-native fails to compile

Created: Oct 17, 2013    Updated: Dec 19, 2017
Resolved Date: Oct 29, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Build errors:

[2013-10-16 20:35:46.059371000-07:00] OE Build Configuration:
[2013-10-16 20:35:46.062910000-07:00] BB_VERSION        = "1.17.1"
[2013-10-16 20:35:46.063752000-07:00] TARGET_ARCH       = "i586"
[2013-10-16 20:35:46.064487000-07:00] TARGET_OS         = "linux"
[2013-10-16 20:35:46.065309000-07:00] MACHINE           = "common-pc"
[2013-10-16 20:35:46.066120000-07:00] DISTRO            = "wrlinux"
[2013-10-16 20:35:46.066899000-07:00] DISTRO_VERSION    = "5.0.1.0"
[2013-10-16 20:35:46.067610000-07:00] TUNE_FEATURES     = "m32 i586"
[2013-10-16 20:35:46.071263000-07:00] TARGET_FPU        = ""
[2013-10-16 20:35:46.071959000-07:00] wrlinux           = "WRLINUX_5_0_1_HEAD:ac1f29849a918ea381e21546f17606f6ba33d9e9"
[2013-10-16 20:35:46.072696000-07:00] wrlcompat         = "WRLINUX_5_0_1_HEAD:1491341d623b2da0fdcf95d799e9291bcad6fc29"
[2013-10-16 20:35:46.073513000-07:00] wr-toolchain      = "WRLINUX_5_0_1_HEAD:a67bb7373a62cd546c8f76ea45f42d9e08eaed28"
[2013-10-16 20:35:46.074275000-07:00] meta              = "wr-20130220:a117e55d9a821e3679f38dda811ddeb1f82a4007"
[2013-10-16 20:35:46.075056000-07:00] oe-core-dl        = "WRLINUX_5_0_1_HEAD:23497b312260a75ccbd9c92195671223acd001f7"
[2013-10-16 20:35:46.075790000-07:00] meta-downloads    = "WRLINUX_5_0_1_HEAD:20e2d731a6c0111366c09e411008bda3c9935b5e"
[2013-10-16 20:35:46.076547000-07:00] wr-kernel         = "WRLINUX_5_0_1_HEAD:65f4a6dffa9707452c852e26bd5e894c35cc134d"
[2013-10-16 20:35:46.077359000-07:00] common-pc         = "WRLINUX_5_0_1_HEAD:7739249371c837b56965ab5c782043e43d64894a"
[2013-10-16 20:35:46.078094000-07:00] wr-base           = "WRLINUX_5_0_1_HEAD:0cedd8a903855da3a31edb826e9e5b0335a6cd6d"
[2013-10-16 20:35:46.078822000-07:00] wr-features       = "WRLINUX_5_0_1_HEAD:cd73aeaf270e209de2e2ed03b0ed321f3d9173a1"
[2013-10-16 20:35:46.079637000-07:00] wr-tools-profile  = "WRLINUX_5_0_1_HEAD:e8408bf3c7214783a307c2e559a12e00211138f0"
[2013-10-16 20:35:46.080418000-07:00] wr-tools-debug    = "WRLINUX_5_0_1_HEAD:758f9ea85aae7a87da3ab3fee5a841a8ef2cee8c"
[2013-10-16 20:35:46.081130000-07:00] meta-networking   = "wr-20130220:1d0e52983ada553072e194dfa25af66a04148c1e"
[2013-10-16 20:35:46.081931000-07:00] meta-webserver    = "wr-20130220:5db0ec168b2397d30b6b147f3047bd4b72f4abdc"
[2013-10-16 20:35:46.082709000-07:00] wr-prebuilts      = "WRLINUX_5_0_1_HEAD:c565bf4c33ef324a36cb3481f9d68495fe67dc28"
[2013-10-16 20:35:46.083509000-07:00] wr-installer      = "WRLINUX_5_0_1_HEAD:5e038ac8e3e59a4d876bd84974398b4e144b868c"
[2013-10-16 20:35:46.084261000-07:00] local             = "<unknown>:<unknown>"
[2013-10-16 20:35:46.084987000-07:00] 
[2013-10-16 20:35:46.116581000-07:00] NOTE: Resolving any missing task queue dependencies
[2013-10-16 20:35:46.367590000-07:00] NOTE: Preparing runqueue
[2013-10-16 20:35:46.642374000-07:00] NOTE: Executing SetScene Tasks
[2013-10-16 20:35:46.643233000-07:00] NOTE: Executing RunQueue Tasks
[2013-10-16 20:35:46.797681000-07:00] NOTE: Running task 1 of 56 (ID: 11, /common-pc-small-installer/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.51.bb, do_fetch)
[2013-10-16 20:35:46.798950000-07:00] NOTE: Running task 2 of 56 (ID: 39, virtual:native:/common-pc-small-installer/layers/oe-core/meta/recipes-devtools/gnu-config/gnu-config_20111111.bb, do_fetch)
[2013-10-16 20:35:46.817525000-07:00] NOTE: Running task 3 of 56 (ID: 53, /common-pc-small-installer/layers/oe-core/meta/recipes-devtools/m4/m4-native_1.4.16.bb, do_fetch)
[2013-10-16 20:35:46.873551000-07:00] NOTE: Running task 4 of 56 (ID: 18, virtual:native:/common-pc-small-installer/layers/oe-core/meta/recipes-devtools/autoconf/autoconf_2.68.bb, do_fetch)
[2013-10-16 20:35:46.928980000-07:00] NOTE: Running task 5 of 56 (ID: 25, virtual:native:/common-pc-small-installer/layers/oe-core/meta/recipes-devtools/automake/automake_1.11.2.bb, do_fetch)
[2013-10-16 20:35:46.942347000-07:00] NOTE: Running task 6 of 56 (ID: 46, /common-pc-small-installer/layers/oe-core/meta/recipes-core/gettext/gettext-minimal-native_0.18.1.1.bb, do_fetch)
[2013-10-16 20:35:47.001293000-07:00] NOTE: Running task 7 of 56 (ID: 32, /common-pc-small-installer/layers/oe-core/meta/recipes-devtools/libtool/libtool-native_2.4.2.bb, do_fetch)
[2013-10-16 20:35:47.003976000-07:00] NOTE: Running task 8 of 56 (ID: 4, /common-pc-small-installer/layers/oe-core/meta/recipes-extended/tar/tar-replacement-native_1.26.bb, do_fetch)
[2013-10-16 20:35:47.287216000-07:00] NOTE: recipe quilt-native-0.51-r1: task do_fetch: Started
[2013-10-16 20:35:47.563339000-07:00] NOTE: recipe libtool-native-2.4.2-r4.1.1: task do_fetch: Started
[2013-10-16 20:35:47.673521000-07:00] NOTE: recipe gettext-minimal-native-0.18.1.1-r3: task do_fetch: Started
[2013-10-16 20:35:47.806981000-07:00] NOTE: recipe m4-native-1.4.16-r4: task do_fetch: Started
[2013-10-16 20:35:47.975124000-07:00] NOTE: recipe tar-replacement-native-1.26-r3: task do_fetch: Started
[2013-10-16 20:35:47.988510000-07:00] NOTE: recipe gnu-config-native-20111111-r1: task do_fetch: Started
[2013-10-16 20:35:48.018463000-07:00] NOTE: recipe autoconf-native-2.68-r7: task do_fetch: Started
[2013-10-16 20:35:48.144687000-07:00] NOTE: recipe automake-native-1.11.2-r4: task do_fetch: Started
Failed step: do_compile in file: /common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/log.do_compile.26459
Here is some context from around the error:
 --------------------------------------------------
[2013-10-16 22:34:27.487281000-07:00] WARNING:   /lib/modules/3.4.43-WR5.0.1.0_standard/modules.ccwmap
[2013-10-16 22:34:27.488146000-07:00] WARNING:   /lib/modules/3.4.43-WR5.0.1.0_standard/modules.pcimap
[2013-10-16 22:34:27.488939000-07:00] WARNING:   /lib/modules/3.4.43-WR5.0.1.0_standard/modules.alias.bin
[2013-10-16 22:34:51.719604000-07:00] ERROR: Function failed: do_compile (see /common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/log.do_compile.26459 for further information)
[2013-10-16 22:34:51.721409000-07:00] ERROR: Logfile of failure stored in: /common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/log.do_compile.26459
[2013-10-16 22:34:51.722146000-07:00] Log data follows:
[2013-10-16 22:34:51.722920000-07:00] | DEBUG: Executing shell function do_compile
[2013-10-16 22:34:51.723621000-07:00] | NOTE: make -j 20
--
[2013-10-16 22:34:53.712856000-07:00] |   exit 1
[2013-10-16 22:34:53.714203000-07:00] | ERROR: Function failed: do_compile (see /common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/log.do_compile.26459 for further information)
[2013-10-16 22:34:53.715386000-07:00] NOTE: recipe qemu-native-0.15.1-r26: task do_compile: Failed
[2013-10-16 22:34:53.716569000-07:00] ERROR: Task 129 (virtual:native:/common-pc-small-installer/layers/oe-core/meta/recipes-devtools/qemu/qemu_0.15.1.bb, do_compile) failed with exit code '1'
[2013-10-16 22:35:06.646404000-07:00] NOTE: recipe gettext-0.18.1.1-r15: task do_configure: Succeeded
[2013-10-16 22:42:18.971769000-07:00] NOTE: recipe eglibc-locale-2.15-r21: task do_package_write_rpm: Succeeded
[2013-10-16 22:44:01.899234000-07:00] NOTE: recipe linux-windriver-3.4-r0: task do_package: Succeeded
 --------------------------------------------------

Here is the tail of log.do_compile.26459:
 --------------------------------------------------
  CC    arm-softmmu/pxa2xx_dma.o
  LINK  sparc64-linux-user/qemu-sparc64
  CC    arm-softmmu/pxa2xx_lcd.o
  CC    arm-softmmu/pxa2xx_mmci.o
  CC    arm-softmmu/pxa2xx_pcmcia.o
  CC    arm-softmmu/pxa2xx_keypad.o
  CC    arm-softmmu/gumstix.o
  CC    arm-softmmu/zaurus.o
  CC    arm-softmmu/ide/microdrive.o
  CC    arm-softmmu/tosa.o
  CC    arm-softmmu/tc6393xb.o
  CC    arm-softmmu/spitz.o
  LINK  ppc-linux-user/qemu-ppc
  LINK  m68k-softmmu/qemu-system-m68k
  CC    arm-softmmu/omap1.o
  CC    arm-softmmu/omap_lcdc.o
  CC    arm-softmmu/omap_dma.o
  CC    arm-softmmu/omap_clk.o
  CC    arm-softmmu/omap_mmc.o
  CC    arm-softmmu/omap_i2c.o
  CC    arm-softmmu/omap_gpio.o
  CC    arm-softmmu/omap_intc.o
  CC    arm-softmmu/omap_uart.o
  CC    arm-softmmu/omap2.o
  CC    arm-softmmu/omap_dss.o
  CC    arm-softmmu/soc_dma.o
  CC    arm-softmmu/omap_gptimer.o
  CC    arm-softmmu/omap_synctimer.o
  CC    arm-softmmu/omap_gpmc.o
  CC    arm-softmmu/omap_sdrc.o
  CC    arm-softmmu/omap_spi.o
  CC    arm-softmmu/omap_l4.o
  CC    arm-softmmu/omap_tap.o
  CC    arm-softmmu/omap_sx1.o
  CC    arm-softmmu/palm.o
  CC    arm-softmmu/nseries.o
  CC    arm-softmmu/tsc210x.o
  CC    arm-softmmu/blizzard.o
  CC    arm-softmmu/onenand.o
  CC    arm-softmmu/vga.o
  CC    arm-softmmu/cbus.o
  CC    arm-softmmu/tusb6010.o
  CC    arm-softmmu/usb-musb.o
  CC    arm-softmmu/mst_fpga.o
  CC    arm-softmmu/mainstone.o
  CC    arm-softmmu/musicpal.o
  CC    arm-softmmu/bitbang_i2c.o
  CC    arm-softmmu/marvell_88w8618_audio.o
  CC    arm-softmmu/framebuffer.o
  CC    arm-softmmu/syborg.o
  CC    arm-softmmu/syborg_fb.o
  CC    arm-softmmu/syborg_interrupt.o
  CC    arm-softmmu/syborg_keyboard.o
  CC    arm-softmmu/syborg_serial.o
  LINK  sparc32plus-linux-user/qemu-sparc32plus
  CC    arm-softmmu/syborg_timer.o
  CC    arm-softmmu/syborg_pointer.o
  CC    arm-softmmu/syborg_rtc.o
  CC    arm-softmmu/syborg_virtio.o
  CC    arm-softmmu/vexpress.o
  CC    arm-softmmu/strongarm.o
  CC    arm-softmmu/collie.o
  CC    arm-softmmu/gdbstub-xml.o
  LINK  arm-softmmu/qemu-system-arm
  LINK  ppc64abi32-linux-user/qemu-ppc64abi32
  LINK  ppc64-linux-user/qemu-ppc64
ERROR: oe_runmake failed
WARNING:/common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/run.do_compile.26459:109 exit 1 from
  exit 1
ERROR: Function failed: do_compile (see /common-pc-small-installer/bitbake_build/tmp/work/x86_64-linux/qemu-native-0.15.1-r26/temp/do_compile/log.do_compile.26459 for further information)
 --------------------------------------------------
Tree (WRLINUX_5_0_1_HEAD) pulled at: Wed Oct 16 20:33:04 PDT 2013

Repo in: ./.git
   20e2d73 Adjust .gitignore for current git tree
Repo in: layers/oe-core-dl/.git
   23497b3 Revert "tzcode & tzdata:  remove outdated files"
Repo in: layers/wr-base/.git
   0cedd8a qemu-native: compile error when vnc-png is enabled
Repo in: layers/wr-features/.git
   cd73aea syslog-ng: fix invalid ownership
Repo in: layers/wr-kernel/.git
   65f4a6d kernel-dev: prevent /usr/include/* headers from being insalled
Repo in: layers/wr-kernel/git/kernel-3.4.x.git
   d3decd7 kgit: creating baseline state
Repo in: layers/wr-kernel/git/kernel-3.4.x.git/
   dc143d3 genirq: Export irq_set_chip_and_handler_name()
 --------------------------------------------------
During the build, the following lines were added to dmesg.
--- /common-pc-small-installer/dmesg-pre.log	2013-10-16 20:35:18.000000000 -0700
+++ /common-pc-small-installer/dmesg-post.log	2013-10-16 22:44:02.000000000 -0700
@@ -1572,0 +1573 @@
+[5795303.600864] conftest[28145]: segfault at 000000000000007f rip 0000003eb9a29278 rsp 00007fffe9b59960 error 4
 --------------------------------------------------
 --------------------------------------
BB_VERSION        = "1.17.1"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "common-pc"
DISTRO            = "wrlinux"
DISTRO_VERSION    = "5.0.1.0"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
wrlinux           = "WRLINUX_5_0_1_HEAD:ac1f29849a918ea381e21546f17606f6ba33d9e9"
wrlcompat         = "WRLINUX_5_0_1_HEAD:1491341d623b2da0fdcf95d799e9291bcad6fc29"
wr-toolchain      = "WRLINUX_5_0_1_HEAD:a67bb7373a62cd546c8f76ea45f42d9e08eaed28"
meta              = "wr-20130220:a117e55d9a821e3679f38dda811ddeb1f82a4007"
oe-core-dl        = "WRLINUX_5_0_1_HEAD:23497b312260a75ccbd9c92195671223acd001f7"
meta-downloads    = "WRLINUX_5_0_1_HEAD:20e2d731a6c0111366c09e411008bda3c9935b5e"
wr-kernel         = "WRLINUX_5_0_1_HEAD:65f4a6dffa9707452c852e26bd5e894c35cc134d"
common-pc         = "WRLINUX_5_0_1_HEAD:7739249371c837b56965ab5c782043e43d64894a"
wr-base           = "WRLINUX_5_0_1_HEAD:0cedd8a903855da3a31edb826e9e5b0335a6cd6d"
wr-features       = "WRLINUX_5_0_1_HEAD:cd73aeaf270e209de2e2ed03b0ed321f3d9173a1"
wr-tools-profile  = "WRLINUX_5_0_1_HEAD:e8408bf3c7214783a307c2e559a12e00211138f0"
wr-tools-debug    = "WRLINUX_5_0_1_HEAD:758f9ea85aae7a87da3ab3fee5a841a8ef2cee8c"
meta-networking   = "wr-20130220:1d0e52983ada553072e194dfa25af66a04148c1e"
meta-webserver    = "wr-20130220:5db0ec168b2397d30b6b147f3047bd4b72f4abdc"
wr-prebuilts      = "WRLINUX_5_0_1_HEAD:c565bf4c33ef324a36cb3481f9d68495fe67dc28"
wr-installer      = "WRLINUX_5_0_1_HEAD:5e038ac8e3e59a4d876bd84974398b4e144b868c"
local             = "<unknown>:<unknown>"

Steps to Reproduce

1 configure --enable-board=common-pc --enable-rootfs=glibc-small --enable-kernel=standard --enable-target-installer=yes --enable-bootimage=noimage
2 make -C build-tools qemu-native

Other Downloads


Live chat
Online